[Freeswitch-users] Prevent A leg from hangup after bridge with inbound ESL socket

Alex Massover alex at jajah.com
Wed Aug 29 17:57:23 MSD 2012


Hi,

I have a very simple dialplan that just do park for incoming calls. All rest of leg management is done via ESL inbound socket.

I'm trying to do the same behavior like in this dialplan example, but from ESL inbound socket:
<action application="set" data="hangup_after_bridge=false"/>
   <action application="bridge" data="sofia/internal/1001@$${domain}"/>
   <action application="bridge" data="sofia/internal/1002@$${domain}"/>

The problem is with bridge API, if B leg doesn't answer (e.g. 404, or busy), A leg disconnects. But I'm trying to prevent A leg from disconnecting in order to do bridge to other place.

Looks like hangup_after_bridge=false, park_after_bridge=true, transfer_after_bridge etc don't have any effect when bridge done from inbound socket. A leg disconnects always.

Is there any way to keep A leg after bridge with inbound socket? I'm aware of originate, but prefer to user bridge.




--
Best Regards,
Alex Massover

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120829/4372cb14/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list