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"><<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>></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> 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"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can'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's siptrace option? (sofia global siptrace on).<br>
<br>Also, I this isn't doing what I think you expect:<div><br>session:execute("bridge","{loop=3}sofia/gateway/${distributor(" .. route_name .. ")}".. out_number .."")<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'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"><<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>></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'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 "Temporary unavailable" 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'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'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'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 "1234","1234", no registration is needed....</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div> session:execute("set","continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESTINATION,UNALLOCATED_NUMBER,407")</div>
<div><br></div><div> session:execute("set","inbound-late-negotiation=true")</div><div> session:execute("set","inbound-bypass-media=false")</div><div><br></div><div> session:execute("set","proxy_media=false")</div>
<div> session:execute("set","bypass_media=false")</div><div> </div><div> </div><div> --session:execute("bridge","{sip_auth_username=" .. gw_sip_username .. ",sip_auth_password=" .. gw_sip_pwd .. "}sofia/external/".. out_number .."@".. gw_sip_ip .."")</div>
<div> </div><div> </div><div> fsLog("BRIDGE EXECUTE:", "{loop=3}sofia/gateway/${distributor(" .. route_name .. ")}" .. out_number .. "")</div><div> session:execute("bridge","{loop=3}sofia/gateway/${distributor(" .. route_name .. ")}".. out_number .."")</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>