]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
example of using mod_conference to auto call out on entry. You can add multipe confe...
authorBrian West <brian@freeswitch.org>
Fri, 12 Sep 2008 14:40:02 +0000 (14:40 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 12 Sep 2008 14:40:02 +0000 (14:40 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9534 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/dialplan/default.xml

index af0c36236d334c5fdee60aa111f3c6e80a183efd..6014a45d2035ee7dbc6fabeb6de523c9f04d24ab 100644 (file)
       </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@conference.freeswitch.org"/>
+
+       <action application="conference" data="cool@default"/>
+      </condition>
+    </extension>
+
     <!-- a sample IVR  -->
     <extension name="ivr_demo">
       <condition field="destination_number" expression="^5000$">