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

Freeswitch SVN brian at freeswitch.org
Tue Jan 1 23:04:25 EST 2008


Author: brian
Date: Tue Jan  1 23:04:25 2008
New Revision: 7055

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

Log:
more fun stuff tested and working

Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default.xml	Tue Jan  1 23:04:25 2008
@@ -164,8 +164,7 @@
 	<action application="ivr" data="demo"/>
       </condition>
     </extension>
-    
-    
+
     <!-- 
 	 Parking extensions... transferring calls to 5900 will park them in a queue.
     -->
@@ -178,36 +177,38 @@
     <!-- 
 	 Parking pickup extension.  Calling 5901 will pickup the call.
     -->
-    <extension name="park">
+    <extension name="unpark">
       <condition field="destination_number" expression="^5901$">
-	<action application="fifo" data="5900@$${domain} out undef"/>
+	<action application="fifo" data="5900@$${domain} out nowait"/>
       </condition>
     </extension>
 
     <!--
 	This extension is used with snom phones.  
 	
+	Set a function key to park+lot (lot being a number or name.)
+	Set type to Park+Orbit.  You can then park and pickup using 
+	the softkey on the phone.  Should work with other phones.
     -->
-    <!--
     <extension name="park">
       <condition field="source" expression="mod_sofia" continue="on-true"/>
       <condition field="${sip_refer_to}" expression="park\+(.*)@(.*)>" continue="on-true">
-	<action application="gentones" data="%(1000, 0, 320)"/>
 	<action application="fifo" data="$1@$${domain} in undef $${moh_uri}"/>
       </condition>
     </extension> 
-
+    <!--
+	The extension is parking pickup with a to param of the fifo we are calling 
+	Some phones send things like orbit= and you can extract that info.
+    -->
     <extension name="unpark">
       <condition field="source" expression="mod_sofia" continue="on-true"/>
       <condition field="destination_number" expression="^parking$" continue="on-true"/>
       <condition field="${sip_to_params}" expression="fifo\=(\d+)">
 	<action application="answer"/>
-	<action application="gentones" data="%(1000, 0, 320)"/>
-	<action application="fifo" data="$1 at 10.0.1.250 out nowait"/>
-	<action application="hangup"/>
+	<action application="fifo" data="$1@$${domain} out undef"/>
       </condition>
     </extension>
-    -->
+
     <extension name="hold_music">
       <condition field="destination_number" expression="^9999$">
 	<action application="answer"/>



More information about the Freeswitch-svn mailing list