[Freeswitch-users] hangup_after_bridge=false only works if bypass_media=false

Phillip Jones pjintheusa at gmail.com
Tue Aug 11 11:50:42 PDT 2009


Hi there,

I the 'does not work' example your media stream is back up at the
carrier as the called party hangs up.

You would have to cause another SIP REINVITE and re capture the media.

See http://wiki.freeswitch.org/wiki/Bypass_Media and the "How to
disable/enable it on the fly?" section as a start.




On Tue, Aug 11, 2009 at 2:29 PM, Jeremiah Johnson<boonedox at gmail.com> wrote:
> This is an integral part of my application.  I need to have FreeSWITCH
> outside of the media path as well as be able to do multiple bridges for the
> same "A" leg.
> /*WORKS*/
> <action application="set" data="hangup_after_bridge=false"/>
> <action application="bridge"
> data="sofia/gateway/${mygateway}/1${client_one}"/>
> <action application="bridge"
> data="sofia/gateway/${mygateway}/1${client_two}"/>
> /*DOES NOT WORK*/
> <action application="set" data="hangup_after_bridge=false"/>
> <action application="set" data="bypass_media=true"/>
> <action application="bridge"
> data="sofia/gateway/${mygateway}/1${client_one}"/>
> <action application="bridge"
> data="sofia/gateway/${mygateway}/1${client_two}"/>
> In the "DOES NOT WORK" example, the "A" leg hangs up as soon as the leg for
> client_one hangs up.
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>




More information about the FreeSWITCH-users mailing list