You are here: CSP Developer’s Guide: Internet Protocol > 4 Session-Initiation Protocol (SIP) Software > Call-ID Reporting for Outbound SIP Calls
Call-ID Reporting for Outbound SIP Calls
Overview
This feature allows host application developers to solicit Call-ID information for outbound SIP calls.
The SIP Call-ID is a globally unique session identifier that you can use for several purposes, including call logging and billing correlation.
The CSP SIP software reports Call-ID information for inbound calls. With this feature, the same capability is provided for outbound calls.
Changes to API
It is optional to report the Call-ID for an outbound SIP call. You use bit number 16 in the SIP Message Information Mask TLV (0x027F) to enable or disable the information reporting.
If this bit is set in the SIP software configuration, the software will report the Call-ID information in the ACK response to the Route Control and Outseize Control messages. The information is contained in the SIP Call ID TLV (0x2950).
Sample Traces
The following are message traces for ACK responses to the Route Control (0x00E8) and Outseize Control (0x002C) messages.
The Call-ID information is contained in the SIP Call-ID TLV 0x2950 as highlighted below.
Route Control ACK
00 46 00 e8 00 00 ff 00 10 02 02 1e 09 00 01 00 39 00 03 00
01 02 03 00 33 00 2d 00 01 29 50 00 27 45 58 43 45 4c 2d 43
53 50 32 35 35 2e 36 31 30 2e 35 30 31 35 38 30 2e 37 36 30
40 31 30 2e 31 30 2e 31 2e 33 32 00
Outseize Control ACK
00 3a 00 2c 00 00 ff 00 10 01 03 00 33 00 2d 00 01 29 50 00
27 45 58 43 45 4c 2d 43 53 50 32 35 35 2e 36 30 38 2e 35 30
31 38 35 34 2e 39 39 30 40 31 30 2e 31 30 2e 31 2e 33 32 00