Sat Oct 11 06:50:24 2008

Asterisk developer's documentation


channel.h File Reference

General Asterisk PBX channel definitions. More...

#include <unistd.h>
#include <setjmp.h>
#include <sys/poll.h>
#include "asterisk/compat.h"
#include "asterisk/frame.h"
#include "asterisk/sched.h"
#include "asterisk/chanvars.h"
#include "asterisk/config.h"
#include "asterisk/lock.h"
#include "asterisk/cdr.h"
#include "asterisk/utils.h"
#include "asterisk/linkedlists.h"

Include dependency graph for channel.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ast_bridge_config
struct  ast_callerid
struct  ast_channel
struct  ast_channel_tech
struct  ast_generator
struct  outgoing_helper

Defines

#define AST_ADSI_AVAILABLE   (1)
#define AST_ADSI_OFFHOOKONLY   (3)
#define AST_ADSI_UNAVAILABLE   (2)
#define AST_ADSI_UNKNOWN   (0)
#define AST_BRIDGE_DTMF_CHANNEL_0   (1 << 0)
#define AST_BRIDGE_DTMF_CHANNEL_1   (1 << 1)
#define AST_BRIDGE_IGNORE_SIGS   (1 << 4)
#define AST_BRIDGE_REC_CHANNEL_0   (1 << 2)
#define AST_BRIDGE_REC_CHANNEL_1   (1 << 3)
#define AST_CDR_CALLWAIT   (1 << 2)
#define AST_CDR_CONFERENCE   (1 << 3)
#define AST_CDR_FORWARD   (1 << 1)
#define AST_CDR_TRANSFER   (1 << 0)
#define AST_CHANNEL_NAME   80
#define AST_FEATURE_ATXFER   (1 << 3)
#define AST_FEATURE_AUTOMON   (1 << 4)
#define AST_FEATURE_DISCONNECT   (1 << 2)
#define AST_FEATURE_FLAG_CALLEE   (1 << 1)
#define AST_FEATURE_FLAG_CALLER   (1 << 2)
#define AST_FEATURE_FLAG_NEEDSDTMF   (1 << 0)
#define AST_FEATURE_PLAY_WARNING   (1 << 0)
#define AST_FEATURE_REDIRECT   (1 << 1)
#define AST_MAX_CONTEXT   80
#define AST_MAX_EXTENSION   80
#define AST_MAX_FDS   8
#define AST_SOFTHANGUP_APPUNLOAD   (1 << 4)
#define AST_SOFTHANGUP_ASYNCGOTO   (1 << 1)
#define AST_SOFTHANGUP_DEV   (1 << 0)
#define AST_SOFTHANGUP_EXPLICIT   (1 << 5)
#define AST_SOFTHANGUP_SHUTDOWN   (1 << 2)
#define AST_SOFTHANGUP_TIMEOUT   (1 << 3)
#define AST_SOFTHANGUP_UNBRIDGE   (1 << 6)
#define AST_STATE_BUSY   7
#define AST_STATE_DIALING   3
#define AST_STATE_DIALING_OFFHOOK   8
#define AST_STATE_DOWN   0
#define AST_STATE_MUTE   (1 << 16)
#define AST_STATE_OFFHOOK   2
#define AST_STATE_PRERING   9
#define AST_STATE_RESERVED   1
#define AST_STATE_RING   4
#define AST_STATE_RINGING   5
#define AST_STATE_UP   6
#define ast_strdupa(s)
#define CHECK_BLOCKING(c)
#define CRASH   do { } while(0)
#define LOAD_OH(oh)
#define MAX_LANGUAGE   20
#define MAX_MUSICCLASS   20
#define AST_CHAN_TP_WANTSJITTER   (1 << 0)
#define AST_FLAG_BLOCKING   (1 << 3)
#define AST_FLAG_DEFER_DTMF   (1 << 1)
#define AST_FLAG_EXCEPTION   (1 << 5)
#define AST_FLAG_IN_AUTOLOOP   (1 << 9)
#define AST_FLAG_MOH   (1 << 6)
#define AST_FLAG_NBRIDGE   (1 << 8)
#define AST_FLAG_NOTNEW   (1 << 10)
#define AST_FLAG_SPYING   (1 << 7)
#define AST_FLAG_WRITE_INT   (1 << 2)
#define AST_FLAG_ZOMBIE   (1 << 4)

Typedefs

typedef unsigned long long ast_group_t

Enumerations

