Created
March 26, 2019 09:10
-
-
Save baonq-me/6054786c7f8d6bd1e860a668a30d2c57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<document type="freeswitch/xml"> | |
<section name="dialplan"> | |
<context name="public"> | |
<extension name="Route to extension 101 that picked up the call recently"> | |
<condition expression="^(02836221443)$" field="destination_number"> | |
<action application="set" data="call_timeout=20"/> | |
<action application="set" data="continue_on_fail=NO_ANSWER,UNALLOCATED_NUMBER,NO_ROUTE_TRANSIT_NET,CALL_REJECTED,NETWORK_OUT_OF_ORDER,DESTINATION_OUT_OF_ORDER,NORMAL_CIRCUIT_CONGESTION,NORMAL_TEMPORARY_FAILURE,SWITCH_CONGESTION,NO_USER_RESPONSE,USER_BUSY"/> | |
<action application="answer"/> | |
<action application="sleep" data="1000"/> | |
<action application="set" data="hangup_after_bridge=true"/> | |
<action application="set" data="sip_h_X-CID=${sip_call_id}"/> | |
<action application="export" data="sip_invite_call_id=${sip_call_id}[1]"/> | |
<action application="bridge" data="{sip_contact_user=02871088883,[email protected]}sofia/internal/[email protected];fs_path=sip:49.213.127.9:5060"/> | |
<action application="set" data="destination_number=123456"/> | |
<action application="execute_extension" data="02871088883"/> | |
</condition> | |
</extension> | |
<extension name="IVR Menu {wday=tue, file=Greeting.wav, id=5c9201dbfbab1900bae19a97}"> | |
<condition expression=".*" field="destination_number"> | |
<action application="answer"/> | |
<action application="sleep" data="1000"/> | |
<action application="ivr" data="5c9201dbfbab1900bae19a97"/> | |
</condition> | |
</extension> | |
</context> | |
</section> | |
</document> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment