<div dir="ltr"><div>It looks like your loopback extension is immediately answering the call and playing back audio, thus winning the race. I'm pretty sure that's not what you want. What is the purpose of the loopback extension that is playing the thanks.wav file?<br></div>-MC<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 22, 2015 at 5:24 AM, Anand Kumar <span dir="ltr"><<a href="mailto:kanand81@gmail.com" target="_blank">kanand81@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Guys,</div><div><br></div><div>I am looking help on fork dialing. Using below XML i am able to dial the call on both destination, but once sound file has started to playing on lookback PSTN gateway channel is stopped. I don't want cancel or stop ringing any channel until one channel has answered or timeout and freeswitch don't send the cancel to destination.</div><div><br></div><div><?xml version = "1.0" encoding="UTF-8" standalone="no"?></div><div><document type="Switch/xml"></div><div><section name="dialplan" description="RE Dial Plan For Switch"></div><div><context name="default"></div><div><span style="white-space:pre-wrap">        </span><extension name="outbound_international"></div><div><span style="white-space:pre-wrap">                </span><condition field="destination_number" expression="^(\+?)(\d+)$"></div><div><span style="white-space:pre-wrap">                </span><action application="set" data="hangup_after_bridge=True"/></div><div><span style="white-space:pre-wrap">                </span><action application="set" data="continue_on_fail=TRUE"/></div><div><span style="white-space:pre-wrap">                </span><action application="pre_answer"/></div><div><span style="white-space:pre-wrap">                </span><action application="set" data="call_timeout=60"/></div><div><span style="white-space:pre-wrap">                </span><action application="set" data="execute_on_answer=sched_hangup +3120 alloted_timeout "/><span style="white-space:pre-wrap">        </span></div><div><span style="white-space:pre-wrap">                </span><action application="set" data="bypass_media=false"/><span style="white-space:pre-wrap">        </span></div><div><span style="white-space:pre-wrap">                </span><action application="bridge" data="{enable_heartbeat_events=30,nibble_rate=0.010000,nibble_account=AS_288, absolute_codec_string=${ep_codec_string}}sofia/internal/91XXXXXXX@X.X.X.X,loopback/915454/default1"/><span style="white-space:pre-wrap">                </span></div><div><span style="white-space:pre-wrap">                </span></condition></div><div><span style="white-space:pre-wrap">        </span></extension><span style="white-space:pre-wrap">        </span></div><div></context></div><div><context name="default1"></div><div><span style="white-space:pre-wrap">        </span><extension name="star" continue="true"></div><div><span style="white-space:pre-wrap">                </span><condition field="destination_number" expression="^(\+?)(\d+)$"><span style="white-space:pre-wrap">                </span></div><div><span style="white-space:pre-wrap">                        </span><action application="playback" data="EN/thanks.wav" /><span style="white-space:pre-wrap">                        </span></div><div><span style="white-space:pre-wrap">                </span></condition></div><div><span style="white-space:pre-wrap">        </span></extension></div><div></context></div><div></section></div><div></document></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>