CHAPTER15 Media
Mediant 1000 Gateway & E-SBC | User's Manual
SIP Call Flow Examples of Event Detection and Notification
Two SIP call flow examples are provided below of event detection and notification:
â– Example 1: This example shows a SIP call flow of the device's AMD and event detection
feature, whereby the device detects an answering machine and the subsequent start and end
of the greeting message, enabling the third-party application server to know when to play a
recorded voice message to an answering machine:
a. Upon detection of the answering machine, the device sends the following SIP INFO
message to the application server:
INFO sip:sipp@172.22.2.9:5060 SIP/2.0
Via: SIP/2.0/UDP 172.22.168.249;branch=z9hG4bKac1566945480
Max-Forwards: 70
From: sut <sip:3000@172.22.168.249:5060>;tag=1c1505895240
To: sipp <sip:sipp@172.22.2.9:5060>;tag=1
Call-ID: 1-29758@172.22.2.9
CSeq: 1 INFO
Contact: <sip:56700@172.22.168.249>
Supported: em,timer,replaces,path,resource-priority
Allow:
REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,I
NFO,SUBSCRIBE,UPDATE
User-Agent: AudioCodes-Sip-Gateway/7.20A.252.011
Content-Type: application/x-detect
Content-Length: 30
Type= AMD
SubType= AUTOMATA
b. Upon detection of the start of voice (i.e., the greeting message of the answering machine),
the device sends the following INFO message to the application server:
INFO sip:sipp@172.22.2.9:5060 SIP/2.0
Via: SIP/2.0/UDP 172.22.168.249;branch=z9hG4bKac482466515
Max-Forwards: 70
From: sut <sip:3000@172.22.168.249:5060>;tag=1c419779142
To: sipp <sip:sipp@172.22.2.9:5060>;tag=1
Call-ID: 1-29753@172.22.2.9
CSeq: 1 INFO
Contact: <sip:56700@172.22.168.249>
Supported: em,timer,replaces,path,resource-priority
Allow:
REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,I
NFO,SUBSCRIBE,UPDATE
User-Agent: AudioCodes-Sip-Gateway/7.20A.252.011
Content-Type: application/x-detect
Content-Length: 34
Type= PTT
SubType= SPEECH-START
c. Upon detection of the end of voice (i.e., end of the greeting message of the answering
machine), the device sends the following INFO message to the application server:
INFO sip:sipp@172.22.2.9:5060 SIP/2.0
Via: SIP/2.0/UDP 172.22.168.249;branch=z9hG4bKac482466515
- 177 -