<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Dears<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>My scenario is incoming call to asterisk which asterisk in
its term will dial it through its trunk .<o:p></o:p></p>
<p class=MsoNormal>I recognized that Asterisk is sending two invites to My
Trunk GW IP as you can see in the debugging below<o:p></o:p></p>
<p class=MsoNormal>The first is the default and the second when asterisk receives
a 200 OK <o:p></o:p></p>
<p class=MsoNormal>Why Asterisk(B2BUA) is acting like that, and from where I can
get the asterisk sip dial call flow <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Why Asterisk is sending double invite <o:p></o:p></p>
<p class=MsoNormal>GW CLIENT IP=192.168.5.100<o:p></o:p></p>
<p class=MsoNormal>Asterisk IP =192.168.5.150<o:p></o:p></p>
<p class=MsoNormal>Termination GW=192.168.5.200<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Capturing on eth0<o:p></o:p></p>
<p class=MsoNormal><b> 4.865698 192.168.5.100-> 192.168.5.150 SIP/SDP
Request: INVITE sip:3316234335534@192.168.5.150, with session description<o:p></o:p></b></p>
<p class=MsoNormal> 4.871457 192.168.5.150 -> 192.168.5.100SIP Status: 100
Trying<o:p></o:p></p>
<p class=MsoNormal> 4.876797 192.168.5.150 -> 192.168.5.100SIP/SDP Status:
183 Session Progress, with session description<o:p></o:p></p>
<p class=MsoNormal><b><span style='font-size:14.0pt'> 6.947270 192.168.5.150
-> 192.168.5.200 SIP/SDP Request: INVITE sip:3316234335534@192.168.5.200,
with session description<o:p></o:p></span></b></p>
<p class=MsoNormal> 6.949157 192.168.5.200 -> 192.168.5.150 SIP Status: 100
Trying<o:p></o:p></p>
<p class=MsoNormal> 12.759311 192.168.5.200 -> 192.168.5.150 SIP/SDP Status:
183 Session Progress, with session description<o:p></o:p></p>
<p class=MsoNormal> 16.236320 192.168.5.200 -> 192.168.5.150 SIP Status: 180
Ringing<o:p></o:p></p>
<p class=MsoNormal> 20.250002 192.168.5.200 -> 192.168.5.150 SIP/SDP Status:
200 OK, with session description<o:p></o:p></p>
<p class=MsoNormal> 20.250395 192.168.5.150 -> 192.168.5.200 SIP Request:
ACK sip:3316234335534@192.168.5.200:5060<o:p></o:p></p>
<p class=MsoNormal> 20.251267 192.168.5.150 -> 192.168.5.100SIP/SDP Status:
200 OK, with session description<o:p></o:p></p>
<p class=MsoNormal><b><span style='font-size:14.0pt'> 20.251752 192.168.5.150
-> 192.168.5.200 SIP/SDP Request: INVITE sip:3316234335534@192.168.5.200:5060,
with session description<o:p></o:p></span></b></p>
<p class=MsoNormal> 20.252986 192.168.5.200 -> 192.168.5.150 SIP Status: 100
Trying<o:p></o:p></p>
<p class=MsoNormal> 20.274788 192.168.5.200 -> 192.168.5.150 SIP/SDP Status:
200 OK, with session description<o:p></o:p></p>
<p class=MsoNormal> 20.275143 192.168.5.150 -> 192.168.5.200 SIP Request:
ACK sip:3316234335534@192.168.5.200:5060<o:p></o:p></p>
<p class=MsoNormal> 20.569819 192.168.5.100-> 192.168.5.150 SIP Request: ACK
sip:3316234335534@192.168.5.150<o:p></o:p></p>
<p class=MsoNormal><b><span style='font-size:14.0pt'> 20.570303 192.168.5.150
-> 192.168.5.100SIP/SDP Request: INVITE sip:551130338000@192.168.5.100, with
session description<o:p></o:p></span></b></p>
<p class=MsoNormal> 20.900485 192.168.5.100-> 192.168.5.150 SIP/SDP Status:
200 OK, with session description<o:p></o:p></p>
<p class=MsoNormal> 20.902604 192.168.5.150 -> 192.168.5.100SIP Request: ACK
sip:551130338000@192.168.5.100<o:p></o:p></p>
<p class=MsoNormal> 32.468119 192.168.5.200 -> 192.168.5.150 SIP Request:
BYE sip:551130338000@192.168.5.150<o:p></o:p></p>
<p class=MsoNormal> 32.468411 192.168.5.150 -> 192.168.5.200 SIP Status: 200
OK<o:p></o:p></p>
<p class=MsoNormal><b><span style='font-size:14.0pt'> 32.468750 192.168.5.150
-> 192.168.5.100SIP/SDP Request: INVITE sip:551130338000@192.168.5.100, with
session description<o:p></o:p></span></b></p>
<p class=MsoNormal> 32.822154 192.168.5.100-> 192.168.5.150 SIP/SDP Status:
200 OK, with session description<o:p></o:p></p>
<p class=MsoNormal> 32.822478 192.168.5.150 -> 192.168.5.100SIP Request: ACK
sip:551130338000@192.168.5.100<o:p></o:p></p>
<p class=MsoNormal> 32.822928 192.168.5.150 -> 192.168.5.100SIP Request: BYE
sip:551130338000@192.168.5.100<o:p></o:p></p>
<p class=MsoNormal> 33.140288 192.168.5.100-> 192.168.5.150 SIP Status: 200
OK<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#595959'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#595959'><o:p> </o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<BR />
<BR />
<HR />
*********************************************<BR />
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.<BR />
<BR />
This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.<BR />
<BR />
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.<BR />
<BR />
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.<BR />
*********************************************<BR />
<BR />
</body>
</html>