mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-18 17:24:14 +00:00
fix dtmf code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7125 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
1fbb21e8fd
commit
df749a420f
10 files changed
+67
-19
No files matched your search
@@ -4125,7 +4125,7 @@ SWITCH_STANDARD_APP(conference_function)
|
||||
status = switch_ivr_collect_digits_count(session,
|
||||
buf,
|
||||
sizeof(pin_buf) - strlen(pin_buf),
|
||||
strlen(conference->pin) - strlen(pin_buf), "#", &term, 10000);
|
||||
strlen(conference->pin) - strlen(pin_buf), "#", &term, 10000, 0, 0);
|
||||
}
|
||||
|
||||
pin_valid = (status == SWITCH_STATUS_SUCCESS && strcmp(pin_buf, conference->pin) == 0);
|
||||
|
||||
@@ -367,7 +367,7 @@ SWITCH_STANDARD_APP(rss_function)
|
||||
switch_size_t blen = sizeof(cmd) - strlen(cmd);
|
||||
|
||||
cp = cmd + blen;
|
||||
switch_ivr_collect_digits_count(session, cp, blen, blen, "#", &term, 5000);
|
||||
switch_ivr_collect_digits_count(session, cp, blen, blen, "#", &term, 5000, 0, 0);
|
||||
}
|
||||
|
||||
x = atoi(cmd) - 1;
|
||||
|
||||
@@ -826,7 +826,7 @@ static switch_status_t vm_macro_get(switch_core_session_t *session,
|
||||
maxlen = buflen -1;
|
||||
}
|
||||
if (bslen < maxlen) {
|
||||
status = switch_ivr_collect_digits_count(session, buf + bslen, buflen, maxlen - bslen, term_chars, terminator_key, timeout);
|
||||
status = switch_ivr_collect_digits_count(session, buf + bslen, buflen, maxlen - bslen, term_chars, terminator_key, timeout, 0, 0);
|
||||
}
|
||||
|
||||
return status;
|
||||
|
||||
Reference in new issue
Block a user