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
This commit is contained in:
Brian West 2008-04-02 07:33:50 +00:00
parent 01379cd6bf
commit 1c52292c9b
1 changed files with 1 additions and 0 deletions

View File

@ -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) {