Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
boonedox at gmail.com
Guest





PostPosted: Tue Aug 11, 2009 1:38 pm    Post subject: [Freeswitch-users] hangup_after_bridge=false only works if b Reply with quote

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.
Back to top
pjintheusa at gmail.com
Guest





PostPosted: Tue Aug 11, 2009 1:56 pm    Post subject: [Freeswitch-users] hangup_after_bridge=false only works if b Reply with quote

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@gmail.com> wrote:
Quote:
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
boonedox at gmail.com
Guest





PostPosted: Tue Aug 11, 2009 3:21 pm    Post subject: [Freeswitch-users] hangup_after_bridge=false only works if b Reply with quote

I guess that makes sense, but that's not the answer I wanted to hear.  I don't necessarily know when the "B" leg is going to hangup so I may not be able to do the re-invite beforehand.  Is there some sort of workaround?  

On Tue, Aug 11, 2009 at 12:50 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
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@gmail.com (boonedox@gmail.com)> wrote:
Quote:
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.


Quote:
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
boonedox at gmail.com
Guest





PostPosted: Tue Aug 11, 2009 3:25 pm    Post subject: [Freeswitch-users] hangup_after_bridge=false only works if b Reply with quote

Also, if I understand bypass_media, the SIP signaling is going through FreeSWITCH and the audio is endpoint to endpoint, so I would think the manner in which the "B" leg hangup is handled is controlled by FreeSWITCH.  That is what appears to be happening in the debug.

On Tue, Aug 11, 2009 at 2:13 PM, Jeremiah Johnson <boonedox@gmail.com (boonedox@gmail.com)> wrote:
Quote:
I guess that makes sense, but that's not the answer I wanted to hear.  I don't necessarily know when the "B" leg is going to hangup so I may not be able to do the re-invite beforehand.  Is there some sort of workaround?  


On Tue, Aug 11, 2009 at 12:50 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
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@gmail.com (boonedox@gmail.com)> wrote:
Quote:
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.


Quote:
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




Back to top
mike at jerris.com
Guest





PostPosted: Wed Aug 12, 2009 3:28 am    Post subject: [Freeswitch-users] hangup_after_bridge=false only works if b Reply with quote

Please post a bug for this on jira.freeswitch.org.

Mike

On Aug 11, 2009, at 2:29 PM, Jeremiah Johnson wrote:

Quote:
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
boonedox at gmail.com
Guest





PostPosted: Wed Aug 12, 2009 8:20 am    Post subject: [Freeswitch-users] hangup_after_bridge=false only works if b Reply with quote

I posted it yesterday evening:  http://jira.freeswitch.org/browse/FSCORE-417

On Tue, Aug 11, 2009 at 9:43 PM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote:
Please post a bug for this on jira.freeswitch.org.

Mike


On Aug 11, 2009, at 2:29 PM, Jeremiah Johnson wrote:

Quote:
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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services