|
Asterisk - The Open Source Telephony Project GIT-master-590b490
|
Stasis broadcast dialplan application. More...
#include "asterisk.h"#include "asterisk/app.h"#include "asterisk/module.h"#include "asterisk/pbx.h"#include "asterisk/stasis_app_broadcast.h"#include "asterisk/stasis_app_impl.h"
Go to the source code of this file.
Macros | |
| #define | DEFAULT_TIMEOUT_MS 500 |
| Default timeout in milliseconds. | |
| #define | MAX_STASIS_ARGS 128 |
| Maximum number of Stasis arguments. | |
| #define | MAX_TIMEOUT_MS 60000 |
| Maximum timeout in milliseconds. | |
Functions | |
| static void | __reg_module (void) |
| static void | __unreg_module (void) |
| struct ast_module * | AST_MODULE_SELF_SYM (void) |
| static int | load_module (void) |
| static int | stasis_broadcast_exec (struct ast_channel *chan, const char *data) |
| StasisBroadcast dialplan application callback. | |
| static int | unload_module (void) |
Variables | |
| static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_DEFAULT , .description = "Stasis application broadcast" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_EXTENDED, .load = load_module, .unload = unload_module, .requires = "res_stasis,res_stasis_broadcast", } |
| static const char * | app = "StasisBroadcast" |
| Dialplan application name. | |
| static const struct ast_module_info * | ast_module_info = &__mod_info |
Stasis broadcast dialplan application.
Definition in file app_stasis_broadcast.c.
| #define DEFAULT_TIMEOUT_MS 500 |
Default timeout in milliseconds.
Definition at line 140 of file app_stasis_broadcast.c.
| #define MAX_STASIS_ARGS 128 |
Maximum number of Stasis arguments.
Definition at line 146 of file app_stasis_broadcast.c.
| #define MAX_TIMEOUT_MS 60000 |
Maximum timeout in milliseconds.
Definition at line 143 of file app_stasis_broadcast.c.
|
static |
Definition at line 286 of file app_stasis_broadcast.c.
|
static |
Definition at line 286 of file app_stasis_broadcast.c.
| struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 286 of file app_stasis_broadcast.c.
|
static |
Definition at line 270 of file app_stasis_broadcast.c.
References app, ast_register_application_xml, and stasis_broadcast_exec().
|
static |
StasisBroadcast dialplan application callback.
Definition at line 149 of file app_stasis_broadcast.c.
References args, AST_APP_ARG, ast_assert, ast_channel_name(), ast_channel_uniqueid(), ast_check_hangup(), ast_debug, AST_DECLARE_APP_ARGS, ast_free, ast_log, AST_OPTIONAL_API_UNAVAILABLE, AST_STANDARD_APP_ARGS, ast_strdupa, ast_strlen_zero(), ast_true(), DEFAULT_TIMEOUT_MS, LOG_ERROR, LOG_WARNING, MAX_STASIS_ARGS, MAX_TIMEOUT_MS, NULL, pbx_builtin_setvar_helper(), result, stasis_app_broadcast_channel(), stasis_app_broadcast_cleanup(), stasis_app_broadcast_wait(), stasis_app_broadcast_winner(), stasis_app_exec(), STASIS_BROADCAST_FLAG_SUPPRESS_CLAIMED, and strsep().
Referenced by load_module().
|
static |
Definition at line 275 of file app_stasis_broadcast.c.
References app, and ast_unregister_application().
|
static |
Definition at line 286 of file app_stasis_broadcast.c.
|
static |
Dialplan application name.
Definition at line 137 of file app_stasis_broadcast.c.
Referenced by load_module(), and unload_module().
|
static |
Definition at line 286 of file app_stasis_broadcast.c.