<html><head><base href="x-msg://2619/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">We currently don't support forked dialogs.<div><br></div><div>Mike</div><div><br><div><div>On Sep 8, 2009, at 12:16 PM, Humberto Quintana wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="hmmessage" style="font-size: 10pt; font-family: Verdana; "><pre>Hi Brian,<br><br>Thank you very much for your answer but both, Freeswitch and Kamailio have public IPs, it's my NAT'd IP phone who has private IP but this is fixed by Kamailio.<br><br>The problem is not the 1st call is failing ( the test is set that way), the problem is FS answers back 482 when Kamailio tries a 2nd route ( or 3rd ) for the same call... <br><br><br>Freeswitch is configured to use the Requested-URI sent by Kamailio:<br><br><action application="bridge" data="sofia/external/${sip_req_uri}"/><br><br><br>I noticed that there is no Log message in Freeswitch when receiving the INVITE for the 2nd route.<br>The process in FS seems to be destroyed (11:46:21.396593) before the 2nd INVITE is received (11:46:21.401419<br>).<br><br><br>U 2009/09/08 11:46:21.395702 freeswitch:5060 -> kamailio:5060<br>SIP/2.0 503 Service Unavailable.<br>Call-ID: ba748cd27cd163b5@192.168.2.13<br><br>U 2009/09/08 11:46:21.395897 kamailio:5060 -> freeswitch:5060<br>ACK <a href="sip:5145555555@gw1:5060">sip:5145555555@gw1:5060</a> SIP/2.0.<br>Call-ID: ba748cd27cd163b5@192.168.2.13<br><br>U 2009/09/08 11:46:21.401419 kamailio:5060 -> freeswitch:5060<br>INVITE <a href="sip:15145555555@gw2:5061">sip:15145555555@gw2:5061</a> SIP/2.0.<br>Call-ID: ba748cd27cd163b5@192.168.2.13<br><br>U 2009/09/08 11:46:21.401845 freeswitch:5060 -> kamailio:5060<br>SIP/2.0 482 Request merged.<br>Call-ID: ba748cd27cd163b5@192.168.2.13<br><br><br>2009-09-08 11:46:21.395503 [DEBUG] mod_sofia.c:417 Responding to INVITE with: 503<br>2009-09-08 11:46:21.395503 [DEBUG] switch_core_state_machine.c:46 sofia/external/10092020@freeswitch Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE<br>2009-09-08 11:46:21.396593 [DEBUG] switch_core_state_machine.c:434 (sofia/external/10092020@freeswitch) State HANGUP going to sleep<br>2009-09-08 11:46:21.396593 [DEBUG] switch_core_state_machine.c:476 (sofia/external/10092020@freeswitch) State Change CS_HANGUP -> CS_REPORTING<br>2009-09-08 11:46:21.396593 [DEBUG] switch_core_session.c:932 Send signal sofia/external/10092020@freeswitch [BREAK]<br>2009-09-08 11:46:21.396593 [DEBUG] switch_core_state_machine.c:398 (sofia/external/10092020@freeswitch) Running State Change CS_REPORTING<br>2009-09-08 11:46:21.396593 [DEBUG] switch_core_state_machine.c:612 (sofia/external/10092020@freeswitch) State REPORTING<br>2009-09-08 11:46:21.396593 [DEBUG] switch_core_state_machine.c:53 sofia/external/10092020@freeswitch Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE<br>2009-09-08 11:46:21.396593 [DEBUG] switch_core_state_machine.c:612 (sofia/external/10092020@freeswitch) State REPORTING going to sleep<br>2009-09-08 11:46:21.396593 [DEBUG] switch_core_state_machine.c:411 (sofia/external/10092020@freeswitch) State Change CS_REPORTING -> CS_DESTROY<br>2009-09-08 11:46:21.396593 [DEBUG] switch_core_session.c:1068 Session 3 (sofia/external/10092020@freeswitch) Locked, Waiting on external entities<br>2009-09-08 11:46:21.396593 [NOTICE] switch_core_session.c:1086 Session 3 (sofia/external/10092020@freeswitch) Ended<br>2009-09-08 11:46:21.396593 [NOTICE] switch_core_session.c:1088 Close Channel sofia/external/10092020@freeswitch [CS_DESTROY]<br>2009-09-08 11:46:21.396593 [DEBUG] switch_core_state_machine.c:564 (sofia/external/10092020@freeswitch) State DESTROY<br>2009-09-08 11:46:21.396593 [DEBUG] mod_sofia.c:255 sofia/external/10092020@freeswitch SOFIA DESTROY<br>2009-09-08 11:46:21.396593 [DEBUG] switch_core_state_machine.c:60 sofia/external/10092020@freeswitch Standard DESTROY<br>2009-09-08 11:46:21.396593 [DEBUG] switch_core_state_machine.c:564 (sofia/external/10092020@freeswitch) State DESTROY going to sleep<br><br><br>Note: I'm using only the external sofia profile.<br><br><br>Thanks,<br><br>Humberto<br><br><br><br><br><br><br><br><br><br><br><br>==========================================<br>Looks like FS is behind nat. You need to set local-network-acl and <br>the ext-rtp-ip and ext-sip-ip so FreeSWITCH properly puts in the right <br>IP's in the via headers and sdp.<br><br>Please refer to internal.xml in the latest SVN for an example of how <br>to do this.<br><br>/b<br></pre><br><hr>New! Open Hotmail faster on the new<span class="Apple-converted-space"> </span><a href="http://go.microsoft.com/?linkid=9677400" target="_new">MSN homepage!</a><span class="Apple-converted-space"> </span>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div></span></blockquote></div><br></div></body></html>