conf_state_empty.c File Reference

Confbridge state handling for the EMPTY state. More...

#include "asterisk.h"
#include "asterisk/devicestate.h"
#include "include/confbridge.h"
#include "include/conf_state.h"

Include dependency graph for conf_state_empty.c:

Go to the source code of this file.

Functions

static void join_marked (struct confbridge_user *user)
static void join_unmarked (struct confbridge_user *user)
static void join_waitmarked (struct confbridge_user *user)
static void transition_to_empty (struct confbridge_user *user)

Variables

struct confbridge_stateCONF_STATE_EMPTY = &STATE_EMPTY
 Conference state with no active or waiting users.
struct confbridge_state STATE_EMPTY


Detailed Description

Confbridge state handling for the EMPTY state.

Author:
Terry Wilson <twilson@digium.com> 

Definition in file conf_state_empty.c.


Function Documentation

static void join_marked ( struct confbridge_user user  )  [static]

static void join_unmarked ( struct confbridge_user user  )  [static]

static void join_waitmarked ( struct confbridge_user user  )  [static]

static void transition_to_empty ( struct confbridge_user user  )  [static]

Definition at line 80 of file conf_state_empty.c.

References AST_DEVICE_NOT_INUSE, AST_DEVSTATE_CACHABLE, ast_devstate_changed(), conf_ended(), confbridge_user::conference, and confbridge_conference::name.

00081 {
00082    /* Set device state to "not in use" */
00083    ast_devstate_changed(AST_DEVICE_NOT_INUSE, AST_DEVSTATE_CACHABLE, "confbridge:%s", user->conference->name);
00084    conf_ended(user->conference);
00085 }


Variable Documentation

Conference state with no active or waiting users.

Definition at line 53 of file conf_state_empty.c.

Referenced by join_conference_bridge(), leave_marked(), leave_unmarked(), and leave_waitmarked().

Definition at line 45 of file conf_state_empty.c.


Generated on Thu Apr 16 06:30:21 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6