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

FreeSWITCH SVN coppice at freeswitch.org
Sun Jan 18 01:49:08 PST 2009


Author: coppice
Date: Sun Jan 18 03:49:07 2009
New Revision: 11272

Log:
Added simple FAX demo entries to the default dialplan.


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

Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default.xml	Sun Jan 18 03:49:07 2009
@@ -489,6 +489,22 @@
       </condition>
     </extension>
     
+    <extension name="fax_receive">
+      <condition field="destination_number" expression="^9978$">
+	<action application="answer" />
+	<action application="playback" data="silence_stream://2000"/>
+	<action application="rxfax" data="/tmp/rxfax.tif"/>
+	<action application="hangup"/>
+      </condition>
+    </extension>
+
+    <extension name="fax_transmit">
+      <condition field="destination_number" expression="^9979$">
+	<action application="txfax" data="/tmp/txfax.tif"/>
+	<action application="hangup"/>
+      </condition>
+    </extension>
+
     <!-- Send a 180 and let the far end generate ringback. -->
     <extension name="ringback_180">
       <condition field="destination_number" expression="^9980$">



More information about the Freeswitch-svn mailing list