From Chunky Peccary, 3 Years ago, written in Plain Text.
- view diff
Embed
  1. <include>
  2.   <extension name="gateway_inbound">
  3.    <condition field="destination_number" expression="^(miss)(.*)$">
  4.       <action application="playback" data="/home/aria/gateways/ivr/tenant_is_blocked.wav"/>
  5.     </condition>
  6.     <condition field="destination_number" expression="^([A-Z]*)#(.*)$">
  7.       <action application="export" data="nolocal:sip_invite_params=user=phone"/>
  8.       <action application="export" data="sip_append_audio_sdp=a=fmtp:18 annexb=no"/>
  9.       <action application="set" data="hangup_after_bridge=true"/>
  10.       <action application="bridge" data="sofia/gateway/$1/$2"/>
  11.     </condition>
  12.   </extension>
  13. </include>