72 if (
user->playing_moh) {
79 ast_debug(1,
"Changing conference '%s' state from %s to %s\n",
user->conference->name,
user->conference->state->name, newstate->
name);
81 user->conference->name,
82 user->conference->state->name,
84 if (
user->conference->state->exit) {
87 user->conference->state = newstate;
88 if (
user->conference->state->entry) {
89 user->conference->state->entry(
user);
void conf_moh_stop(struct confbridge_user *user)
Stop MOH for the conference user.
int conf_handle_inactive_waitmarked(struct confbridge_user *user)
Handle actions every time a waitmarked user joins w/o a marked user present.
void conf_add_user_waiting(struct confbridge_conference *conference, struct confbridge_user *user)
Add a conference bridge user as an waiting user of the conference.
void conf_remove_user_waiting(struct confbridge_conference *conference, struct confbridge_user *user)
Remove a conference bridge user from the waiting conference users in the conference.
void conf_update_user_mute(struct confbridge_user *user)
Update the actual mute status of the user and set it on the bridge.
int conf_add_post_join_action(struct confbridge_user *user, int(*func)(struct confbridge_user *user))
Queue a function to run with the given conference bridge user as an argument once the state transitio...
void conf_moh_start(struct confbridge_user *user)
Start MOH for the conference user.
Asterisk main include file. File version handling, generic pbx functions.
void conf_default_leave_waitmarked(struct confbridge_user *user)
Logic to execute every time a waitmarked user leaves an unmarked conference.
void conf_change_state(struct confbridge_user *user, struct confbridge_state *newstate)
Execute conference state transition because of a user action.
void conf_default_join_waitmarked(struct confbridge_user *user)
Logic to execute every time a waitmarked user joins an unmarked conference.
void conf_invalid_event_fn(struct confbridge_user *user)
A handler for join/leave events that are invalid in a particular state.
static void conf_mute_moh_inactive_waitmarked(struct confbridge_user *user)
Confbridge state handling.
Support for logging to various files, console and syslog Configuration in file logger....
#define ast_debug(level,...)
Log a DEBUG message.
A conference state object to hold the various state callback functions.
The structure that represents a conference bridge user.
structure to hold users read from users.conf
#define ast_test_suite_event_notify(s, f,...)
#define ast_test_flag(p, flag)