From 1c52292c9b2d4c68e888bd3d5a119083fbe569a8 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 2 Apr 2008 07:33:50 +0000 Subject: [PATCH] This can be used to test DTMF connectivity from remote devices and read back the DTMF verbally. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8002 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- scripts/dtmftest.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/dtmftest.js b/scripts/dtmftest.js index 77e0e7034d..93e052d34b 100644 --- a/scripts/dtmftest.js +++ b/scripts/dtmftest.js @@ -3,6 +3,7 @@ function onPlayFile(s, type, obj, arg) 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) {