[Freeswitch-users] fork dialing

Michael Collins msc at freeswitch.org
Tue Sep 22 19:50:55 MSD 2015


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?
-MC

On Tue, Sep 22, 2015 at 5:24 AM, Anand Kumar <kanand81 at gmail.com> wrote:

> Hi Guys,
>
> 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.
>
> <?xml version = "1.0" encoding="UTF-8" standalone="no"?>
> <document type="Switch/xml">
> <section name="dialplan" description="RE Dial Plan For Switch">
> <context name="default">
> <extension name="outbound_international">
> <condition field="destination_number" expression="^(\+?)(\d+)$">
> <action application="set" data="hangup_after_bridge=True"/>
> <action application="set" data="continue_on_fail=TRUE"/>
> <action application="pre_answer"/>
> <action application="set" data="call_timeout=60"/>
> <action application="set" data="execute_on_answer=sched_hangup +3120
> alloted_timeout "/>
> <action application="set" data="bypass_media=false"/>
> <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 at X.X.X.X
> ,loopback/915454/default1"/>
> </condition>
> </extension>
> </context>
> <context name="default1">
> <extension name="star" continue="true">
> <condition field="destination_number" expression="^(\+?)(\d+)$">
> <action application="playback" data="EN/thanks.wav" />
> </condition>
> </extension>
> </context>
> </section>
> </document>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150922/106f9d8c/attachment.html 


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