FS-11380: [core] add new internal function

This commit is contained in:
Anthony Minessale
2018-09-02 16:47:30 -05:00
committed by Mike Jerris
parent 48aebd7365
commit b4a64d4817
3 changed files with 50 additions and 3 deletions
+8
View File
@@ -542,6 +542,14 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(_In_ switch_cor
switch_input_callback_function_t dtmf_callback, void *session_data,
void *peer_session_data);
/*!
\brief Bridge leaving b-leg in the control of another thread. Call from b-leg first then call switch_ivr_multi_threaded_bridge on a-leg and b-leg.
\param session b-leg session
\return SWITCH_STATUS_SUCCESS if all is well
*/
SWITCH_DECLARE(switch_status_t) switch_ivr_bridge_bleg(switch_core_session_t *session, switch_core_session_t *peer_session, uint32_t max_wait_ms);
/*!
\brief Bridge Signalling from one session to another
\param session one session
+1
View File
@@ -1569,6 +1569,7 @@ typedef enum {
CF_AWAITING_STREAM_CHANGE,
CF_PROCESSING_STREAM_CHANGE,
CF_STREAM_CHANGED,
CF_ARRANGED_BRIDGE,
/* WARNING: DO NOT ADD ANY FLAGS BELOW THIS LINE */
/* IF YOU ADD NEW ONES CHECK IF THEY SHOULD PERSIST OR ZERO THEM IN switch_core_session.c switch_core_session_request_xml() */
CF_FLAG_MAX