Data Fields | |
int | addr |
From associated B channel: B Channel mISDN driver layer ID from mISDN_get_layerid(). | |
char | allowed_bearers [BUFFERSIZE+1] |
The "allowed_bearers" string read in from /etc/asterisk/misdn.conf. | |
ast_channel * | ast |
Associated Asterisk channel structure. | |
int | ast_dsp |
TRUE if we will use the Asterisk DSP to detect DTMF/Fax. | |
char | ast_rd_buf [4096] |
Read buffer for inbound audio from pipe[0]. | |
misdn_bchannel * | bc |
Associated B channel structure. | |
char | context [AST_MAX_CONTEXT] |
Incoming call dialplan context identifier. | |
int | dropped_frame_cnt |
Number of outgoing audio frames dropped since last debug gripe message. | |
ast_dsp * | dsp |
Allocated DSP controller. | |
int | far_alerting |
TRUE if we must do the ringback tones. | |
int | faxdetect |
Fax detection option. (0:no 1:yes 2:yes+nojump). | |
int | faxdetect_timeout |
Number of seconds to detect a Fax machine when detection enabled. | |
timeval | faxdetect_tv |
Starting time of fax detection with timeout when nonzero. | |
int | faxhandled |
TRUE if a fax has been detected. | |
ast_frame | frame |
Inbound audio frame returned by misdn_read(). | |
hold_info | hold_info |
HOLDED channel information. | |
int | ignore_dtmf |
TRUE if DTMF digits are to be passed inband only. | |
int | incoming_early_audio |
TRUE if you want to send Tone Indications to an incoming ISDN channel on a TE Port. | |
misdn_jb * | jb |
Allocated jitterbuffer controller. | |
int | jb_len |
Jitterbuffer length. | |
int | jb_upper_threshold |
Jitterbuffer upper threshold. | |
unsigned int | l3id |
From associated B channel: Layer 3 process ID. | |
char | mohinterpret [MAX_MUSICCLASS] |
The configured music-on-hold class to use for this call. | |
int | need_busy |
TRUE if we could send an AST_CONTROL_BUSY if needed. | |
int | need_hangup |
TRUE if a channel can be hung up by calling asterisk directly when done. | |
int | need_queue_hangup |
TRUE if a hangup needs to be queued. | |
chan_list * | next |
Next channel call record in the list. | |
int | noautorespond_on_setup |
TRUE of we are not to respond immediately to a SETUP message. Check the dialplan first. | |
int | norxtone |
int | notxtone |
TRUE if we are not to generate tones (Playtones). | |
int | nttimeout |
TRUE if NT should disconnect an overlap dialing call when a timeout occurs. | |
int | originator |
Who originally created this channel. ORG_AST or ORG_MISDN. | |
chan_list * | other_ch |
Bridged other channel call record. | |
int | other_pid |
Other channel call record PID. | |
int | overlap_dial |
Enables overlap dialing for the set amount of seconds. (0 = Disabled). | |
int | overlap_dial_task |
Overlap dialing timeout Task ID. -1 if not running. | |
timeval | overlap_tv |
Overlap timer start time. Timer restarted for every digit received. | |
ast_mutex_t | overlap_tv_lock |
overlap_tv access lock. | |
int | pipe [2] |
Pipe file descriptor handles array. Read from pipe[0], write to pipe[1]. | |
enum misdn_chan_state | state |
State of the channel. | |
int | toggle_ec |
TRUE if echo canceller is enabled. Value is toggled. | |
ast_trans_pvt * | trans |
Allocated audio frame sample translator. | |
tone_zone_sound * | ts |
Tone zone sound used for dialtone generation. |
Definition at line 161 of file chan_misdn.c.
int addr |
From associated B channel: B Channel mISDN driver layer ID from mISDN_get_layerid().
Definition at line 330 of file chan_misdn.c.
Referenced by cb_events(), and print_bc_info().
char allowed_bearers[BUFFERSIZE+1] |
The "allowed_bearers" string read in from /etc/asterisk/misdn.conf.
Definition at line 165 of file chan_misdn.c.
Referenced by cb_events(), and read_config().
struct ast_channel* ast |
Associated Asterisk channel structure.
Definition at line 306 of file chan_misdn.c.
Referenced by cb_events(), dialtone_indicate(), do_immediate_setup(), get_chan_by_ast(), get_chan_by_ast_name(), handle_cli_misdn_send_digit(), handle_cli_misdn_show_channel(), handle_cli_misdn_show_channels(), hangup_chan(), misdn_answer(), misdn_call(), misdn_digit_end(), misdn_fixup(), misdn_hangup(), misdn_indication(), misdn_overlap_dial_task(), misdn_request(), misdn_transfer_bc(), misdn_write(), pbx_start_chan(), print_bc_info(), process_ast_dsp(), read_config(), release_chan(), send_digit_to_chan(), stop_indicate(), and update_config().
int ast_dsp |
TRUE if we will use the Asterisk DSP to detect DTMF/Fax.
Definition at line 268 of file chan_misdn.c.
Referenced by misdn_read(), misdn_set_opt_exec(), process_ast_dsp(), and read_config().
char ast_rd_buf[4096] |
Read buffer for inbound audio from pipe[0].
Definition at line 233 of file chan_misdn.c.
Referenced by misdn_read().
struct misdn_bchannel* bc |
Associated B channel structure.
Definition at line 313 of file chan_misdn.c.
Referenced by cb_events(), chan_misdn_jb_empty(), config_jitterbuffer(), dialtone_indicate(), find_chan_by_bc(), find_chan_by_pid(), find_holded(), handle_cli_misdn_send_display(), handle_cli_misdn_send_facility(), handle_cli_misdn_show_channel(), handle_cli_misdn_show_channels(), handle_cli_misdn_toggle_echocancel(), hangup_chan(), hanguptone_indicate(), misdn_answer(), misdn_bridge(), misdn_call(), misdn_digit_end(), misdn_facility_exec(), misdn_fixup(), misdn_hangup(), misdn_indication(), misdn_overlap_dial_task(), misdn_read(), misdn_request(), misdn_send_text(), misdn_set_opt_exec(), misdn_write(), process_ast_dsp(), read_config(), release_chan(), start_bc_tones(), stop_indicate(), and update_config().
char context[AST_MAX_CONTEXT] |
Incoming call dialplan context identifier.
Definition at line 336 of file chan_misdn.c.
Referenced by cb_events(), misdn_overlap_dial_task(), and read_config().
Number of outgoing audio frames dropped since last debug gripe message.
Definition at line 349 of file chan_misdn.c.
Referenced by misdn_write().
Allocated DSP controller.
Must use ast_dsp_free() to clean up.
Definition at line 294 of file chan_misdn.c.
Referenced by process_ast_dsp(), and read_config().
int far_alerting |
TRUE if we must do the ringback tones.
Definition at line 355 of file chan_misdn.c.
Referenced by cb_events(), and read_config().
int faxdetect |
Fax detection option. (0:no 1:yes 2:yes+nojump).
It is settable by the misdn_set_opt() application.
Definition at line 245 of file chan_misdn.c.
Referenced by misdn_read(), misdn_set_opt_exec(), process_ast_dsp(), and read_config().
Number of seconds to detect a Fax machine when detection enabled.
The "faxdetect_timeout" value read in from /etc/asterisk/misdn.conf
Definition at line 252 of file chan_misdn.c.
Referenced by misdn_read(), misdn_set_opt_exec(), and read_config().
struct timeval faxdetect_tv |
Starting time of fax detection with timeout when nonzero.
Definition at line 257 of file chan_misdn.c.
Referenced by misdn_read().
int faxhandled |
TRUE if a fax has been detected.
Definition at line 262 of file chan_misdn.c.
Referenced by misdn_read(), and process_ast_dsp().
Inbound audio frame returned by misdn_read().
Definition at line 238 of file chan_misdn.c.
Referenced by misdn_read(), and misdn_write().
HOLDED channel information.
Definition at line 318 of file chan_misdn.c.
Referenced by cb_events(), find_holded(), and handle_cli_misdn_show_channels().
int ignore_dtmf |
TRUE if DTMF digits are to be passed inband only.
Definition at line 222 of file chan_misdn.c.
Referenced by cb_events(), misdn_bridge(), misdn_set_opt_exec(), and read_config().
TRUE if you want to send Tone Indications to an incoming ISDN channel on a TE Port.
Definition at line 216 of file chan_misdn.c.
Referenced by misdn_indication(), and read_config().
Allocated jitterbuffer controller.
Must use misdn_jb_destroy() to clean up.
Definition at line 287 of file chan_misdn.c.
Referenced by chan_misdn_jb_empty(), config_jitterbuffer(), and release_chan().
int jb_len |
Jitterbuffer length.
Definition at line 274 of file chan_misdn.c.
Referenced by config_jitterbuffer(), misdn_set_opt_exec(), and read_config().
Jitterbuffer upper threshold.
Definition at line 280 of file chan_misdn.c.
Referenced by config_jitterbuffer(), misdn_set_opt_exec(), and read_config().
unsigned int l3id |
From associated B channel: Layer 3 process ID.
Definition at line 324 of file chan_misdn.c.
Referenced by cb_events(), find_holded_l3(), handle_cli_misdn_show_channels(), misdn_call(), misdn_fixup(), misdn_hangup(), and print_bc_info().
char mohinterpret[MAX_MUSICCLASS] |
The configured music-on-hold class to use for this call.
Definition at line 342 of file chan_misdn.c.
Referenced by read_config().
int need_busy |
TRUE if we could send an AST_CONTROL_BUSY if needed.
Definition at line 186 of file chan_misdn.c.
Referenced by cb_events(), misdn_hangup(), and send_cause2ast().
int need_hangup |
TRUE if a channel can be hung up by calling asterisk directly when done.
Definition at line 181 of file chan_misdn.c.
Referenced by hangup_chan(), misdn_hangup(), misdn_request(), and pbx_start_chan().
TRUE if a hangup needs to be queued.
Definition at line 176 of file chan_misdn.c.
Referenced by hangup_chan(), and misdn_hangup().
Next channel call record in the list.
Definition at line 408 of file chan_misdn.c.
Referenced by cl_dequeue_chan(), cl_queue_chan(), find_chan_by_bc(), find_chan_by_pid(), find_holded(), find_holded_l3(), get_chan_by_ast(), get_chan_by_ast_name(), handle_cli_misdn_show_channel(), and handle_cli_misdn_show_channels().
TRUE of we are not to respond immediately to a SETUP message. Check the dialplan first.
Definition at line 197 of file chan_misdn.c.
Referenced by cb_events(), do_immediate_setup(), and read_config().
int norxtone |
Definition at line 199 of file chan_misdn.c.
Referenced by dialtone_indicate(), print_bc_info(), start_bc_tones(), and stop_bc_tones().
int notxtone |
TRUE if we are not to generate tones (Playtones).
Definition at line 204 of file chan_misdn.c.
Referenced by dialtone_indicate(), misdn_write(), print_bc_info(), start_bc_tones(), and stop_bc_tones().
int nttimeout |
TRUE if NT should disconnect an overlap dialing call when a timeout occurs.
Definition at line 361 of file chan_misdn.c.
Referenced by cb_events(), and read_config().
int originator |
Who originally created this channel. ORG_AST or ORG_MISDN.
Definition at line 191 of file chan_misdn.c.
Referenced by cb_events(), misdn_hangup(), misdn_indication(), misdn_set_opt_exec(), print_bc_info(), and release_chan().
Bridged other channel call record.
Definition at line 374 of file chan_misdn.c.
Referenced by import_ch(), misdn_call(), misdn_digit_end(), and misdn_indication().
int other_pid |
Other channel call record PID.
Definition at line 367 of file chan_misdn.c.
Referenced by import_ch().
int overlap_dial |
Enables overlap dialing for the set amount of seconds. (0 = Disabled).
Definition at line 386 of file chan_misdn.c.
Referenced by cb_events(), misdn_overlap_dial_task(), read_config(), and release_chan().
Overlap dialing timeout Task ID. -1 if not running.
Definition at line 391 of file chan_misdn.c.
Referenced by cb_events(), misdn_overlap_dial_task(), read_config(), and release_chan().
struct timeval overlap_tv |
Overlap timer start time. Timer restarted for every digit received.
Definition at line 401 of file chan_misdn.c.
Referenced by cb_events(), and misdn_overlap_dial_task().
overlap_tv access lock.
Definition at line 396 of file chan_misdn.c.
Referenced by cb_events(), misdn_overlap_dial_task(), read_config(), and release_chan().
int pipe[2] |
Pipe file descriptor handles array. Read from pipe[0], write to pipe[1].
Definition at line 228 of file chan_misdn.c.
Referenced by cb_events(), misdn_hangup(), misdn_new(), misdn_read(), and release_chan().
enum misdn_chan_state state |
State of the channel.
Definition at line 170 of file chan_misdn.c.
Referenced by cb_events(), do_immediate_setup(), find_holded(), find_holded_l3(), handle_cli_misdn_show_channels(), misdn_answer(), misdn_call(), misdn_digit_end(), misdn_get_ch_state(), misdn_hangup(), misdn_indication(), misdn_overlap_dial_task(), misdn_read(), misdn_transfer_bc(), misdn_write(), release_chan(), send_cause2ast(), and wait_for_digits().
int toggle_ec |
TRUE if echo canceller is enabled. Value is toggled.
Definition at line 209 of file chan_misdn.c.
Referenced by handle_cli_misdn_toggle_echocancel().
struct ast_trans_pvt* trans |
Allocated audio frame sample translator.
Must use ast_translator_free_path() to clean up.
Definition at line 301 of file chan_misdn.c.
Referenced by process_ast_dsp(), and read_config().
struct tone_zone_sound* ts |
Tone zone sound used for dialtone generation.
Definition at line 380 of file chan_misdn.c.
Referenced by dialtone_indicate(), misdn_write(), and stop_indicate().