update docs

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@768 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2006-03-06 23:37:32 +00:00
parent 19fe569576
commit 150a63ab6d

View File

@ -39,8 +39,7 @@ function on_dtmf(digits)
session.answer(); session.answer();
while(session.state == "CS_EXECUTE") { while(session.ready()) {
allDigits = "";
return_value = session.streamFile("/tmp/demo.wav", "", "on_dtmf"); return_value = session.streamFile("/tmp/demo.wav", "", "on_dtmf");
if (return_value == "hangup") { if (return_value == "hangup") {
session.hangup(); // or break; session.hangup(); // or break;