[Freeswitch-svn] [commit] r8002 - freeswitch/trunk/scripts

Freeswitch SVN brian at freeswitch.org
Wed Apr 2 03:33:50 EDT 2008


Author: brian
Date: Wed Apr  2 03:33:50 2008
New Revision: 8002

Modified:
   freeswitch/trunk/scripts/dtmftest.js

Log:
This can be used to test DTMF connectivity from remote devices and read back the DTMF verbally.

Modified: freeswitch/trunk/scripts/dtmftest.js
==============================================================================
--- freeswitch/trunk/scripts/dtmftest.js	(original)
+++ freeswitch/trunk/scripts/dtmftest.js	Wed Apr  2 03:33:50 2008
@@ -3,6 +3,7 @@
     try {
       if (type == "dtmf") {
 	console_log("info", "DTMF digit: " + s.name + " [" + obj.digit + "] len [" + obj.duration + "]\n\n");
+	session.execute("phrase", "spell," + obj.digit);
       }
 
     }  catch (e) {



More information about the Freeswitch-svn mailing list