Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Channel states. More...
#include "asterisk.h"
Go to the source code of this file.
Enumerations | |
enum | ast_channel_state { AST_STATE_DOWN , AST_STATE_RESERVED , AST_STATE_OFFHOOK , AST_STATE_DIALING , AST_STATE_RING , AST_STATE_RINGING , AST_STATE_UP , AST_STATE_BUSY , AST_STATE_DIALING_OFFHOOK , AST_STATE_PRERING , AST_STATE_MUTE = (1 << 16) } |
ast_channel states More... | |
Functions | |
int | ast_setstate (struct ast_channel *chan, enum ast_channel_state) |
Change the state of a channel. More... | |
Channel states.
Definition in file channelstate.h.
enum ast_channel_state |
ast_channel states
Definition at line 35 of file channelstate.h.
int ast_setstate | ( | struct ast_channel * | chan, |
enum | ast_channel_state | ||
) |
Change the state of a channel.
Definition at line 7408 of file channel.c.
References ast_channel_flags(), AST_CHANNEL_NAME, ast_channel_name(), ast_channel_publish_snapshot(), ast_channel_state_set(), ast_copy_string(), AST_DEVICE_UNKNOWN, AST_DEVSTATE_CACHABLE, ast_devstate_changed_literal(), AST_DEVSTATE_NOT_CACHABLE, AST_FLAG_DISABLE_DEVSTATE_CACHE, ast_test_flag, and name.
Referenced by __analog_handle_event(), __analog_ss_thread(), __ast_read(), __dahdi_exception(), analog_answer(), analog_call(), analog_exception(), analog_ss_thread(), ast_raw_answer_with_stream_topology(), AST_TEST_DEFINE(), chan_pjsip_answer(), chan_pjsip_incoming_response(), console_answer(), dahdi_answer(), dahdi_call(), dahdi_handle_event(), dahdi_indicate(), dahdi_read(), handle_response_ciev(), iax2_call(), indicate_busy(), indicate_congestion(), jingle_action_session_info(), jingle_action_session_initiate(), jingle_call(), mbl_hangup(), my_set_waitingfordt(), onAlerting(), onProgress(), ooh323_answer(), ooh323_new(), refer_incoming_invite_request(), unistim_answer(), unistim_call(), unistim_new(), unistim_ss(), and unreal_queue_frame().