Try this:
http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail

-MC

On Wed, Aug 29, 2012 at 6:57 AM, Alex Massover <alex@jajah.com> wrote:

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

 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org