Quantcast

Unable to continue dialplan if legB fails on early-media with multiple destination

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Unable to continue dialplan if legB fails on early-media with multiple destination

gdesai
This post has NOT been accepted by the mailing list yet.
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.
Loading...