From pashdown, 8 Years ago, written in Plain Text.
- view diff
Embed
  1. <include>
  2.   <extension name="public_did">
  3.  
  4.       <condition field="destination_number" expression="9837377">
  5.         <action application="answer"/>
  6.         <action application="sleep" data="1000"/>
  7.  
  8.         <action application="playback" data="xmission/main-welcome.wav"/>
  9.  
  10.         <action application="set" data="tts_engine=flite"/>
  11.         <action application="set" data="tts_voice=rms"/>
  12.  
  13.         <condition field="$${mode}" expression="^open$"/>
  14.           <action application="speak" data="open"/>
  15.  
  16.         <condition field="$${mode}" expression="^closed$"/>
  17.           <action application="speak" data="closed"/>
  18.        
  19.         <condition field="$${mode}" expression="^techonly$"/>
  20.            <action application="speak" data="teck only"/>
  21.  
  22.         <condition field="$${mode}" expression="event"/>
  23.            <action application="speak" data="event"/>
  24.  
  25.         <action application="transfer" data="1000 XML default"/>
  26.       </condition>
  27.   </extension>
  28. </include>
  29.