mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
allow recursive broadcasting
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15757 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -826,11 +826,23 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_exec(_In_ switch_core_sessio
|
||||
\param session the current session
|
||||
\param app the application's name
|
||||
\param arg application arguments
|
||||
\warning Has to be called from the session's thread
|
||||
\param flags pointer to a flags variable to set the applications flags to
|
||||
\return the application's return value
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_session_execute_application(_In_ switch_core_session_t *session,
|
||||
_In_ const char *app, _In_opt_z_ const char *arg);
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_session_execute_application_get_flags(_In_ switch_core_session_t *session,
|
||||
_In_ const char *app, _In_opt_z_ const char *arg, _Out_ int32_t *flags);
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_session_get_app_flags(const char *app, int32_t *flags);
|
||||
|
||||
/*!
|
||||
\brief Execute an application on a session
|
||||
\param session the current session
|
||||
\param app the application's name
|
||||
\param arg application arguments
|
||||
\return the application's return value
|
||||
*/
|
||||
#define switch_core_session_execute_application(_a, _b, _c) switch_core_session_execute_application_get_flags(_a, _b, _c, NULL)
|
||||
|
||||
/*!
|
||||
\brief Run a dialplan and execute an extension
|
||||
\param session the current session
|
||||
|
||||
@@ -943,6 +943,7 @@ typedef enum {
|
||||
CF_MEDIA_BRIDGE_TTL,
|
||||
CF_BYPASS_MEDIA_AFTER_BRIDGE,
|
||||
CF_LEG_HOLDING,
|
||||
CF_BROADCAST_DROP_MEDIA,
|
||||
/* WARNING: DO NOT ADD ANY FLAGS BELOW THIS LINE */
|
||||
CF_FLAG_MAX
|
||||
} switch_channel_flag_t;
|
||||
@@ -983,7 +984,8 @@ typedef uint32_t switch_frame_flag_t;
|
||||
typedef enum {
|
||||
SAF_NONE = 0,
|
||||
SAF_SUPPORT_NOMEDIA = (1 << 0),
|
||||
SAF_ROUTING_EXEC = (1 << 1)
|
||||
SAF_ROUTING_EXEC = (1 << 1),
|
||||
SAF_MEDIA_TAP = (1 << 2)
|
||||
} switch_application_flag_enum_t;
|
||||
typedef uint32_t switch_application_flag_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user