From Walloping Marmoset, 7 Years ago, written in Plain Text.
- go back
Embed
Viewing differences between and Untitled
  1. <condition field="destination_number" expression="^(1002|usera|usera@test.somedomain.co)$">
  2.   <action application="db" data="insert/test.somedomain.co/usera/172.31.16.30"/>
  3.   <action application="db" data="insert/test.somedomain.co/usera-pickup/f3abff9a-961b-40af-b2fc-991fabde0ab6"/>
  4.   <action application="db" data="insert/test.somedomain.co/1002-pickup/f3abff9a-961b-40af-b2fc-991fabde0ab6"/>
  5.   <action application="export" data="nolocal:api_hangup_hook=db delete/test.somedomain.co/usera"/>
  6.   <action application="set" data="continue_on_fail=true"/>
  7.   <action application="set" data="hangup_after_bridge=true"/>
  8.   <action application="set" data="instant_ringback=true"/>
  9.   <action application="set" data="hold_music=${sounds_dir}/music/nowhere_land.mp3" />
  10.   <action application="set" data="call_timeout=24"/>
  11.   <action application="bridge" data="{sip_contact_user=usera,sip_cid_type=pid}user/usera@test.somedomain.co"/>
  12.   <action application="unset" data="sip_h_X-MailboxID"/>
  13.   <action application="unset" data="sip_h_X-Mailbox-Caller"/>
  14.   <action application="unset" data="sip_h_X-Mailbox-Called"/>
  15.   <action application="set"><![CDATA[sip_h_X-MailboxID=usera@test.somedomain.co]]></action>
  16.   <action application="set"><![CDATA[sip_h_X-Mailbox-Caller=${caller_id_number}]]></action>
  17.   <action application="set"><![CDATA[sip_h_X-Mailbox-Called=${sip_req_user}]]></action>
  18.   <action application="rayo"/>
  19. </condition>