add timout to record and time tables to all the channel events

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5236 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-05-31 14:42:23 +00:00
parent 1730f202dd
commit a1d4140ce6
9 changed files with 55 additions and 14 deletions
+1
View File
@@ -136,6 +136,7 @@ struct switch_media_bug {
void *user_data;
uint32_t flags;
uint8_t ready;
time_t stop_time;
struct switch_media_bug *next;
};
+1 -1
View File
@@ -130,7 +130,7 @@ struct switch_core_port_allocator;
*/
SWITCH_DECLARE(switch_status_t) switch_core_media_bug_add(switch_core_session_t *session,
switch_media_bug_callback_t callback,
void *user_data, switch_media_bug_flag_t flags, switch_media_bug_t **new_bug);
void *user_data, time_t stop_time, switch_media_bug_flag_t flags, switch_media_bug_t **new_bug);
/*!
\brief Obtain private data from a media bug
\param bug the bug to get the data from
+1 -1
View File
@@ -198,7 +198,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_detect_speech_unload_grammar(switch_c
\param fh file handle to use (NULL for builtin one)
\return SWITCH_STATUS_SUCCESS if all is well
*/
SWITCH_DECLARE(switch_status_t) switch_ivr_record_session(switch_core_session_t *session, char *file, switch_file_handle_t *fh);
SWITCH_DECLARE(switch_status_t) switch_ivr_record_session(switch_core_session_t *session, char *file, uint32_t limit, switch_file_handle_t *fh);
/*!
\brief Stop Recording a session