[Freeswitch-users] bypass_media problem
David Villasmil
david.villasmil.work at gmail.com
Tue Jun 14 03:01:29 MSD 2011
Forgot to mention, calls gets disconnected whe 183 is received from B-side
Thanks!
On Tue, Jun 14, 2011 at 12:59 AM, David Villasmil <
david.villasmil.work at gmail.com> wrote:
> Hello Guys,
>
> 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...
>
> Codec is fine as you will see in the pastebin..
>
>
> here's the trace:
>
> http://pastebin.freeswitch.org/16480
>
> and here's the console log:
>
> http://pastebin.freeswitch.org/16481
>
> I'm bridging with a lua script, this is the pertinent part:
>
> gw_sip_username and gw_sip_pwd are just bogus "1234","1234", no
> registration is needed....
>
>
>
>
>
> session:execute("set","continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESTINATION,UNALLOCATED_NUMBER,407")
>
> session:execute("set","inbound-late-negotiation=true")
> session:execute("set","inbound-bypass-media=false")
>
> session:execute("set","proxy_media=false")
> session:execute("set","bypass_media=false")
>
>
> --session:execute("bridge","{sip_auth_username=" .. gw_sip_username ..
> ",sip_auth_password=" .. gw_sip_pwd .. "}sofia/external/".. out_number
> .."@".. gw_sip_ip .."")
>
>
> fsLog("BRIDGE EXECUTE:", "{loop=3}sofia/gateway/${distributor(" ..
> route_name .. ")}" .. out_number .. "")
> session:execute("bridge","{loop=3}sofia/gateway/${distributor(" ..
> route_name .. ")}".. out_number .."")
>
> -- hangup
> session:hangup();
>
>
>
> Thanks guys for your help!
>
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110614/760cd042/attachment.html
More information about the FreeSWITCH-users
mailing list