|
Asterisk - The Open Source Telephony Project GIT-master-590b490
|
Broadcast context stored on channel. More...

Data Fields | |
| char | app_filter [MAX_REGEX_LENGTH+1] |
| char | channel_id [AST_MAX_PUBLIC_UNIQUEID] |
| unsigned int | claimed:1 |
| regex_t | compiled_filter |
| ast_cond_t | cond |
| struct ao2_container * | container |
| unsigned int | filter_compiled:1 |
| unsigned int | finished:1 |
| unsigned int | flags |
| char * | winner_app |
Broadcast context stored on channel.
Definition at line 80 of file res_stasis_broadcast.c.
| char app_filter[MAX_REGEX_LENGTH+1] |
Regex pattern used to filter broadcast recipients
Definition at line 86 of file res_stasis_broadcast.c.
Referenced by broadcast_ctx_create().
| char channel_id[AST_MAX_PUBLIC_UNIQUEID] |
The unique ID of the channel
Definition at line 82 of file res_stasis_broadcast.c.
Referenced by broadcast_ctx_create().
| unsigned int claimed |
Flag indicating if channel was claimed
Definition at line 90 of file res_stasis_broadcast.c.
| regex_t compiled_filter |
Compiled regex for app_filter (valid only when filter_compiled is set)
Definition at line 88 of file res_stasis_broadcast.c.
Referenced by broadcast_ctx_create(), broadcast_ctx_destructor(), and send_broadcast_event().
| ast_cond_t cond |
Condition variable for claim notification
Definition at line 100 of file res_stasis_broadcast.c.
Referenced by broadcast_ctx_create(), and broadcast_ctx_destructor().
| struct ao2_container* container |
Reference to the global container (prevents use-after-free during module unload)
Definition at line 98 of file res_stasis_broadcast.c.
Referenced by broadcast_ctx_create(), broadcast_ctx_destructor(), and broadcast_datastore_destroy().
| unsigned int filter_compiled |
Whether compiled_filter is valid and must be freed
Definition at line 92 of file res_stasis_broadcast.c.
Referenced by broadcast_ctx_create(), broadcast_ctx_destructor(), and send_broadcast_event().
| unsigned int finished |
Set when the PBX thread retrieves the winner; prevents late claims
Definition at line 94 of file res_stasis_broadcast.c.
| unsigned int flags |
Broadcast behaviour flags (STASIS_BROADCAST_FLAG_*)
Definition at line 96 of file res_stasis_broadcast.c.
Referenced by broadcast_ctx_create().
| char* winner_app |
Name of the winning application (dynamically allocated, NULL until claimed)
Definition at line 84 of file res_stasis_broadcast.c.
Referenced by broadcast_ctx_destructor().