Action Transfer Fail to next execution
Hi, We are trying to call one extension. If first call finish with NO_ANSFER after 10 sec ring timeout then we forward call to another extension using Action transfer. If transfer also fail then call will be send to Voicemail but my issue is call is not pass to voicemail after transfer fail. Is there any solution how to pass call on Voicemail once transfer fail. MY dialplan is some thing like below. ================================================================================== <?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="freeswitch/xml"> <section name="dialplan" description="demo dynamic"> <context name="default"> <extension name="1212456"> <condition field="destination_number" expression="1212456"> <action application="set" data="effective_destination_number=1212456"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=10"/> <action application="bridge" data="user/TESTHome@${domain_name}"/> <action application="set" data="call_timeout=20"/> <action application="transfer" data="12129873456 XML default"/> <action application="answer"/> <action application="voicemail" data="default $${domain_name} TESTHome"/> </condition> </extension> </context> </section> </document> ============================================================================== -- Thanks, Bhavik Patel
It transferred the call to a different place, its not going to magically come back. Sounds like you want to use execute_extension instead of transfer. On Mon, Aug 25, 2014 at 5:25 AM, bhavik patel <bhavikpatel14388@gmail.com> wrote:
Hi,
We are trying to call one extension. If first call finish with NO_ANSFER after 10 sec ring timeout then we forward call to another extension using Action transfer. If transfer also fail then call will be send to Voicemail but my issue is call is not pass to voicemail after transfer fail.
Is there any solution how to pass call on Voicemail once transfer fail.
MY dialplan is some thing like below.
================================================================================== <?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="freeswitch/xml"> <section name="dialplan" description="demo dynamic"> <context name="default"> <extension name="1212456"> <condition field="destination_number" expression="1212456"> <action application="set" data="effective_destination_number=1212456"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=10"/> <action application="bridge" data="user/TESTHome@${domain_name}"/> <action application="set" data="call_timeout=20"/> <action application="transfer" data="12129873456 XML default"/> <action application="answer"/> <action application="voicemail" data="default $${domain_name} TESTHome"/> </condition> </extension> </context> </section> </document>
============================================================================== -- Thanks, Bhavik Patel
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
participants (2)
-
bhavik patel
-
Brian West