enum  ast_bridge_result { AST_BRIDGE_COMPLETE = 0, AST_BRIDGE_FAILED = -1, AST_BRIDGE_FAILED_NOWARN = -2, AST_BRIDGE_RETRY = -3 }

Functions

ast_channel__ast_request_and_dial (const char *type, int format, void *data, int timeout, int *reason, const char *cidnum, const char *cidname, struct outgoing_helper *oh)
int ast_activate_generator (struct ast_channel *chan, struct ast_generator *gen, void *params)
int ast_active_channels (void)
int ast_answer (struct ast_channel *chan)
 Answer a ringing call.
int ast_autoservice_start (struct ast_channel *chan)
int ast_autoservice_stop (struct ast_channel *chan)
void ast_begin_shutdown (int hangup)
int ast_best_codec (int fmts)
ast_channelast_bridged_channel (struct ast_channel *chan)
 Find bridged channel.
int ast_call (struct ast_channel *chan, char *addr, int timeout)
 Make a call.
void ast_cancel_shutdown (void)
const char * ast_cause2str (int state)
void ast_change_name (struct ast_channel *chan, char *newname)
 Change channel name.
ast_channelast_channel_alloc (int needalertpipe)
 Create a channel structure.
int ast_channel_bridge (struct ast_channel *c0, struct ast_channel *c1, struct ast_bridge_config *config, struct ast_frame **fo, struct ast_channel **rc)
int ast_channel_cmpwhentohangup (struct ast_channel *chan, time_t offset)
 Compare a offset with the settings of when to hang a channel up.
int ast_channel_defer_dtmf (struct ast_channel *chan)
void ast_channel_free (struct ast_channel *)
 Free a channel structure.
void ast_channel_inherit_variables (const struct ast_channel *parent, struct ast_channel *child)
 Inherits channel variable from parent to child channel.
int ast_channel_make_compatible (struct ast_channel *c0, struct ast_channel *c1)
int ast_channel_masquerade (struct ast_channel *original, struct ast_channel *clone)
ast_frameast_channel_queryoption (struct ast_channel *channel, int option, void *data, int *datalen, int block)
int ast_channel_register (const struct ast_channel_tech *tech)
 Register a channel technology (a new channel driver) Called by a channel module to register the kind of channels it supports.
int ast_channel_sendhtml (struct ast_channel *channel, int subclass, const char *data, int datalen)
int ast_channel_sendurl (struct ast_channel *channel, const char *url)
int ast_channel_setoption (struct ast_channel *channel, int option, void *data, int datalen, int block)
void ast_channel_setwhentohangup (struct ast_channel *chan, time_t offset)
 Set when to hang a channel up.
ast_silence_generatorast_channel_start_silence_generator (struct ast_channel *chan)
 Starts a silence generator on the given channel.
void ast_channel_stop_silence_generator (struct ast_channel *chan, struct ast_silence_generator *state)
 Stops a previously-started silence generator on the given channel.
int ast_channel_supports_html (struct ast_channel *channel)
void ast_channel_undefer_dtmf (struct ast_channel *chan)
void ast_channel_unregister (const struct ast_channel_tech *tech)
 Unregister a channel technology.
ast_channelast_channel_walk_locked (const struct ast_channel *prev)
int ast_check_hangup (struct ast_channel *chan)
 Check to see if a channel is needing hang up.
void ast_deactivate_generator (struct ast_channel *chan)
int ast_do_masquerade (struct ast_channel *chan)
 Start masquerading a channel XXX This is a seriously wacked out operation. We're essentially putting the guts of the clone channel into the original channel. Start by killing off the original channel's backend. I'm not sure we're going to keep this function, because while the features are nice, the cost is very high in terms of pure nastiness. XXX.
static int ast_fdisset (struct pollfd *pfds, int fd, int max, int *start)
ast_channelast_get_channel_by_exten_locked (const char *exten, const char *context)
ast_channelast_get_channel_by_name_locked (const char *chan)
ast_channelast_get_channel_by_name_prefix_locked (const char *name, const int namelen)
ast_channel_techast_get_channel_tech (const char *name)
 Get a channel technology structure by name.
ast_group_t ast_get_group (char *s)
int ast_hangup (struct ast_channel *chan)
 Hang up a channel.
int ast_indicate (struct ast_channel *chan, int condition)
 Indicates condition of channel.
char * ast_print_group (char *buf, int buflen, ast_group_t group)
int ast_prod (struct ast_channel *chan)
int ast_queue_control (struct ast_channel *chan, int control)
 Queue a control frame.
