IVR groundwork (move playback into the core and add timing option)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@447 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-01-26 17:57:25 +00:00
parent 02c67ad8b8
commit 613060fd29
5 changed files with 67 additions and 138 deletions
+13
View File
@@ -45,6 +45,18 @@ extern "C" {
#define SWITCH_MAX_CODECS 30
/*!
\enum switch_ivr_option_t
\brief Possible options related to ivr functions
<pre>
SWITCH_IVR_OPTION_SYNC - synchronous (do everyting in the forground)
</pre>
*/
typedef enum {
SWITCH_IVR_OPTION_SYNC = (1 << 0)
} switch_ivr_option_t;
/*!
\enum switch_core_session_message_t
\brief Possible types of messages for inter-session communication
@@ -354,6 +366,7 @@ typedef switch_status (*switch_waitfor_read_hook)(switch_core_session *, int, in
typedef switch_status (*switch_waitfor_write_hook)(switch_core_session *, int, int);
typedef switch_status (*switch_send_dtmf_hook)(switch_core_session *, char *);
typedef switch_status (*switch_api_function)(char *in, char *out, size_t outlen);
typedef switch_status (*switch_dtmf_callback_function)(switch_core_session *session, char *dtmf);
/* things we don't deserve to know about */