add mod_dptools, for set variable and sleep from the dialplan

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1864 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-07-13 13:20:20 +00:00
parent 45dd9a44cd
commit e73ee221d2
7 changed files with 381 additions and 3 deletions

View File

@@ -50,6 +50,15 @@ BEGIN_EXTERN_C
* @{
*/
/*!
\brief Wait for time to pass for a specified number of milliseconds
\param session the session to wait for.
\param ms the number of milliseconds
\return SWITCH_STATUS_SUCCESS if the channel is still up
*/
SWITCH_DECLARE(switch_status_t) switch_ivr_sleep(switch_core_session_t *session, uint32_t ms);
/*!
\brief Wait for DTMF digits calling a pluggable callback function when digits are collected.
\param session the session to read.