[Freeswitch-users] fork dialing

Anand Kumar kanand81 at gmail.com
Tue Sep 22 16:24:36 MSD 2015


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150922/0cc77f0f/attachment.html 


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