]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add dynamic conf with bridge example
authorBrian West <brian@freeswitch.org>
Fri, 12 Sep 2008 14:46:08 +0000 (14:46 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 12 Sep 2008 14:46:08 +0000 (14:46 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9535 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/dialplan/default.xml

index 6014a45d2035ee7dbc6fabeb6de523c9f04d24ab..04429fa3402ddf8ff913604b31286294721b907b 100644 (file)
       </condition>
     </extension>
 
+    <!-- Create a conference on the fly and pull someone in at the same time. --> 
+    <extension name="dyanmic conference">
+      <condition field="destination_number" expression="^5001$">
+       <action application="conference" data="bridge:mydynaconf:sofia/${use_profile}/1234@conference.freeswitch.org"/>
+      </condition>
+    </extension>
+
     <extension name="rtp_multicast_page">
       <condition field="destination_number" expression="^pagegroup$|^7243">
        <action application="answer"/>