int ast_queue_frame (struct ast_channel *chan, struct ast_frame *f)
 Queue an outgoing frame.
int ast_queue_hangup (struct ast_channel *chan)
 Queue a hangup frame.
ast_frameast_read (struct ast_channel *chan)
int ast_readstring (struct ast_channel *c, char *s, int len, int timeout, int rtimeout, char *enders)
int ast_readstring_full (struct ast_channel *c, char *s, int len, int timeout, int rtimeout, char *enders, int audiofd, int ctrlfd)
int ast_recvchar (struct ast_channel *chan, int timeout)
char * ast_recvtext (struct ast_channel *chan, int timeout)
ast_channelast_request (const char *type, int format, void *data, int *status)
 Requests a channel.
ast_channelast_request_and_dial (const char *type, int format, void *data, int timeout, int *reason, const char *cidnum, const char *cidname)
 Request a channel of a given type, with data as optional information used by the low level module and attempt to place a call on it.
int ast_safe_sleep (struct ast_channel *chan, int ms)
 Wait for a specied amount of time, looking for hangups.
int ast_safe_sleep_conditional (struct ast_channel *chan, int ms, int(*cond)(void *), void *data)
 Wait for a specied amount of time, looking for hangups and a condition argument.
static int ast_select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tvp)
 Waits for activity on a group of channels.
int ast_senddigit (struct ast_channel *chan, char digit)
int ast_sendtext (struct ast_channel *chan, const char *text)
void ast_set_callerid (struct ast_channel *chan, const char *cidnum, const char *cidname, const char *ani)
int ast_set_read_format (struct ast_channel *chan, int format)
void ast_set_variables (struct ast_channel *chan, struct ast_variable *vars)
 adds a list of channel variables to a channel
int ast_set_write_format (struct ast_channel *chan, int format)
int ast_setstate (struct ast_channel *chan, int state)
 Change the state of a channel.
int ast_settimeout (struct ast_channel *c, int samples, int(*func)(void *data), void *data)
int ast_shutting_down (void)
int ast_softhangup (struct ast_channel *chan, int cause)
 Softly hangup up a channel.
int ast_softhangup_nolock (struct ast_channel *chan, int cause)
 Softly hangup up a channel (no channel lock).
char * ast_state2str (int state)
int ast_tonepair (struct ast_channel *chan, int freq1, int freq2, int duration, int vol)
int ast_tonepair_start (struct ast_channel *chan, int freq1, int freq2, int duration, int vol)
void ast_tonepair_stop (struct ast_channel *chan)
int ast_transfer (struct ast_channel *chan, char *dest)
 Transfer a channel (if supported). Returns -1 on error, 0 if not supported and 1 if supported and requested.
char * ast_transfercapability2str (int transfercapability)
int ast_waitfor (struct ast_channel *chan, int ms)
 Wait for input on a channel.
ast_channelast_waitfor_n (struct ast_channel **chan, int n, int *ms)
int ast_waitfor_n_fd (int *fds, int n, int *ms, int *exception)
ast_channelast_waitfor_nandfds (struct ast_channel **chan, int n, int *fds, int nfds, int *exception, int *outfd, int *ms)
 Waits for activity on a group of channels.
int ast_waitfordigit (struct ast_channel *c, int ms)
int ast_waitfordigit_full (struct ast_channel *c, int ms, int audiofd, int ctrlfd)
ast_channelast_walk_channel_by_name_prefix_locked (struct ast_channel *chan, const char *name, const int namelen)
int ast_write (struct ast_channel *chan, struct ast_frame *frame)
int ast_write_video (struct ast_channel *chan, struct ast_frame *frame)


Detailed Description

General Asterisk PBX channel definitions.

See also:

Definition in file channel.h.


Define Documentation

#define AST_ADSI_AVAILABLE   (1)

Definition at line 496 of file channel.h.

Referenced by __adsi_transmit_messages(), and adsi_available().

#define AST_ADSI_OFFHOOKONLY   (3)

Definition at line 498 of file channel.h.

#define AST_ADSI_UNAVAILABLE   (2)

Definition at line 497 of file channel.h.

Referenced by __adsi_transmit_messages(), mgcp_new(), sip_new(), skinny_new(), and zt_new().

#define AST_ADSI_UNKNOWN   (0)

Definition at line 495 of file channel.h.

Referenced by adsi_available().

#define AST_BRIDGE_DTMF_CHANNEL_0   (1 << 0)

