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

Freeswitch SVN brian at freeswitch.org
Sat Jan 19 14:08:33 EST 2008


Author: brian
Date: Sat Jan 19 14:08:33 2008
New Revision: 7299

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

Log:
tweak this dialplan

Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default.xml	Sat Jan 19 14:08:33 2008
@@ -260,20 +260,13 @@
     </extension>
 
     <extension name="hold_music">
-      <condition field="${sip_has_crypto}" expression="^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$" break="never">
+      <condition field="destination_number" expression="^9999$"/>
+      <condition field="${sip_has_crypto}" expression="^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$">
 	<action application="answer"/>
 	<action application="execute_extension" data="is_secure XML default"/>
-      </condition>
-      <condition field="destination_number" expression="^9999$">
-	<action application="answer"/>
 	<action application="playback" data="$${moh_uri}"/>
-      </condition>
-    </extension>
-
-    <extension name="is_secure">
-      <condition field="${sip_secure_media_confirmed}" expression="^true$" break="never">
-	<action application="sleep" data="1000"/>
-	<action application="gentones" data="${bong-ring}"/>
+	<anti-action application="answer"/>
+	<anti-action application="playback" data="$${moh_uri}"/>
       </condition>
     </extension>
 
@@ -281,9 +274,16 @@
 
     <extension name="enum">
       <condition field="destination_number" expression="^(.*)$">
-	<action application="answer"/>
 	<action application="transfer" data="$1 enum"/>
       </condition>
     </extension>
+
+    <extension name="is_secure">
+      <condition field="${sip_secure_media_confirmed}" expression="^true$" break="never">
+	<action application="sleep" data="1000"/>
+	<action application="gentones" data="${bong-ring}"/>
+      </condition>
+    </extension>
+
   </context>
 </include>



More information about the Freeswitch-svn mailing list