static void join_waitmarked(struct conference_bridge_user *cbu)
{
	conf_default_join_waitmarked(cbu);
	conf_handle_first_join(cbu->conference_bridge);

	conf_change_state(cbu, CONF_STATE_INACTIVE);
}
static void join_marked(struct conference_bridge_user *cbu)
{
	conf_add_user_marked(cbu->conference_bridge, cbu);
	conf_handle_first_join(cbu->conference_bridge);

	conf_change_state(cbu, CONF_STATE_SINGLE_MARKED);
}
Beispiel #3
0
static void leave_waitmarked(struct confbridge_user *user)
{
	conf_default_leave_waitmarked(user);
	if (user->conference->waitingusers == 0) {
		conf_change_state(user, CONF_STATE_EMPTY);
	}
}
Beispiel #4
0
static void join_marked(struct confbridge_user *user)
{
	conf_add_user_marked(user->conference, user);
	conf_update_user_mute(user);

	conf_change_state(user, CONF_STATE_MULTI_MARKED);
}
Beispiel #5
0
static void join_unmarked(struct confbridge_user *user)
{
	conf_add_user_active(user->conference, user);
	conf_add_post_join_action(user, conf_handle_only_unmarked);

	conf_change_state(user, CONF_STATE_SINGLE);
}
Beispiel #6
0
static void join_marked(struct confbridge_user *user)
{
	conf_add_user_marked(user->conference, user);
	conf_handle_second_active(user->conference);

	conf_change_state(user, CONF_STATE_MULTI_MARKED);
}
static void join_unmarked(struct conference_bridge_user *cbu)
{
	conf_add_user_active(cbu->conference_bridge, cbu);
	conf_handle_first_join(cbu->conference_bridge);
	conf_add_post_join_action(cbu, conf_handle_only_unmarked);

	conf_change_state(cbu, CONF_STATE_SINGLE);
}