look extension to extension intercom
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6759 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
793eb2d0ef
commit
1f32ffcc21
|
@ -85,6 +85,15 @@
|
|||
</condition>
|
||||
</extension>
|
||||
|
||||
<extension name="extension-intercom">
|
||||
<condition field="destination_number" expression="^8(10[01][0-9])$">
|
||||
<action application="set" data="dialed_ext=$1"/>
|
||||
<action application="set" data="sip_h_Call-Info=<sip:$${local_ip_v4}>;answer-after=0"/>
|
||||
<action application="set" data="sip_auto_answer=true"/>
|
||||
<action application="set" data="export_vars=sip_h_Call-Info,sip_auto_answer"/>
|
||||
<action application="bridge" data="USER/${dialed_ext}@$${domain}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
<!--
|
||||
if the calling party is the called party, go to their VM
|
||||
|
|
Loading…
Reference in New Issue