mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
FS-10968 [core] create recording vars
* moves channel vars starting with Recording-Variable- to record_helper * uses record_helper variables for RECORD_START/STOP events
This commit is contained in:
@@ -215,7 +215,7 @@ SWITCH_DECLARE(int) switch_event_add_array(switch_event_t *event, const char *va
|
||||
\param event pointer to the pointer to event to destroy
|
||||
*/
|
||||
SWITCH_DECLARE(void) switch_event_destroy(switch_event_t **event);
|
||||
#define switch_event_safe_destroy(_event) if (_event) switch_event_destroy(_event)
|
||||
#define switch_event_safe_destroy(_event) if (_event) switch_event_destroy(&_event)
|
||||
|
||||
/*!
|
||||
\brief Duplicate an event
|
||||
|
||||
@@ -293,6 +293,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_detect_speech_start_input_timers(swit
|
||||
\return SWITCH_STATUS_SUCCESS if all is well
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_record_session(switch_core_session_t *session, const char *file, uint32_t limit, switch_file_handle_t *fh);
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_record_session_event(switch_core_session_t *session, const char *file, uint32_t limit, switch_file_handle_t *fh, switch_event_t *variables);
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_transfer_recordings(switch_core_session_t *orig_session, switch_core_session_t *new_session);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user