[Freeswitch-svn] [commit] r11013 - freeswitch/trunk/conf/dialplan

FreeSWITCH SVN brian at freeswitch.org
Tue Dec 30 18:32:28 PST 2008


Author: brian
Date: Tue Dec 30 21:32:28 2008
New Revision: 11013

Log:
even more

Modified:
   freeswitch/trunk/conf/dialplan/default.xml

Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default.xml	Tue Dec 30 21:32:28 2008
@@ -322,20 +322,39 @@
     -->
     <extension name="mad_boss_intercom">
       <condition field="destination_number" expression="^0911$">
-	<action application="set" data="conference_auto_outcall_caller_id_name=Mad Boss"/>
+	<action application="set" data="conference_auto_outcall_caller_id_name=Mad Boss1"/>
 	<action application="set" data="conference_auto_outcall_caller_id_number=0911"/>
 	<action application="set" data="conference_auto_outcall_timeout=60"/>
 	<action application="set" data="conference_auto_outcall_flags=mute"/>
 	<action application="set" data="conference_auto_outcall_prefix={sip_auto_answer=true,execute_on_answer='bind_meta_app 2 a s1 intercept::${uuid}'}"/>
 	<action application="set" data="sip_exclude_contact=${network_addr}"/>
 	<action application="conference_set_auto_outcall" data="${group_call(sales)}"/>
-	<action application="conference" data="madboss_intercom at default+flags{endconf|deaf}"/>
+	<action application="conference" data="madboss_intercom1 at default+flags{endconf|deaf}"/>
+      </condition>
+    </extension>
+
+    <!--
+	This extension will start a conference and invite a few of people.
+	At anytime the participant can dial *2 to bridge directly to the boss. 
+	All other callers are then hung up on.
+    -->
+    <extension name="mad_boss_intercom">
+      <condition field="destination_number" expression="^0911$">
+	<action application="set" data="conference_auto_outcall_caller_id_name=Mad Boss2"/>
+	<action application="set" data="conference_auto_outcall_caller_id_number=0912"/>
+	<action application="set" data="conference_auto_outcall_timeout=60"/>
+	<action application="set" data="conference_auto_outcall_flags=mute"/>
+	<action application="set" data="conference_auto_outcall_prefix={sip_auto_answer=true,execute_on_answer='bind_meta_app 2 a s1 intercept::${uuid}'}"/>
+	<action application="set" data="sip_exclude_contact=${network_addr}"/>
+	<action application="conference_set_auto_outcall" data="sofia/gateway/$${default_provider}/19184238080"/>
+	<action application="conference_set_auto_outcall" data="sofia/default/888 at conference.freeswitch.org"/>
+	<action application="conference" data="madboss_intercom2 at default+flags{endconf|deaf}"/>
       </condition>
     </extension>
 
     <!--This extension will start a conference and invite several people upon entering -->
     <extension name="mad_boss">
-      <condition field="destination_number" expression="^0911$">
+      <condition field="destination_number" expression="^0913$">
 	<!--These params effect the outcalls made once you join-->
 	<action application="set" data="conference_auto_outcall_caller_id_name=Mad Boss"/>
 	<action application="set" data="conference_auto_outcall_caller_id_number=0911"/>
@@ -345,7 +364,7 @@
 	<!--Add as many of these as you need, These are the people you are going to call-->
 	<action application="conference_set_auto_outcall" data="sofia/gateway/$${default_provider}/19184238080"/>
 	<action application="conference_set_auto_outcall" data="sofia/default/888 at conference.freeswitch.org"/>
-	<action application="conference" data="cool at default"/>
+	<action application="conference" data="madboss3 at default"/>
       </condition>
     </extension>
 



More information about the Freeswitch-svn mailing list