int conf_handle_only_person(struct confbridge_user *user)
Handle actions whenever an user joins an empty conference.
void conf_add_user_active(struct confbridge_conference *conference, struct confbridge_user *user)
Add a conference bridge user as an unmarked active user of the conference.
void conf_add_user_marked(struct confbridge_conference *conference, struct confbridge_user *user)
Add a conference bridge user as a marked active user of the conference.
void conf_ended(struct confbridge_conference *conference)
Callback to be called when the conference has become empty.
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_handle_first_join(struct confbridge_conference *conference)
Callback to execute any time we transition from zero to one active users.
Asterisk main include file. File version handling, generic pbx functions.
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.
Confbridge state handling.
static void transition_to_empty(struct confbridge_user *user)
static void join_unmarked(struct confbridge_user *user)
struct confbridge_state * CONF_STATE_EMPTY
Conference state with no active or waiting users.
struct confbridge_state STATE_EMPTY
static void join_marked(struct confbridge_user *user)
static void join_waitmarked(struct confbridge_user *user)
struct confbridge_state * CONF_STATE_INACTIVE
Conference state with only waiting users.
struct confbridge_state * CONF_STATE_SINGLE
Conference state with only a single unmarked active user.
struct confbridge_state * CONF_STATE_SINGLE_MARKED
Conference state with only a single marked active user.
int ast_devstate_changed(enum ast_device_state state, enum ast_devstate_cache cachable, const char *fmt,...)
Tells Asterisk the State for Device is changed.
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