提交 1c52292c authored 作者: Brian West's avatar Brian West

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
上级 01379cd6
......@@ -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) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论