Report DTMF on channel 0

Definition at line 872 of file channel.h.

Referenced by ast_generic_bridge(), ast_rtp_bridge(), iax2_bridge(), misdn_bridge(), monitor_handle_owned(), set_config_flags(), vpb_bridge(), and zt_bridge().

#define AST_BRIDGE_DTMF_CHANNEL_1   (1 << 1)

Report DTMF on channel 1

Definition at line 874 of file channel.h.

Referenced by ast_generic_bridge(), ast_rtp_bridge(), iax2_bridge(), misdn_bridge(), monitor_handle_owned(), set_config_flags(), vpb_bridge(), and zt_bridge().

#define AST_BRIDGE_IGNORE_SIGS   (1 << 4)

Ignore all signal frames except NULL

Definition at line 880 of file channel.h.

Referenced by monitor_handle_owned().

#define AST_BRIDGE_REC_CHANNEL_0   (1 << 2)

Return all voice frames on channel 0

Definition at line 876 of file channel.h.

Referenced by do_chanreads().

#define AST_BRIDGE_REC_CHANNEL_1   (1 << 3)

Return all voice frames on channel 1

Definition at line 878 of file channel.h.

Referenced by do_chanreads().

#define AST_CDR_CALLWAIT   (1 << 2)

Definition at line 492 of file channel.h.

Referenced by zt_request().

#define AST_CDR_CONFERENCE   (1 << 3)

Definition at line 493 of file channel.h.

#define AST_CDR_FORWARD   (1 << 1)

Definition at line 491 of file channel.h.

#define AST_CDR_TRANSFER   (1 << 0)

Definition at line 490 of file channel.h.

#define AST_CHAN_TP_WANTSJITTER   (1 << 0)

Definition at line 422 of file channel.h.

#define AST_CHANNEL_NAME   80

Definition at line 106 of file channel.h.

Referenced by ast_channel_free(), ast_parse_device_state(), page_exec(), and softhangup_exec().

#define AST_FEATURE_ATXFER   (1 << 3)

Definition at line 444 of file channel.h.

#define AST_FEATURE_AUTOMON   (1 << 4)

Definition at line 445 of file channel.h.

Referenced by dial_exec_full(), and try_calling().

#define AST_FEATURE_DISCONNECT   (1 << 2)

Definition at line 443 of file channel.h.

Referenced by builtin_atxfer(), dial_exec_full(), and try_calling().

#define AST_FEATURE_FLAG_CALLEE   (1 << 1)

Definition at line 448 of file channel.h.

Referenced by feature_exec_app(), load_config(), and set_config_flags().

#define AST_FEATURE_FLAG_CALLER   (1 << 2)

Definition at line 449 of file channel.h.

Referenced by load_config(), and set_config_flags().

#define AST_FEATURE_FLAG_NEEDSDTMF   (1 << 0)

Definition at line 447 of file channel.h.

Referenced by load_config(), and set_config_flags().

#define AST_FEATURE_PLAY_WARNING   (1 << 0)

Definition at line 441 of file channel.h.

Referenced by ast_channel_bridge(), and dial_exec_full().

#define AST_FEATURE_REDIRECT   (1 << 1)

Definition at line 442 of file channel.h.

Referenced by ast_channel_bridge(), dial_exec_full(), park_exec(), and try_calling().

#define AST_FLAG_BLOCKING   (1 << 3)

if we are blocking

Definition at line 428 of file channel.h.

Referenced by agent_new(), ast_autoservice_stop(), ast_hangup(), ast_queue_frame(), ast_sendtext(), ast_serialize_showchan(), ast_softhangup_nolock(), ast_waitfor_nandfds(), ast_write(), handle_showchan(), phone_read(), and zt_read().

#define AST_FLAG_DEFER_DTMF   (1 << 1)

if dtmf should be deferred

Definition at line 426 of file channel.h.

Referenced by ast_channel_defer_dtmf(), ast_channel_undefer_dtmf(), and ast_read().

#define AST_FLAG_EXCEPTION   (1 << 5)

if there is a pending exception

Definition at line 430 of file channel.h.

Referenced by agent_read(), ast_read(), ast_waitfor_nandfds(), do_parking_thread(), and zt_read().

#define AST_FLAG_IN_AUTOLOOP   (1 << 9)

the channel is in an auto-incrementing dialplan processor, so when ->priority is set, it will get incremented before finding the next priority to run

Definition at line 434 of file channel.h.

Referenced by __ast_pbx_run(), ast_explicit_goto(), and macro_exec().

