From Anorexic Armadillo, 4 Years ago, written in XML.
- view diff
Embed
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <include>
  3.     <context name="public">
  4.         <extension name="emergency_ivr_4000">
  5.             <condition field="destination_number" expression="^0733165807$" break="on-true" continue="true">
  6.                 <action application="set" data="conference_auto_outcall_caller_id_name=${caller_id_name}"/>
  7.                 <action application="set" data="conference_auto_outcall_caller_id_number=${caller_id_number}"/>
  8.                 <action application="set" data="conference_auto_outcall_profile=default"/>
  9.                 <action application="set" data="conference_auto_outcall_prefix={sip_h_X-Orig-Call-ID=${sip_h_X-Orig-Call-ID}}" />
  10.                 <action application="export" data="nolocal:execute_on_answer=lua incrInUse.lua ${uuid}"/>
  11.                 <action application="conference_set_auto_outcall" data="sofia/gateway/freeswitch-cc1/4000"/>
  12.                 <action application="conference" data="${sip_h_X-Orig-Call-ID}++flags{rfc-4579}"/>
  13.             </condition>
  14.         </extension>
  15.     </context>
  16. </include>