[Freeswitch-users] External number starts ringing again after rejecting call until timeout
Ryan How
rhow at exemail.com.au
Sun Oct 16 09:35:25 MSD 2011
Hi,
I've got an extension set up to redirect to my mobile. It all works
fine, except if I reject the call on my mobile it starts ringing again.
It just keeps going until the timeout and then transfers to voicemail.
How can I make it go to voicemail if I reject the call on my mobile? I
tried adding fail_on_single_reject=true but it didn't seem to do
anything. Sorry for the newbie question. I'm slowly learning :). XML is
below.
Thanks!
Ryan
<extension name="main_number_11" continue="true">
<condition field="destination_number" expression="^3101$">
<action application="set" bluebox="settingEndBridge"
data="hangup_after_bridge=true"/>
<action application="set" bluebox="settingFail"
data="continue_on_fail=true"/>
<action application="set" bluebox="autoPlay" data="vm_auto_play=false"/>
<action application="set" bluebox="settingTimeout" data="call_timeout=30"/>
<action application="set" bluebox="settingRing" data="ringback=${us-ring}"/>
<action application="set" bluebox="settingRingXfer"
data="transfer_ringback=${us-ring}"/>
<action application="set" data="fail_on_single_reject=true"/>
<action application="export" bluebox="sipCalleeIdName"
data="sip_callee_id_name=Ryan Work Mobile"/>
<action application="export" bluebox="sipCalleeIdNumber"
data="sip_callee_id_number=3101"/>
<action application="bridge"
data="{ignore_early_media=true}sofia/gateway/trunk_1/0447614933"/>
<action application="answer"/>
<action application="voicemail" data="default voicemail_1 2001"/>
<action application="hangup"/>
</condition>
</extension>
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list