#define AST_FLAG_MOH   (1 << 6)

XXX anthm promises me this will disappear XXX listening to moh

Definition at line 431 of file channel.h.

Referenced by local_ast_moh_start(), local_ast_moh_stop(), moh_on_off(), and retrydial_exec().

#define AST_FLAG_NBRIDGE   (1 << 8)

is it in a native bridge

Definition at line 433 of file channel.h.

Referenced by ast_channel_bridge(), start_spying(), and startmon().

#define AST_FLAG_NOTNEW   (1 << 10)

see bug:7855 incorrect Newchannel event generation

Definition at line 438 of file channel.h.

Referenced by ast_request(), and ast_setstate().

#define AST_FLAG_SPYING   (1 << 7)

XXX might also go away XXX is spying on someone

Definition at line 432 of file channel.h.

Referenced by chanspy_exec().

#define AST_FLAG_WRITE_INT   (1 << 2)

if write should be interrupt generator

Definition at line 427 of file channel.h.

Referenced by ast_deactivate_generator(), ast_write(), linear_alloc(), playtones_alloc(), and tonepair_alloc().

#define AST_FLAG_ZOMBIE   (1 << 4)

if we are a zombie

Definition at line 429 of file channel.h.

Referenced by app_exec(), ast_answer(), ast_call(), ast_channel_bridge(), ast_hangup(), ast_indicate(), ast_read(), ast_readstring(), ast_readstring_full(), ast_sendtext(), ast_transfer(), ast_waitfordigit(), ast_waitfordigit_full(), ast_write(), and check_availability().

#define AST_MAX_CONTEXT   80

Definition at line 104 of file channel.h.

Referenced by conf_run(), macro_exec(), and try_calling().

#define AST_MAX_EXTENSION   80

Max length of an extension

Definition at line 102 of file channel.h.

Referenced by advanced_options(), ast_cdr_init(), ast_cdr_setcid(), ast_cdr_update(), ast_device_state_changed(), ast_extension_state2(), ast_hint_state_changed(), ast_ivr_menu_run_internal(), ast_park_call(), ast_waitstream_exten(), conf_exec(), conf_run(), dial_exec_full(), disa_exec(), do_parking_thread(), dundi_lookup_local(), fillin_process(), find_conf(), forward_message(), get_destination(), gosub_exec(), load_config(), mgcp_ss(), monitor_handle_notowned(), park_exec(), phone_check_exception(), realtime_switch_common(), show_dialplan_helper(), skinny_ss(), ss_thread(), transmit_state_notify(), try_calling(), vm_authenticate(), vmauthenticate(), and wait_for_answer().

#define AST_MAX_FDS   8

Definition at line 122 of file channel.h.

Referenced by agent_read(), ast_channel_alloc(), ast_read(), ast_waitfor_nandfds(), do_parking_thread(), restore_channel(), and update_features().

#define AST_SOFTHANGUP_APPUNLOAD   (1 << 4)

Definition at line 504 of file channel.h.

Referenced by __unload_module(), and unload_module().

#define AST_SOFTHANGUP_ASYNCGOTO   (1 << 1)

Soft hangup for async goto

Definition at line 501 of file channel.h.

Referenced by __ast_pbx_run(), ast_async_goto(), and macro_exec().

#define AST_SOFTHANGUP_DEV   (1 << 0)

Soft hangup by device

Definition at line 500 of file channel.h.

Referenced by __oh323_update_info(), ast_dsp_process(), ast_queue_hangup(), ast_read(), ast_write(), attempt_transfer(), cleanup_connection(), do_monitor(), function_ilink(), handle_link_data(), hangup_connection(), iax2_destroy(), iax2_predestroy(), oh323_indicate(), rpt(), rpt_call(), sip_indicate(), skinny_indicate(), zt_handle_event(), and zt_indicate().

#define AST_SOFTHANGUP_EXPLICIT   (1 << 5)

Definition at line 505 of file channel.h.

Referenced by __login_exec(), action_hangup(), agent_hangup(), agent_logoff(), handle_hangup(), handle_softhangup(), read_agent_config(), softhangup_exec(), and zt_handle_event().

#define AST_SOFTHANGUP_SHUTDOWN   (1 << 2)

Definition at line 502 of file channel.h.

Referenced by ast_begin_shutdown().

#define AST_SOFTHANGUP_TIMEOUT   (1 << 3)

Definition at line 503 of file channel.h.

