From Sexy Zebra, 7 Years ago, written in Plain Text.
- view diff
Embed
  1.     <extension name="test.com userbB extension">
  2.       <condition field="destination_number" expression="^(1002|userb|userb@test.com)$">
  3.         <action application="bridge_export" data="api_hangup_hook=db delete/test.com/userb"/>
  4.         <action application="db" data="insert/test.com/userb/1.2.3.4"/>
  5.         <action application="set" data="instant_ringback=true"/>
  6.         <action application="set" data="hold_music=${sounds_dir}/music/somefile.mp3" />
  7.         <action application="set" data="call_timeout=24"/>
  8.         <action application="bridge" data="{sip_contact_userb=userba,sip_cid_type=pid}user/userb@test.com"/>
  9.         <action application="rayo" data=""/>
  10.       </condition>
  11.     </extension>
  12.