Embed
Viewing differences between
and
Untitled
<extension name="amd_test" continue="false">
<condition field="destination_number" expression="^(amd_test)$">
<action application="set" data="media_bug_answer_req=true"/>
<action application="set" data="amd_execute_on_machine=transfer machine_found XML default"/>
<action application="set" data="amd_execute_on_person=transfer person_found XML default"/>
<action application="set" data="amd_execute_on_unsure=transfer amd_unsure XML default"/>
<action application="voice_start"/>
<action application="set" data="api_on_answer=uuid_displace ${uuid} start ${sounds_dir}/Answering_Machine.wav 0 mr"/>
<action application="answer"/>
<action application="waitforresult" data="ivr/ivr-one_moment_please.wav"/>
<action application="sleep" data="200"/>
<action application="playback" data="tone_stream://%(200,100,500,400,300,50,25);loops=2"/>
<action application="sleep" data="200"/>
<action application="log" data="CRIT AMD Result is => ${amd_status} => ${amd_result}"/>
<action application="hangup"/>
</condition>
</extension>
<extension name="Found Machine">
<condition field="destination_number" expression="^(machine_found)$">
<action application="playback" data="ivr/ivr-welcome_to_freeswitch.wav"/>
<action application="log" data="CRIT AMD result Machine Found is => ${amd_status} => ${amd_result}"/>
<action application="voice_stop"/>
<action application="hangup"/>
</condition>
</extension>
<extension name="Found Person">
<condition field="destination_number" expression="^(person_found)$">
<action application="playback" data="misc/if_you_are_this_person.wav"/>
<action application="log" data="CRIT AMD result Machine Found is => ${amd_status} => ${amd_result}"/>
<action application="voice_stop"/>
<action application="hangup"/>
</condition>
</extension>
<extension name="AMD Unsure">
<condition field="destination_number" expression="^(amd_unsure)$">
<action application="playback" data="misc/error.wav"/>
<action application="log" data="CRIT AMD result Machine Found is => ${amd_status} => ${amd_result}"/>
<action application="voice_stop"/>
<action application="hangup"/>
</condition>
</extension>
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}