add dtmf callback to brige (not tested good luck)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@710 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-03-01 05:52:42 +00:00
parent 4f06f7b8fd
commit ae4c68d880
3 changed files with 34 additions and 4 deletions

View File

@@ -151,11 +151,17 @@ SWITCH_DECLARE(switch_status) switch_ivr_speak_text(switch_core_session *session
\param session one session
\param peer_session the other session
\param timelimit maximum number of seconds to wait for both channels to be answered
\param dtmf_callback code to execute if any dtmf is dialed during the bridge
\param session_data data to pass to the DTMF callback for session
\param peer_session_data data to pass to the DTMF callback for peer_session
\return SWITCH_STATUS_SUCCESS if all is well
*/
SWITCH_DECLARE(switch_status) switch_ivr_multi_threaded_bridge(switch_core_session *session,
switch_core_session *peer_session,
unsigned int timelimit);
unsigned int timelimit,
switch_dtmf_callback_function dtmf_callback,
void *session_data,
void *peer_session_data);
/** @} */