[asterisk-users] Asterisk Double Invite
Khaled W. Chehab
Kchehab at Xplorium.com
Thu Apr 23 08:01:11 CDT 2009
Dears
My scenario is incoming call to asterisk which asterisk in its term will
dial it through its trunk .
I recognized that Asterisk is sending two invites to My Trunk GW IP as you
can see in the debugging below
The first is the default and the second when asterisk receives a 200 OK
Why Asterisk(B2BUA) is acting like that, and from where I can get the
asterisk sip dial call flow
Why Asterisk is sending double invite
GW CLIENT IP=192.168.5.100
Asterisk IP =192.168.5.150
Termination GW=192.168.5.200
Capturing on eth0
4.865698 192.168.5.100-> 192.168.5.150 SIP/SDP Request: INVITE
sip:3316234335534 at 192.168.5.150, with session description
4.871457 192.168.5.150 -> 192.168.5.100SIP Status: 100 Trying
4.876797 192.168.5.150 -> 192.168.5.100SIP/SDP Status: 183 Session
Progress, with session description
6.947270 192.168.5.150 -> 192.168.5.200 SIP/SDP Request: INVITE
sip:3316234335534 at 192.168.5.200, with session description
6.949157 192.168.5.200 -> 192.168.5.150 SIP Status: 100 Trying
12.759311 192.168.5.200 -> 192.168.5.150 SIP/SDP Status: 183 Session
Progress, with session description
16.236320 192.168.5.200 -> 192.168.5.150 SIP Status: 180 Ringing
20.250002 192.168.5.200 -> 192.168.5.150 SIP/SDP Status: 200 OK, with
session description
20.250395 192.168.5.150 -> 192.168.5.200 SIP Request: ACK
sip:3316234335534 at 192.168.5.200:5060
20.251267 192.168.5.150 -> 192.168.5.100SIP/SDP Status: 200 OK, with
session description
20.251752 192.168.5.150 -> 192.168.5.200 SIP/SDP Request: INVITE
sip:3316234335534 at 192.168.5.200:5060, with session description
20.252986 192.168.5.200 -> 192.168.5.150 SIP Status: 100 Trying
20.274788 192.168.5.200 -> 192.168.5.150 SIP/SDP Status: 200 OK, with
session description
20.275143 192.168.5.150 -> 192.168.5.200 SIP Request: ACK
sip:3316234335534 at 192.168.5.200:5060
20.569819 192.168.5.100-> 192.168.5.150 SIP Request: ACK
sip:3316234335534 at 192.168.5.150
20.570303 192.168.5.150 -> 192.168.5.100SIP/SDP Request: INVITE
sip:551130338000 at 192.168.5.100, with session description
20.900485 192.168.5.100-> 192.168.5.150 SIP/SDP Status: 200 OK, with
session description
20.902604 192.168.5.150 -> 192.168.5.100SIP Request: ACK
sip:551130338000 at 192.168.5.100
32.468119 192.168.5.200 -> 192.168.5.150 SIP Request: BYE
sip:551130338000 at 192.168.5.150
32.468411 192.168.5.150 -> 192.168.5.200 SIP Status: 200 OK
32.468750 192.168.5.150 -> 192.168.5.100SIP/SDP Request: INVITE
sip:551130338000 at 192.168.5.100, with session description
32.822154 192.168.5.100-> 192.168.5.150 SIP/SDP Status: 200 OK, with
session description
32.822478 192.168.5.150 -> 192.168.5.100SIP Request: ACK
sip:551130338000 at 192.168.5.100
32.822928 192.168.5.150 -> 192.168.5.100SIP Request: BYE
sip:551130338000 at 192.168.5.100
33.140288 192.168.5.100-> 192.168.5.150 SIP Status: 200 OK
*********************************************
No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates.
This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.
If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person.
Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects.
*********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090423/98861bbe/attachment.htm
More information about the asterisk-users
mailing list