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

Freeswitch SVN brian at freeswitch.org
Fri Sep 12 10:40:03 EDT 2008


Author: brian
Date: Fri Sep 12 10:40:02 2008
New Revision: 9534

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

Log:
example of using mod_conference to auto call out on entry.  You can add multipe conference_set_auto_outcall's as needed

Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default.xml	Fri Sep 12 10:40:02 2008
@@ -230,6 +230,25 @@
       </condition>
     </extension>
 
+    <!--This extension will start a conference and invite several people upon entering -->
+    <extension name="0911">
+      <condition field="destination_number" expression="0911">
+
+	<!--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"/>
+	<action application="set" data="conference_auto_outcall_timeout=60"/>
+	<action application="set" data="conference_auto_outcall_flags=none"/>
+	<!--<action application="set" data="conference_auto_outcall_announce=say:You have been called into an emergency conference"/>-->
+
+	<!--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/asterlink.com/19184238080"/>
+	<action application="conference_set_auto_outcall" data="sofia/default/42 at conference.freeswitch.org"/>
+
+	<action application="conference" data="cool at default"/>
+      </condition>
+    </extension>
+
     <!-- a sample IVR  -->
     <extension name="ivr_demo">
       <condition field="destination_number" expression="^5000$">



More information about the Freeswitch-svn mailing list