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><br></div><div>here's the trace:</div><div><br></div><div><a href="http://pastebin.freeswitch.org/16480">http://pastebin.freeswitch.org/16480</a></div>
<div><br></div><div>and here's the console log:</div><div><br></div><div><a href="http://pastebin.freeswitch.org/16481">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><div><br></div><div>David</div>