forked from Mirrors/freeswitch
update docs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@768 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
19fe569576
commit
150a63ab6d
|
@ -39,8 +39,7 @@ function on_dtmf(digits)
|
|||
|
||||
session.answer();
|
||||
|
||||
while(session.state == "CS_EXECUTE") {
|
||||
allDigits = "";
|
||||
while(session.ready()) {
|
||||
return_value = session.streamFile("/tmp/demo.wav", "", "on_dtmf");
|
||||
if (return_value == "hangup") {
|
||||
session.hangup(); // or break;
|
||||
|
|
Loading…
Reference in New Issue