<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Brian,<br><br>Yes , the Call-Id is the same for the 2nd and 3rd transaction but the branch parameter in the Via header is different.&nbsp; Please check the capture below.<br><br>Thanks,<br><br>Humberto<br><br><br>----------&gt;&nbsp; Route 1<br><br>U 2009/09/08 09:17:38.759129 kamailio:5060 -&gt; freeswitch:5060<br>INVITE sip:5145555555@gw1:5060 SIP/2.0.<br>Record-Route: &lt;sip:kamailio;lr=on;ftag=8c90b1379825fa62;nat=yes;vsf=QllAAwMAAglyAgIIbgoHFhwIGRwDAC4yMTA6NDUwNjA-;did=0b8.111bca94&gt;.<br>Via: SIP/2.0/UDP kamailio;branch=z9hG4bKede5.5c558357.0.<br>Via: SIP/2.0/UDP 192.168.2.13:52060;rport=52060;received=UserIP;branch=z9hG4bK4d46edc4e1623ae5.<br>From: "hq160" &lt;10092020@kamailio&gt;;tag=8c90b1379825fa62.<br>To: &lt;sip:15145555555@kamailio&gt;.<br>Contact: &lt;sip:10092020@UserIP:52060&gt;.<br>Supported: replaces, timer, path.<br>Call-ID: 04d14ab631843dc1@192.168.2.13.<br>CSeq: 31348 INVITE.<br>Max-Forwards: 68.<br>Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK.<br>Content-Type: application/sdp.<br>Content-Length: 396.<br>.<br>v=0.<br>o=10092020 8000 8001 IN IP4 192.168.2.13.<br>s=SIP Call.<br>c=IN IP4 MediaServer.<br>t=0 0.<br>m=audio 50362 RTP/AVP 0 101.<br>a=sendrecv.<br>a=rtpmap:0 PCMU/8000.<br>a=ptime:20.<br>a=rtpmap:101 telephone-event/8000.<br>a=fmtp:101 0-11.<br>m=video 50366 RTP/AVP 99.<br>a=sendrecv.<br>a=rtpmap:99 H264/90000.<br>a=fmtp:99 profile-level-id=42801E; packetization-mode=0; sprop-parameter-sets=J0KAFJWgUH5A,KM4CfIC=.<br>a=framerate:15.<br><br><br>U 2009/09/08 09:17:38.861646 freeswitch:5060 -&gt; kamailio:5060<br>SIP/2.0 100 Trying.<br>Via: SIP/2.0/UDP kamailio;branch=z9hG4bKede5.5c558357.0.<br>Via: SIP/2.0/UDP 192.168.2.13:52060;rport=52060;received=UserIP;branch=z9hG4bK4d46edc4e1623ae5.<br>Record-Route: &lt;sip:kamailio;lr=on;ftag=8c90b1379825fa62;nat=yes;vsf=QllAAwMAAglyAgIIbgoHFhwIGRwDAC4yMTA6NDUwNjA-;did=0b8.111bca94&gt;.<br>From: "hq160" &lt;10092020@kamailio&gt;;tag=8c90b1379825fa62.<br>To: &lt;sip:15145555555@kamailio&gt;.<br>Call-ID: 04d14ab631843dc1@192.168.2.13.<br>CSeq: 31348 INVITE.<br>UserIP-Agent: FreeSWITCH-mod_sofia/1.0.4-exported.<br>Content-Length: 0.<br>.<br><br><br>U 2009/09/08 09:17:39.000958 freeswitch:5060 -&gt; gw1:5060<br>INVITE sip:5145555555@gw1:5060 SIP/2.0.<br>Via: SIP/2.0/UDP freeswitch;rport;branch=z9hG4bK151FSXQmjX4KH.<br>Max-Forwards: 67.<br>From: "hq160" &lt;sip:10092020@freeswitch&gt;;tag=3mrtKm2rma0De.<br>To: &lt;sip:5145555555@gw1:5060&gt;.<br>Call-ID: d2bda062-171c-122d-c787-005056aa5fb7.<br>CSeq: 120089593 INVITE.<br>Contact: &lt;sip:mod_sofia@kamailio&gt;.<br>UserIP-Agent: FreeSWITCH-mod_sofia/1.0.4-exported.<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO.<br>Supported: timer, precondition, path, replaces.<br>Allow-Events: talk, refer.<br>Content-Type: application/sdp.<br>Content-Disposition: session.<br>Content-Length: 372.<br>X-rsbc: 04d14ab631843dc1@192.168.2.13.<br>Remote-Party-ID: "hq160" &lt;sip:10092020@freeswitch&gt;;party=calling;screen=yes;privacy=off.<br>.<br>v=0.<br>o=10092020 8000 8001 IN IP4 192.168.2.13.<br>s=SIP Call.<br>c=IN IP4 MediaServer.<br>t=0 0.<br>m=audio 50362 RTP/AVP 0 101.<br>a=rtpmap:0 PCMU/8000.<br>a=rtpmap:101 telephone-event/8000.<br>a=fmtp:101 0-11.<br>a=ptime:20.<br>m=video 50366 RTP/AVP 99.<br>a=rtpmap:99 H264/90000.<br>a=fmtp:99 profile-level-id=42801E; packetization-mode=0; sprop-parameter-sets=J0KAFJWgUH5A,KM4CfIC=.<br>a=framerate:15.<br><br><br>U 2009/09/08 09:17:39.056082 gw1:5060 -&gt; freeswitch:5060<br>SIP/2.0 100 Trying.<br>Call-ID: d2bda062-171c-122d-c787-005056aa5fb7.<br>Content-Length: 0.<br>CSeq: 120089593 INVITE.<br>From: "hq160"&lt;sip:10092020@freeswitch&gt;;tag=3mrtKm2rma0De.<br>To: &lt;sip:5145555555@gw1:5060&gt;;tag=d05714dc-26334.<br>UserIP-Agent: Quintum/1.0.0 SN/0030E100A224 SW/P106-12-00.<br>Via: SIP/2.0/UDP freeswitch;rport;branch=z9hG4bK151FSXQmjX4KH.<br>Quintum: 0b06343032343333.<br>.<br><br><br>U 2009/09/08 09:17:39.058998 gw1:5060 -&gt; freeswitch:5060<br>SIP/2.0 503 Service Unavailable.<br>Call-ID: d2bda062-171c-122d-c787-005056aa5fb7.<br>Content-Length: 0.<br>CSeq: 120089593 INVITE.<br>From: "hq160"&lt;sip:10092020@freeswitch&gt;;tag=3mrtKm2rma0De.<br>To: &lt;sip:5145555555@gw1:5060&gt;;tag=d05714dc-26334.<br>UserIP-Agent: Quintum/1.0.0 SN/0030E100A224 SW/P106-12-00.<br>Via: SIP/2.0/UDP freeswitch;rport;branch=z9hG4bK151FSXQmjX4KH.<br>.<br><br><br>U 2009/09/08 09:17:39.059341 freeswitch:5060 -&gt; gw1:5060<br>ACK sip:5145555555@gw1:5060 SIP/2.0.<br>Via: SIP/2.0/UDP freeswitch;rport;branch=z9hG4bK151FSXQmjX4KH.<br>Max-Forwards: 67.<br>From: "hq160" &lt;sip:10092020@freeswitch&gt;;tag=3mrtKm2rma0De.<br>To: &lt;sip:5145555555@gw1:5060&gt;;tag=d05714dc-26334.<br>Call-ID: d2bda062-171c-122d-c787-005056aa5fb7.<br>CSeq: 120089593 ACK.<br>Content-Length: 0.<br>.<br><br><br>U 2009/09/08 09:17:39.061148 freeswitch:5060 -&gt; kamailio:5060<br>SIP/2.0 503 Service Unavailable.<br>Via: SIP/2.0/UDP kamailio;branch=z9hG4bKede5.5c558357.0.<br>Via: SIP/2.0/UDP 192.168.2.13:52060;rport=52060;received=UserIP;branch=z9hG4bK4d46edc4e1623ae5.<br>From: "hq160" &lt;10092020@kamailio&gt;;tag=8c90b1379825fa62.<br>To: &lt;sip:15145555555@kamailio&gt;;tag=2BZ1HSHNQ19tj.<br>Call-ID: 04d14ab631843dc1@192.168.2.13.<br>CSeq: 31348 INVITE.<br>UserIP-Agent: FreeSWITCH-mod_sofia/1.0.4-exported.<br>Accept: application/sdp.<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO.<br>Supported: timer, precondition, path, replaces.<br>Allow-Events: talk, refer.<br>Reason: Q.850;cause=41;text="NORMAL_TEMPORARY_FAILURE".<br>Content-Length: 0.<br>.<br><br><br>U 2009/09/08 09:17:39.062085 kamailio:5060 -&gt; freeswitch:5060<br>ACK sip:5145555555@gw1:5060 SIP/2.0.<br>Via: SIP/2.0/UDP kamailio;branch=z9hG4bKede5.5c558357.0.<br>From: "hq160" &lt;10092020@kamailio&gt;;tag=8c90b1379825fa62.<br>Call-ID: 04d14ab631843dc1@192.168.2.13.<br>To: &lt;sip:15145555555@kamailio&gt;;tag=2BZ1HSHNQ19tj.<br>CSeq: 31348 ACK.<br>Max-Forwards: 70.<br>UserIP-Agent: Kamailio (1.4.4-tls (i386/linux)).<br>Content-Length: 0.<br>.<br><br>-------&gt; Route 2<br><br>U 2009/09/08 09:17:41.426541 kamailio:5060 -&gt; freeswitch:5060<br>INVITE sip:15145555555@gw2:5061 SIP/2.0.<br>Record-Route: &lt;sip:kamailio;lr=on;ftag=8c90b1379825fa62;nat=yes;vsf=QllAAwMAAglyAgIIbgoHFhwIGRwDAC4yMTA6NDUwNjA-;did=0b8.111bca94&gt;.<br>Via: SIP/2.0/UDP kamailio;branch=z9hG4bKede5.5c558357.1.<br>Via: SIP/2.0/UDP 192.168.2.13:52060;rport=52060;received=UserIP;branch=z9hG4bK4d46edc4e1623ae5.<br>From: "hq160" &lt;10092020@kamailio&gt;;tag=8c90b1379825fa62.<br>To: &lt;sip:15145555555@kamailio&gt;.<br>Contact: &lt;sip:10092020@UserIP:52060&gt;.<br>Supported: replaces, timer, path.<br>Call-ID: 04d14ab631843dc1@192.168.2.13.<br>CSeq: 31348 INVITE.<br>Max-Forwards: 68.<br>Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK.<br>Content-Type: application/sdp.<br>Content-Length: 396.<br>.<br>v=0.<br>o=10092020 8000 8001 IN IP4 192.168.2.13.<br>s=SIP Call.<br>c=IN IP4 MediaServer.<br>t=0 0.<br>m=audio 50362 RTP/AVP 0 101.<br>a=sendrecv.<br>a=rtpmap:0 PCMU/8000.<br>a=ptime:20.<br>a=rtpmap:101 telephone-event/8000.<br>a=fmtp:101 0-11.<br>m=video 50366 RTP/AVP 99.<br>a=sendrecv.<br>a=rtpmap:99 H264/90000.<br>a=fmtp:99 profile-level-id=42801E; packetization-mode=0; sprop-parameter-sets=J0KAFJWgUH5A,KM4CfIC=.<br>a=framerate:15.<br><br><br>U 2009/09/08 09:17:41.427280 freeswitch:5060 -&gt; kamailio:5060<br>SIP/2.0 482 Request merged.<br>Via: SIP/2.0/UDP kamailio;branch=z9hG4bKede5.5c558357.1.<br>Via: SIP/2.0/UDP 192.168.2.13:52060;rport=52060;received=UserIP;branch=z9hG4bK4d46edc4e1623ae5.<br>From: "hq160" &lt;10092020@kamailio&gt;;tag=8c90b1379825fa62.<br>To: &lt;sip:15145555555@kamailio&gt;;tag=2BZ1HSHNQ19tj.<br>Call-ID: 04d14ab631843dc1@192.168.2.13.<br>CSeq: 31348 INVITE.<br>Content-Length: 0.<br>.<br><br><br>U 2009/09/08 09:17:41.427901 kamailio:5060 -&gt; freeswitch:5060<br>ACK sip:15145555555@gw2:5061 SIP/2.0.<br>Via: SIP/2.0/UDP kamailio;branch=z9hG4bKede5.5c558357.1.<br>From: "hq160" &lt;10092020@kamailio&gt;;tag=8c90b1379825fa62.<br>Call-ID: 04d14ab631843dc1@192.168.2.13.<br>To: &lt;sip:15145555555@kamailio&gt;;tag=2BZ1HSHNQ19tj.<br>CSeq: 31348 ACK.<br>Max-Forwards: 70.<br>UserIP-Agent: Kamailio (1.4.4-tls (i386/linux)).<br>Content-Length: 0.<br>.<br><br>--------&gt; Route 3<br><br>U 2009/09/08 09:17:44.206445 kamailio:5060 -&gt; freeswitch:5060<br>INVITE sip:5145555555@gw3:5060 SIP/2.0.<br>Record-Route: &lt;sip:kamailio;lr=on;ftag=8c90b1379825fa62;nat=yes;vsf=QllAAwMAAglyAgIIbgoHFhwIGRwDAC4yMTA6NDUwNjA-;did=0b8.111bca94&gt;.<br>Via: SIP/2.0/UDP kamailio;branch=z9hG4bKede5.5c558357.2.<br>Via: SIP/2.0/UDP 192.168.2.13:52060;rport=52060;received=UserIP;branch=z9hG4bK4d46edc4e1623ae5.<br>From: "hq160" &lt;10092020@kamailio&gt;;tag=8c90b1379825fa62.<br>To: &lt;sip:15145555555@kamailio&gt;.<br>Contact: &lt;sip:10092020@UserIP:52060&gt;.<br>Supported: replaces, timer, path.<br>Call-ID: 04d14ab631843dc1@192.168.2.13.<br>CSeq: 31348 INVITE.<br>Max-Forwards: 68.<br>Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK.<br>Content-Type: application/sdp.<br>Content-Length: 396.<br>.<br>v=0.<br>o=10092020 8000 8001 IN IP4 192.168.2.13.<br>s=SIP Call.<br>c=IN IP4 MediaServer.<br>t=0 0.<br>m=audio 50362 RTP/AVP 0 101.<br>a=sendrecv.<br>a=rtpmap:0 PCMU/8000.<br>a=ptime:20.<br>a=rtpmap:101 telephone-event/8000.<br>a=fmtp:101 0-11.<br>m=video 50366 RTP/AVP 99.<br>a=sendrecv.<br>a=rtpmap:99 H264/90000.<br>a=fmtp:99 profile-level-id=42801E; packetization-mode=0; sprop-parameter-sets=J0KAFJWgUH5A,KM4CfIC=.<br>a=framerate:15.<br><br><br>U 2009/09/08 09:17:44.207261 freeswitch:5060 -&gt; kamailio:5060<br>SIP/2.0 482 Request merged.<br>Via: SIP/2.0/UDP kamailio;branch=z9hG4bKede5.5c558357.2.<br>Via: SIP/2.0/UDP 192.168.2.13:52060;rport=52060;received=UserIP;branch=z9hG4bK4d46edc4e1623ae5.<br>From: "hq160" &lt;10092020@kamailio&gt;;tag=8c90b1379825fa62.<br>To: &lt;sip:15145555555@kamailio&gt;;tag=2BZ1HSHNQ19tj.<br>Call-ID: 04d14ab631843dc1@192.168.2.13.<br>CSeq: 31348 INVITE.<br>Content-Length: 0.<br>.<br><br><br>U 2009/09/08 09:17:44.207762 kamailio:5060 -&gt; freeswitch:5060<br>ACK sip:5145555555@gw3:5060 SIP/2.0.<br>Via: SIP/2.0/UDP kamailio;branch=z9hG4bKede5.5c558357.2.<br>From: "hq160" &lt;10092020@kamailio&gt;;tag=8c90b1379825fa62.<br>Call-ID: 04d14ab631843dc1@192.168.2.13.<br>To: &lt;sip:15145555555@kamailio&gt;;tag=2BZ1HSHNQ19tj.<br>CSeq: 31348 ACK.<br>Max-Forwards: 70.<br>UserIP-Agent: Kamailio (1.4.4-tls (i386/linux)).<br>Content-Length: 0.<br>.<br><br><br><br><br>============================================<br><pre>I'm going to gess the call-id is the same for the second  <br>transaction... can you provide a more detailed trace?<br><br>/b<br><br>On Sep 4, 2009, at 11:06 AM, Humberto Quintana wrote:<br><br>&gt;<i> Hello,<br></i>&gt;<i><br></i>&gt;<i> I'm a new Freeswitch user. After some reading I put Freeswitch  <br></i>&gt;<i> (Version 1.0.4) to work as Session Border Controller.  I have only  <br></i>&gt;<i> one problem that I dont know how to solve it ( or which parameter to  <br></i>&gt;<i> set) and I'd appreciate if someone could give me a clue about this.<br></i>&gt;<i><br></i>&gt;<i> Kamailio is sitting behind FS and it selects the route or routes in  <br></i>&gt;<i> case of failure (serial forking) .  Freeswitch is configured to use  <br></i>&gt;<i> directly the Request-URI sent by Kamailio.<br></i>&gt;<i><br></i>&gt;<i> So, when the 1st route fails, Kamailio receives the Reply from FS  <br></i>&gt;<i> and sends back the ACK to end the transaction.  More than 1 second  <br></i>&gt;<i> later, a new INVITE from Kamailio with the next route is tried (With  <br></i>&gt;<i> the To-header's tag is empty. Same Callid, From and Cseq header but  <br></i>&gt;<i> different VIA-header's branch parameter) and FS is answering back  <br></i>&gt;<i> 482 Merged Request.  It happens the same for the 3rd route.<br></i>&gt;<i><br></i>&gt;<i> It seems that the transaction is still 'alive' in FS even if the ACK  <br></i>&gt;<i> was received ?<br></i>&gt;<i><br></i>&gt;<i><br></i>&gt;<i> Thanks,<br></i>&gt;<i><br></i>&gt;<i> Humberto<br></i></pre><br><br /><hr />Faster Hotmail access now on the new <a href='http://go.microsoft.com/?linkid=9677399' target='_new'>MSN homepage.</a></body>
</html>