Referenced by __ast_pbx_run(), ast_check_hangup(), and ast_waitfor_nandfds().

#define AST_SOFTHANGUP_UNBRIDGE   (1 << 6)

Definition at line 506 of file channel.h.

Referenced by ast_channel_bridge(), start_spying(), and startmon().

#define ast_strdupa (  ) 

Definition at line 1174 of file channel.h.

Referenced by __login_exec(), _while_exec(), acf_curl_exec(), acf_strftime(), acf_vmcount_exec(), action_agents(), action_getvar(), add_agent(), admin_exec(), advanced_options(), app_exec(), append_mailbox(), apply_options(), aqm_exec(), ast_callerid_split(), ast_device_state(), ast_device_state_changed_literal(), ast_feature_interpret(), ast_filehelper(), ast_func_read(), ast_func_write(), ast_get_group(), ast_monitor_start(), ast_netsock_bind(), ast_osp_validate(), ast_parse_allow_disallow(), ast_parseable_goto(), ast_play_and_prepend(), ast_play_and_record_full(), ast_playtones_start(), ast_register_file_version(), ast_writefile(), astman_get_variables(), authenticate_verify(), background_detect_exec(), build_mapping(), build_peer(), build_user(), builtin_automonitor(), builtin_function_cdr_read(), builtin_function_cdr_write(), builtin_function_checkmd5(), builtin_function_if(), builtin_function_iftime(), builtin_function_math(), builtin_function_regex(), builtin_function_set(), cache_get_callno_locked(), chanavail_exec(), changethread(), channel_spy(), chanspy_exec(), check_access(), check_user_full(), complete_confcmd(), conf_exec(), conf_run(), controlplayback_exec(), count_exec(), create_addr(), curl_exec(), cut_exec(), cut_internal(), decrypt_frame(), del_exec(), deltree_exec(), dial_exec_full(), dictate_exec(), directory_exec(), disa_exec(), do_parking_thread(), dundi_lookup_exec(), dundifunc_read(), enumlookup_exec(), eval_exec(), exec_exec(), execif_exec(), features_alloc(), festival_exec(), find_conf(), find_sdp(), function_db_exists(), function_db_read(), function_db_write(), function_fieldqty(), function_iaxpeer(), function_sippeer(), get_exec(), get_group(), get_refer_info(), get_wait_interval(), gosubif_exec(), group_check_exec(), handle_save_dialplan(), handle_show_dialplan(), hasvoicemail_exec(), iax2_call(), iax2_devicestate(), iax2_prov_app(), iax2_request(), ind_load_module(), ivr_dispatch(), launch_monitor_thread(), launch_netscript(), load_config(), macro_exec(), macroif_exec(), math_exec(), md5_exec(), md5check_exec(), mixmonitor_exec(), notify_new_message(), ospfinished_exec(), osplookup_exec(), ospnext_exec(), page_exec(), parse_sip_options(), pbx_builtin_background(), pbx_builtin_execiftime(), pbx_builtin_gotoif(), pbx_builtin_gotoiftime(), pbx_builtin_importvar(), pbx_builtin_resetcdr(), pbx_builtin_setvar(), pbx_builtin_waitexten(), peer_set_srcaddr(), play_message(), playback_exec(), pqm_exec(), privacy_exec(), process_sdp(), put_exec(), random_exec(), read_exec(), readfile_exec(), realtime_exec(), realtime_multi_odbc(), realtime_update_exec(), record_exec(), register_verify(), reload_config(), retrydial_exec(), rpt_tele_thread(), rqm_exec(), sayunixtime_exec(), send_tone_telemetry(), senddtmf_exec(), sendimage_exec(), sendtext_exec(), sendurl_exec(), set_config_flags(), setcallerid_exec(), setrdnis_exec(), settransfercapability_exec(), sip_devicestate(), sip_getheader(), sip_sipredirect(), softhangup_exec(), sort_exec(), sort_internal(), start_monitor_exec(), telem_lookup(), transfer_exec(), transmit_invite(), txtcidname_exec(), upqm_exec(), userevent_exec(), verbose_exec(), vm_box_exists(), vm_exec(), vm_execmain(), vmauthenticate(), zapras_exec(), and zt_request().

#define CHECK_BLOCKING (  ) 

Definition at line 1190 of file channel.h.

Referenced by ast_sendtext(), ast_waitfor_nandfds(), ast_write(), phone_read(), and zt_read().

#define CRASH   do { } while(0)

Definition at line 1187 of file channel.h.

Referenced by