Version 5.6
359
November 2008
SIP User's Manual
7. IP Telephony Capabilities
The X-Detect event notification process is as follows:
1.
For IP-to-Tel or Tel-to-IP calls, the device receives a SIP request message (using the
X-Detect header) that the remote party wishes to detect events on the media stream.
For incoming (IP-to-Tel) calls, the request must be indicated in the initial INVITE and
responded to either in the 183 response (for early dialogs) or in the 200 OK response
(for confirmed dialogs). For outgoing calls (Tel-to-IP), the request may be received in
the 183 (for early dialogs) and responded to in the PRACK, or received in the 200 OK
(for confirmed dialogs) and responded to in the ACK.
2.
Once the device receives such a request, it sends a SIP response message (using the
X-Detect header) to the remote party, listing all supported events that can be detected.
The absence of the X-Detect header indicates that no detections are available.
3.
Each time the device detects a supported event, the event is notified to the remote
party, by sending an INFO message with the following message body:
•
Content-Type: application/X-DETECT
•
Type = [AMD | CPT | FAX | PTT…]
•
Subtype = xxx (according to the defined subtypes of each type)
Below is an example of SIP messages implementing the X-Detect header:
INVITE sip:[email protected];user=phone SIP/2.0
Via: SIP/2.0/UDP 10.33.2.53;branch=z9hG4bKac5906
Max-Forwards: 70
From: "anonymous" <sip:[email protected]>;tag=1c25298
To: <sip:[email protected];user=phone>
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]>
X- Detect: Request=CPT,FAX
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.33.2.53;branch=z9hG4bKac5906
From: "anonymous" <sip:[email protected]>;tag=1c25298
To: <sip:[email protected];user=phone>;tag=1c19282
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]>
X- Detect: Response=CPT,FAX
INFO sip:[email protected];user=phone SIP/2.0
Via: SIP/2.0/UDP 10.33.2.53;branch=z9hG4bKac5906
Max-Forwards: 70
From: "anonymous" <sip:[email protected]>;tag=1c25298
To: <sip:[email protected];user=phone>
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]>
X- Detect: Response=CPT,FAX
Content-Type: Application/X-Detect
Content-Length: xxx
Type = CPT
Subtype = SIT
Summary of Contents for Mediant 2000
Page 1: ...Document LTRT 68808 November 2008 User s Manual Version 5 6 ...
Page 2: ......
Page 18: ...SIP User s Manual 18 Document LTRT 68808 Mediant 2000 Reader s Notes ...
Page 254: ...SIP User s Manual 254 Document LTRT 68808 Mediant 2000 Reader s Notes ...
Page 334: ...SIP User s Manual 334 Document LTRT 68808 Mediant 2000 Reader s Notes ...
Page 342: ...SIP User s Manual 342 Document LTRT 68808 Mediant 2000 Reader s Notes ...
Page 408: ...SIP User s Manual 408 Document LTRT 68808 Mediant 2000 Reader s Notes ...
Page 414: ...SIP User s Manual 414 Document LTRT 68808 Mediant 2000 Reader s Notes ...
Page 418: ...User s Manual Version 5 6 www audiocodes com ...