Ok. Have you tried reproducing it on the latest Git?<br><br>-Steve<br><br><br><div class="gmail_quote">On 16 June 2011 20:43, David Villasmil <span dir="ltr">&lt;<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello Steve,<div><br></div><div>my version is:</div><div><br></div><div><div><a href="mailto:freeswitch@192.168.168.3" target="_blank">freeswitch@192.168.168.3</a>@internal&gt; version</div>

<div>FreeSWITCH Version 1.0.head (git-7e52acf 2011-03-28 22-18-47 -0500)</div><div><div></div><div class="h5">


<div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">On Tue, Jun 14, 2011 at 10:14 AM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can&#39;t see the reason immediately... the channel appears to be hanging up because it thinks the bridge is finished.<br>




<br>Can you repeat the debug log, but this time enabling FreeSWITCH&#39;s siptrace option? (sofia global siptrace on).<br>

<br>Also, I this isn&#39;t doing what I think you expect:<div><br>session:execute(&quot;bridge&quot;,&quot;{loop=3}sofia/gateway/${distributor(&quot; .. route_name .. &quot;)}&quot;.. out_number ..&quot;&quot;)<br>
</div>The distributor API is called just once to generate the string to give to the bridge app, not on each loop. So you&#39;ll be dialing through the same gateway 3 times not rerouting to another gateway.<br>

<br>Also, what FS version is this?<br><br>-Steve<br><br><br><div class="gmail_quote"><div>On 13 June 2011 23:59, David Villasmil <span dir="ltr">&lt;<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>&gt;</span> wrote:<br>






</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello Guys,<div><br></div><div>I have a set where i&#39;m receiving a call from a gw and sending to another gw. Both un-natted. If I set in my (lua) script bypass_media=false, call goes just fine, if i set it to true, FS sends &quot;Temporary unavailable&quot; to the B-side and CANCELs the A-side... </div>








<div><br></div><div>Codec is fine as you will see in the pastebin..</div><div><br></div></div><div>rou<br></div><div><div>here&#39;s the trace:</div><div><br></div><div><a href="http://pastebin.freeswitch.org/16480" target="_blank">http://pastebin.freeswitch.org/16480</a></div>








<div><br></div><div>and here&#39;s the console log:<br></div><div><br></div><div><a href="http://pastebin.freeswitch.org/16481" target="_blank">http://pastebin.freeswitch.org/16481</a></div><div><br></div><div>I&#39;m bridging with a lua script, this is the pertinent part:</div>








<div><br></div><div>gw_sip_username and gw_sip_pwd are just bogus &quot;1234&quot;,&quot;1234&quot;, no registration is needed....</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div>     session:execute(&quot;set&quot;,&quot;continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESTINATION,UNALLOCATED_NUMBER,407&quot;)</div>








<div><br></div><div>     session:execute(&quot;set&quot;,&quot;inbound-late-negotiation=true&quot;)</div><div>     session:execute(&quot;set&quot;,&quot;inbound-bypass-media=false&quot;)</div><div><br></div><div>     session:execute(&quot;set&quot;,&quot;proxy_media=false&quot;)</div>








<div>     session:execute(&quot;set&quot;,&quot;bypass_media=false&quot;)</div><div>     </div><div>     </div><div>     --session:execute(&quot;bridge&quot;,&quot;{sip_auth_username=&quot; .. gw_sip_username .. &quot;,sip_auth_password=&quot; .. gw_sip_pwd .. &quot;}sofia/external/&quot;.. out_number ..&quot;@&quot;.. gw_sip_ip ..&quot;&quot;)</div>








<div>     </div><div>     </div><div>     fsLog(&quot;BRIDGE EXECUTE:&quot;, &quot;{loop=3}sofia/gateway/${distributor(&quot; .. route_name .. &quot;)}&quot; .. out_number .. &quot;&quot;)</div><div>     session:execute(&quot;bridge&quot;,&quot;{loop=3}sofia/gateway/${distributor(&quot; .. route_name .. &quot;)}&quot;.. out_number ..&quot;&quot;)</div>








<div>     </div><div>     -- hangup</div><div>     session:hangup();</div><div>     </div></div><div><br></div><div><br></div><div>Thanks guys for your help!</div><div><br></div><font color="#888888"><div><br></div><div>






David</div>
</font><br></div><div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></div></blockquote></div><br><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">

</div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">

</div>