Asterisk - The Open Source Telephony Project
18.5.0
|
Confbridge state handling for the MULTI_MARKED state. More...
#include "asterisk.h"
#include "asterisk/utils.h"
#include "asterisk/linkedlists.h"
#include "include/confbridge.h"
#include "asterisk/musiconhold.h"
#include "include/conf_state.h"
#include "asterisk/pbx.h"
Go to the source code of this file.
Functions | |
static void | join_active (struct confbridge_user *user) |
static void | join_marked (struct confbridge_user *user) |
static void | leave_active (struct confbridge_user *user) |
static void | leave_marked (struct confbridge_user *user) |
static int | post_join_play_begin (struct confbridge_user *user) |
static void | transition_to_marked (struct confbridge_user *user) |
Variables | |
struct confbridge_state * | CONF_STATE_MULTI_MARKED = &STATE_MULTI_MARKED |
Conference state with multiple active users and at least one marked user. More... | |
static struct confbridge_state | STATE_MULTI_MARKED |
Confbridge state handling for the MULTI_MARKED state.
Definition in file conf_state_multi_marked.c.
|
static |
Definition at line 61 of file conf_state_multi_marked.c.
References conf_add_user_active(), conf_update_user_mute(), and confbridge_user::conference.
|
static |
Definition at line 67 of file conf_state_multi_marked.c.
References conf_add_user_marked(), conf_update_user_mute(), and confbridge_user::conference.
|
static |
Definition at line 73 of file conf_state_multi_marked.c.
References confbridge_conference::activeusers, conf_change_state(), conf_remove_user_active(), CONF_STATE_SINGLE_MARKED, and confbridge_user::conference.
|
static |
Definition at line 81 of file conf_state_multi_marked.c.
References confbridge_conference::active_list, confbridge_conference::activeusers, ast_bridge_remove(), AST_LIST_INSERT_TAIL, AST_LIST_REMOVE_CURRENT, AST_LIST_TRAVERSE, AST_LIST_TRAVERSE_SAFE_BEGIN, AST_LIST_TRAVERSE_SAFE_END, ast_test_flag, async_play_sound_file(), confbridge_conference::b_profile, confbridge_conference::bridge, confbridge_user::chan, conf_change_state(), conf_get_sound(), conf_moh_start(), conf_remove_user_marked(), CONF_SOUND_LEADER_HAS_LEFT, CONF_STATE_EMPTY, CONF_STATE_INACTIVE, CONF_STATE_MULTI, CONF_STATE_SINGLE, CONF_STATE_SINGLE_MARKED, conf_update_user_mute(), confbridge_user::conference, confbridge_user::kicked, confbridge_user::list, confbridge_conference::markedusers, NULL, pbx_builtin_setvar_helper(), bridge_profile::sounds, confbridge_user::u_profile, USER_OPT_ENDMARKED, USER_OPT_MARKEDUSER, USER_OPT_MUSICONHOLD, USER_OPT_QUIET, USER_OPT_WAITMARKED, confbridge_conference::waiting_list, and confbridge_conference::waitingusers.
|
static |
Definition at line 182 of file conf_state_multi_marked.c.
References ast_autoservice_start(), ast_autoservice_stop(), confbridge_conference::b_profile, confbridge_user::chan, conf_get_sound(), CONF_SOUND_BEGIN, confbridge_user::conference, play_sound_file(), and bridge_profile::sounds.
Referenced by transition_to_marked().
|
static |
Definition at line 193 of file conf_state_multi_marked.c.
References confbridge_conference::active_list, confbridge_conference::activeusers, AST_LIST_INSERT_TAIL, AST_LIST_REMOVE_CURRENT, AST_LIST_TRAVERSE_SAFE_BEGIN, AST_LIST_TRAVERSE_SAFE_END, ast_test_flag, conf_add_post_join_action(), conf_moh_stop(), conf_update_user_mute(), confbridge_user::conference, confbridge_user::list, confbridge_conference::markedusers, confbridge_user::playing_moh, post_join_play_begin(), confbridge_user::u_profile, USER_OPT_MARKEDUSER, USER_OPT_QUIET, confbridge_conference::waiting_list, and confbridge_conference::waitingusers.
struct confbridge_state* CONF_STATE_MULTI_MARKED = &STATE_MULTI_MARKED |
Conference state with multiple active users and at least one marked user.
Definition at line 59 of file conf_state_multi_marked.c.
Referenced by join_active(), and join_marked().
|
static |
Definition at line 49 of file conf_state_multi_marked.c.