swig stuff

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3288 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-11-09 05:33:30 +00:00
parent 1167541063
commit 8b6be74043
5 changed files with 4301 additions and 11104 deletions

View File

@@ -206,13 +206,14 @@ int fs_ivr_play_file2(switch_core_session_t *session,
int fs_switch_ivr_collect_digits_callback (switch_core_session_t *session,
switch_input_callback_function_t dtmf_callback,
void *buf,
unsigned int buflen)
switch_input_callback_function_t dtmf_callback,
void *buf,
unsigned int buflen,
unsigned int timeout)
{
switch_status_t status;
status = switch_ivr_collect_digits_callback(session, dtmf_callback, buf, buflen);
status = switch_ivr_collect_digits_callback(session, dtmf_callback, buf, buflen, timeout);
return status == SWITCH_STATUS_SUCCESS ? 1 : 0;
}