[Freeswitch-trunk] [commit] r6759 - freeswitch/trunk/conf/dialplan
Freeswitch SVN
brian at freeswitch.org
Thu Dec 13 12:33:02 EST 2007
Author: brian
Date: Thu Dec 13 12:33:01 2007
New Revision: 6759
Modified:
freeswitch/trunk/conf/dialplan/default.xml
Log:
look extension to extension intercom
Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml (original)
+++ freeswitch/trunk/conf/dialplan/default.xml Thu Dec 13 12:33:01 2007
@@ -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
More information about the Freeswitch-trunk
mailing list