[Freeswitch-users] Unable to continue dialplan if legB fails on early-media with multiple destination

gdesai gd6979 at yp.com
Sat Aug 29 15:01:18 MSD 2015


I need to implement following scenario:

1) Leg A comes to FS.
2) FS answers the call and plays a prompt.
3) FS originates leg B (with two destination)
4) Leg B sends ringback tone for source.
5) If Leg A does not answer, FS tries second destination.

Problem is when Leg B does not answer, FS hangs up Leg B. When Leg B hangs
up, FS also hangs up Leg A. Instead of keeping Leg A and dialing second
destination.


My originate dialplan:
originate
{origination_caller_id_number=18888888888,ignore_early_media=true,park_after_bridge=true}[origination_uuid=uuid,sip_h_Subject='"Direct"
17777777777'][leg_timeout=15,park_after_bridge=true]sofia/gateway/40/5555555555,[leg_delay_start=12]sofia/gateway/40/4444444444'&managed(CallCloudAppServer.Service.OutboundLeg)'

Note: When early media is received from Leg B, I am bridging both legs and
then park Leg A.



--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Unable-to-continue-dialplan-if-legB-fails-on-early-media-with-multiple-destination-tp7596180.html
Sent from the freeswitch-users mailing list archive at Nabble.com.



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list