#include <isdn_lib.h>
Data Fields | |
int | active |
Seems to have been intended for something to do with the jitter buffer. | |
int | addr |
B Channel mISDN driver layer ID from mISDN_get_layerid(). | |
union { | |
FacAOCDChargingUnit chargingUnit | |
FacAOCDCurrency currency | |
} | AOCD |
enum FacFunction | AOCDtype |
void * | astbuf |
Not used. Contents are setup but not used. | |
int | b_stid |
B Channel mISDN driver stack ID. | |
enum bchannel_state | bc_state |
Current B Channel state. | |
char * | bframe |
B channel speech sample data buffer. | |
int | bframe_len |
B channel speech sample data buffer size. | |
char | cad [32] |
Connected Party/Line Phone Number (Address). | |
int | capability |
SETUP message bearer capability field code value. | |
int | cause |
Q.931 Cause for disconnection code (received). | |
int | ces |
Not used. Saved mISDN stack CONNECT_t ces value. | |
int | channel |
Assigned B channel number B1, B2... 0 if not assigned. | |
int | channel_found |
TRUE if the channel was allocated from the available B channels. | |
int | channel_preselected |
TRUE if the B channel number is preselected. | |
int | conf_id |
Bridging conference ID. | |
enum mISDN_NUMBER_PLAN | cpnnumplan |
Type-of-number in ISDN terms for the connected party number. | |
int | crypt |
char | crypt_key [255] |
Blowfish encryption key string (secret). | |
int | crypt_state |
int | curprx |
int | curptx |
int | cw |
TRUE if call waiting. | |
char | dad [32] |
Dialed/Called Phone Number (Address). | |
int | dec |
TRUE if allocate higher B channels first. | |
char | display [84] |
Display message that can be displayed by the user phone. | |
enum mISDN_NUMBER_PLAN | dnumplan |
Type-of-number in ISDN terms for the dialed/called number. | |
int | dtmf |
Last decoded DTMF digit from mISDN driver. | |
int | dummy |
TRUE if this is a dummy BC record. | |
int | early_bconnect |
TRUE if the call progress indicators can indicate an inband audio message for the user to listen to. | |
int | ec_deftaps |
Number of taps in the echo cancellor when enabled. | |
int | ec_enable |
TRUE if the echo cancellor is enabled. | |
enum event_e | evq |
Event waiting for Layer 1 to come up. | |
FacParm | fac_in |
Inbound FACILITY message function type and contents. | |
FacParm | fac_out |
Outbound FACILITY message function type and contents. | |
int | generate_tone |
TRUE if tone generator allowed to start. | |
int | hdlc |
TRUE if call made in digital HDLC mode. | |
int | holded |
TRUE if this channel is on hold. | |
int | in_use |
TRUE if B channel record is in use. | |
char | info_dad [64] |
Current overlap dialing digits to/from INFORMATION messages. | |
char | infos_pending [64] |
Collected digits to go into info_dad[] while waiting for a SETUP_ACKNOWLEDGE to come in. | |
char | keypad [32] |
Q.931 Keypad Facility IE contents. | |
int | l3_id |
Layer 3 process ID. | |
timeval | last_used |
Time when empty_bc() last called on this record. | |
int | law |
Companding ALaw/uLaw encoding (INFO_CODEC_ALAW / INFO_CODEC_ULAW). | |
int | layer |
B channel layer; set to 3 or 4. | |
int | layer_id |
B Channel mISDN driver layer ID from mISDN_new_layer(). | |
void * | misdnbuf |
int | mode |
Q.931 Bearer Capability IE Transfer Mode field. Initialized to 0 (Circuit). Altered by incoming SETUP messages. | |
char | msn [32] |
Not used. Contents are setup but not used. | |
int | need_disconnect |
TRUE if DISCONNECT needs to be sent to clear a call. | |
int | need_more_infos |
TRUE if we send SETUP_ACKNOWLEDGE on incoming calls anyway (instead of PROCEEDING). | |
int | need_release |
TRUE if RELEASE needs to be sent to clear a call. | |
int | need_release_complete |
TRUE if RELEASE_COMPLETE needs to be sent to clear a call. | |
misdn_bchannel * | next |
Next node in the misdn_stack.holding list. | |
enum bchannel_state | next_bc_state |
This is used as a pending bridge join request for when bc_state becomes BCHAN_ACTIVATED. | |
int | nodsp |
TRUE if we will not use jollys dsp. | |
int | nojitter |
TRUE if we will not use the jitter buffer system. | |
int | nt |
TRUE if NT side of protocol (TE otherwise). | |
char | oad [32] |
Originating/Calling Phone Number (Address). | |
enum mISDN_NUMBER_PLAN | onumplan |
Type-of-number in ISDN terms for the originating/calling number (Caller-ID). | |
int | orig |
Who originated the call (ORG_AST, ORG_MISDN). | |
char | orig_dad [32] |
Original Dialed/Called Phone Number (Address) before national/international dialing prefix added. | |
int | out_cause |
Q.931 Cause for disconnection code (sent). | |
int | pid |
B channel process ID (1-5000). | |
int | port |
Logical Layer 1 port associated with this B channel. | |
int | pres |
Caller ID presentation restriction code 0=Allowed, 1=Restricted, 2=Unavailable. | |
int | pri |
TRUE if ISDN-PRI (ISDN-BRI otherwise). | |
int | progress_coding |
Progress Indicator IE coding standard field. | |
int | progress_indicator |
Progress Indicator IE progress description field. Used to determine if there is an inband audio message present. | |
int | progress_location |
Progress Indicator IE location field. | |
char | rad [32] |
Redirecting Phone Number (Address) where a call diversion or transfer was invoked. | |
int | rate |
Q.931 Bearer Capability IE Information Transfer Rate field. Initialized to 0x10 (64kbit). Altered by incoming SETUP messages. | |
int | restart_channel |
B channel to restart if received a RESTART message. | |
enum mISDN_NUMBER_PLAN | rnumplan |
Type-of-number in ISDN terms for the redirecting number which a call diversion or transfer was invoked. | |
int | rxgain |
Rx gain setting (range -8 to 8). | |
int | screen |
Caller ID screening code 0=Unscreened, 1=Passed Screen, 2=Failed Screen, 3=Network Number. | |
int | send_dtmf |
TRUE if we should produce DTMF tones ourselves. | |
send_lock * | send_lock |
B channel send locking structure. | |
int | sending_complete |
TRUE if all digits necessary to complete the call are available. No more INFORMATION messages are needed. | |
int | stack_holder |
TRUE if this channel is on the misdn_stack->holding list. | |
int | te_choose_channel |
TRUE if the TE side should choose the B channel to use. | |
int | time_usec |
int | tone_cnt |
Number of tone samples to generate. | |
int | txgain |
Tx gain setting (range -8 to 8). | |
int | upset |
int | urate |
Q.931 Bearer Capability IE Layer 1 User Rate field. | |
int | user1 |
Q.931 Bearer Capability IE User Information Layer 1 Protocol field code. | |
char | uu [256] |
User-User information string. | |
int | uulen |
User-User information string length in uu[]. |
Definition at line 207 of file isdn_lib.h.
int active |
Seems to have been intended for something to do with the jitter buffer.
Definition at line 396 of file isdn_lib.h.
Referenced by empty_bc(), and print_bc_info().
int addr |
B Channel mISDN driver layer ID from mISDN_get_layerid().
Definition at line 277 of file isdn_lib.h.
Referenced by cb_events(), find_bc_by_addr(), handle_bchan(), manager_bchannel_activate(), manager_bchannel_deactivate(), manager_ph_control(), manager_ph_control_block(), misdn_join_conf(), misdn_lib_destroy(), misdn_lib_log_ies(), misdn_lib_send_tone(), misdn_lib_tx2misdn_frm(), misdn_split_conf(), misdn_tx_jitter(), misdn_write(), prepare_bc(), print_bc_info(), and release_cr().
union { ... } AOCD |
Referenced by cb_events(), and export_aoc_vars().
enum FacFunction AOCDtype |
Definition at line 373 of file isdn_lib.h.
Referenced by cb_events(), export_aoc_vars(), and read_config().
void* astbuf |
Not used. Contents are setup but not used.
Definition at line 287 of file isdn_lib.h.
Referenced by init_bc(), manager_bchannel_activate(), and manager_bchannel_deactivate().
int b_stid |
B Channel mISDN driver stack ID.
Definition at line 225 of file isdn_lib.h.
Referenced by clean_up_bc(), handle_bchan(), handle_event_nt(), misdn_lib_log_ies(), prepare_bc(), setup_bc(), and test_inuse().
enum bchannel_state bc_state |
Current B Channel state.
Definition at line 406 of file isdn_lib.h.
Referenced by bc_state_change(), cb_events(), clean_up_bc(), handle_bchan(), handle_err(), manager_bchannel_deactivate(), misdn_lib_send_event(), misdn_lib_tx2misdn_frm(), misdn_write(), print_bc_info(), and setup_bc().
char* bframe |
B channel speech sample data buffer.
Definition at line 280 of file isdn_lib.h.
Referenced by cb_events(), handle_bchan(), and misdn_tx_jitter().
int bframe_len |
B channel speech sample data buffer size.
Definition at line 283 of file isdn_lib.h.
Referenced by cb_events(), empty_bc(), handle_bchan(), and misdn_tx_jitter().
char cad[32] |
Connected Party/Line Phone Number (Address).
Definition at line 484 of file isdn_lib.h.
Referenced by build_connect(), cb_events(), empty_bc(), misdn_answer(), misdn_lib_log_ies(), and parse_connect().
int capability |
SETUP message bearer capability field code value.
Definition at line 434 of file isdn_lib.h.
Referenced by build_setup(), cb_events(), empty_bc(), handle_bchan(), manager_ec_disable(), manager_ec_enable(), misdn_call(), misdn_lib_log_ies(), misdn_lib_send_event(), misdn_lib_tx2misdn_frm(), misdn_set_opt_exec(), parse_setup(), print_bc_info(), print_bearer(), read_config(), and update_config().
int cause |
Q.931 Cause for disconnection code (received).
Definition at line 518 of file isdn_lib.h.
Referenced by cb_events(), empty_bc(), handle_event_nt(), handle_frm(), misdn_hangup(), misdn_lib_log_ies(), misdn_lib_send_event(), parse_disconnect(), parse_release(), parse_release_complete(), parse_status(), prepare_bc(), and send_cause2ast().
int ces |
Not used. Saved mISDN stack CONNECT_t ces value.
Definition at line 256 of file isdn_lib.h.
Referenced by parse_connect().
int channel |
Assigned B channel number B1, B2... 0 if not assigned.
Definition at line 262 of file isdn_lib.h.
Referenced by build_alerting(), build_connect_acknowledge(), build_proceeding(), build_restart(), build_retrieve_acknowledge(), build_setup(), build_setup_acknowledge(), cb_events(), create_process(), empty_bc(), find_bc_by_channel(), find_hold_call(), handle_bchan(), handle_cr(), handle_err(), handle_event_nt(), handle_frm(), manager_clean_bc(), misdn_lib_get_free_bc(), misdn_lib_log_ies(), misdn_lib_release(), misdn_lib_send_event(), misdn_lib_send_restart(), misdn_make_dummy(), misdn_request(), misdn_tx_jitter(), prepare_bc(), print_bc_info(), set_channel(), and setup_bc().
int channel_found |
TRUE if the channel was allocated from the available B channels.
Definition at line 544 of file isdn_lib.h.
Referenced by empty_bc(), find_free_chan_in_stack(), and misdn_lib_send_event().
TRUE if the B channel number is preselected.
Definition at line 265 of file isdn_lib.h.
Referenced by create_process(), misdn_lib_send_event(), and prepare_bc().
struct FacAOCDChargingUnit chargingUnit |
int conf_id |
Bridging conference ID.
Definition at line 412 of file isdn_lib.h.
Referenced by bc_state_change(), empty_bc(), find_bc_by_confid(), manager_bchannel_deactivate(), misdn_lib_send_event(), and misdn_lib_split_bridge().
Type-of-number in ISDN terms for the connected party number.
Definition at line 347 of file isdn_lib.h.
Referenced by build_connect(), cb_events(), empty_bc(), misdn_lib_log_ies(), parse_connect(), and read_config().
int crypt |
char crypt_key[255] |
Blowfish encryption key string (secret).
Definition at line 388 of file isdn_lib.h.
Referenced by empty_bc(), misdn_answer(), misdn_lib_send_event(), and misdn_set_opt_exec().
int crypt_state |
Definition at line 390 of file isdn_lib.h.
int curprx |
int curptx |
struct FacAOCDCurrency currency |
int cw |
TRUE if call waiting.
Definition at line 274 of file isdn_lib.h.
Referenced by cb_events(), empty_bc(), and misdn_lib_get_free_bc().
char dad[32] |
Dialed/Called Phone Number (Address).
Definition at line 481 of file isdn_lib.h.
Referenced by build_setup(), cb_events(), empty_bc(), find_chan_by_bc(), find_hold_call(), handle_bchan(), misdn_answer(), misdn_call(), misdn_digit_end(), misdn_lib_send_event(), misdn_overlap_dial_task(), parse_setup(), read_config(), and wait_for_digits().
int dec |
TRUE if allocate higher B channels first.
Definition at line 246 of file isdn_lib.h.
Referenced by empty_bc(), misdn_lib_get_free_bc(), and misdn_request().
char display[84] |
Display message that can be displayed by the user phone.
Definition at line 467 of file isdn_lib.h.
Referenced by build_facility(), build_information(), build_setup(), empty_bc(), misdn_send_display(), misdn_send_text(), misdn_set_opt_exec(), and print_bc_info().
Type-of-number in ISDN terms for the dialed/called number.
Definition at line 332 of file isdn_lib.h.
Referenced by build_setup(), empty_bc(), handle_bchan(), misdn_lib_log_ies(), misdn_lib_send_event(), parse_setup(), and read_config().
int dtmf |
Last decoded DTMF digit from mISDN driver.
Definition at line 302 of file isdn_lib.h.
Referenced by cb_events(), and handle_bchan().
int dummy |
TRUE if this is a dummy BC record.
Definition at line 212 of file isdn_lib.h.
Referenced by cb_events(), empty_bc(), and misdn_make_dummy().
int early_bconnect |
TRUE if the call progress indicators can indicate an inband audio message for the user to listen to.
Definition at line 299 of file isdn_lib.h.
Referenced by empty_bc(), misdn_inband_avail(), and read_config().
int ec_deftaps |
Number of taps in the echo cancellor when enabled.
Definition at line 540 of file isdn_lib.h.
Referenced by empty_bc(), manager_ec_enable(), misdn_set_opt_exec(), and update_ec_config().
int ec_enable |
TRUE if the echo cancellor is enabled.
Definition at line 535 of file isdn_lib.h.
Referenced by empty_bc(), isdn_lib_update_ec(), manager_ec_disable(), manager_ec_enable(), misdn_call(), misdn_set_opt_exec(), print_bc_info(), process_ast_dsp(), and update_ec_config().
Event waiting for Layer 1 to come up.
Definition at line 380 of file isdn_lib.h.
Referenced by empty_bc(), and misdn_lib_send_event().
struct FacParm fac_in |
Inbound FACILITY message function type and contents.
Definition at line 365 of file isdn_lib.h.
Referenced by cb_events(), empty_bc(), misdn_lib_log_ies(), and parse_facility().
struct FacParm fac_out |
Outbound FACILITY message function type and contents.
Definition at line 370 of file isdn_lib.h.
Referenced by build_facility(), empty_bc(), misdn_facility_exec(), misdn_lib_log_ies(), and misdn_send_cd().
int generate_tone |
TRUE if tone generator allowed to start.
Definition at line 400 of file isdn_lib.h.
Referenced by do_tone(), empty_bc(), manager_bchannel_deactivate(), misdn_lib_tone_generator_start(), and misdn_lib_tone_generator_stop().
int hdlc |
TRUE if call made in digital HDLC mode.
Definition at line 460 of file isdn_lib.h.
Referenced by empty_bc(), misdn_answer(), misdn_set_opt_exec(), read_config(), and update_config().
int holded |
TRUE if this channel is on hold.
Definition at line 415 of file isdn_lib.h.
Referenced by handle_event_nt(), misdn_lib_log_ies(), misdn_lib_send_event(), and print_bc_info().
int in_use |
TRUE if B channel record is in use.
Definition at line 268 of file isdn_lib.h.
Referenced by dump_chan_list(), find_bc_by_addr(), find_bc_by_channel(), find_bc_by_confid(), find_bc_by_l3id(), find_bc_by_masked_l3id(), handle_cr(), handle_event_nt(), handle_frm(), manager_clean_bc(), manager_find_bc_by_pid(), misdn_lib_release(), misdn_lib_send_event(), misdn_lib_send_restart(), prepare_bc(), and test_inuse().
char info_dad[64] |
Current overlap dialing digits to/from INFORMATION messages.
Definition at line 497 of file isdn_lib.h.
Referenced by build_information(), cb_events(), empty_bc(), misdn_digit_end(), misdn_lib_log_ies(), and parse_information().
char infos_pending[64] |
Collected digits to go into info_dad[] while waiting for a SETUP_ACKNOWLEDGE to come in.
Definition at line 500 of file isdn_lib.h.
Referenced by cb_events(), empty_bc(), and misdn_digit_end().
char keypad[32] |
Q.931 Keypad Facility IE contents.
Definition at line 494 of file isdn_lib.h.
Referenced by build_setup(), cb_events(), export_ch(), import_ch(), misdn_lib_log_ies(), parse_information(), parse_setup(), and read_config().
int l3_id |
Layer 3 process ID.
Definition at line 250 of file isdn_lib.h.
Referenced by bc_state_change(), build_alerting(), build_connect(), build_connect_acknowledge(), build_disconnect(), build_facility(), build_hold(), build_hold_acknowledge(), build_hold_reject(), build_information(), build_notify(), build_proceeding(), build_progress(), build_release(), build_release_complete(), build_restart(), build_resume(), build_resume_acknowledge(), build_resume_reject(), build_retrieve(), build_retrieve_acknowledge(), build_retrieve_reject(), build_setup(), build_setup_acknowledge(), build_status(), build_status_enquiry(), build_suspend(), build_suspend_acknowledge(), build_suspend_reject(), build_timeout(), build_user_information(), cb_events(), create_process(), find_bc_by_l3id(), find_bc_by_masked_l3id(), handle_cr(), handle_event_nt(), misdn_call(), misdn_lib_log_ies(), misdn_make_dummy(), misdn_write(), print_bc_info(), queue_cleanup_bc(), release_chan(), release_cr(), send_msg(), stack_holder_add(), stack_holder_find(), and stack_holder_remove().
struct timeval last_used |
Time when empty_bc() last called on this record.
Definition at line 271 of file isdn_lib.h.
Referenced by empty_bc(), and test_inuse().
int law |
Companding ALaw/uLaw encoding (INFO_CODEC_ALAW / INFO_CODEC_ULAW).
Definition at line 437 of file isdn_lib.h.
Referenced by build_setup(), empty_bc(), parse_setup(), and print_bearer().
int layer |
B channel layer; set to 3 or 4.
Definition at line 233 of file isdn_lib.h.
Referenced by handle_bchan().
int layer_id |
B Channel mISDN driver layer ID from mISDN_new_layer().
Definition at line 230 of file isdn_lib.h.
Referenced by clean_up_bc(), find_bc_by_addr(), misdn_lib_log_ies(), and prepare_bc().
void* misdnbuf |
Definition at line 289 of file isdn_lib.h.
int mode |
Q.931 Bearer Capability IE Transfer Mode field. Initialized to 0 (Circuit). Altered by incoming SETUP messages.
Definition at line 444 of file isdn_lib.h.
Referenced by build_setup(), empty_bc(), misdn_lib_log_ies(), and parse_setup().
char msn[32] |
Not used. Contents are setup but not used.
Definition at line 470 of file isdn_lib.h.
Referenced by init_bc().
int need_disconnect |
TRUE if DISCONNECT needs to be sent to clear a call.
Definition at line 237 of file isdn_lib.h.
Referenced by cb_events(), handle_cr(), misdn_hangup(), misdn_lib_send_event(), and prepare_bc().
int need_more_infos |
TRUE if we send SETUP_ACKNOWLEDGE on incoming calls anyway (instead of PROCEEDING).
This requests additional INFORMATION messages, so we can wait for digits without issues.
Definition at line 315 of file isdn_lib.h.
Referenced by cb_events(), empty_bc(), and read_config().
int need_release |
TRUE if RELEASE needs to be sent to clear a call.
Definition at line 240 of file isdn_lib.h.
Referenced by cb_events(), handle_cr(), misdn_hangup(), misdn_lib_send_event(), and prepare_bc().
TRUE if RELEASE_COMPLETE needs to be sent to clear a call.
Definition at line 243 of file isdn_lib.h.
Referenced by cb_events(), handle_cr(), misdn_hangup(), misdn_lib_send_event(), and prepare_bc().
struct misdn_bchannel* next |
Next node in the misdn_stack.holding list.
Definition at line 564 of file isdn_lib.h.
Referenced by stack_holder_add(), stack_holder_find(), and stack_holder_remove().
This is used as a pending bridge join request for when bc_state becomes BCHAN_ACTIVATED.
Definition at line 409 of file isdn_lib.h.
Referenced by bc_next_state_change(), and bc_state_change().
int nodsp |
TRUE if we will not use jollys dsp.
Definition at line 324 of file isdn_lib.h.
Referenced by empty_bc(), misdn_answer(), misdn_lib_send_event(), and misdn_set_opt_exec().
int nojitter |
TRUE if we will not use the jitter buffer system.
Definition at line 327 of file isdn_lib.h.
Referenced by config_jitterbuffer(), do_tone(), empty_bc(), handle_bchan(), misdn_answer(), misdn_set_opt_exec(), and release_chan().
int nt |
TRUE if NT side of protocol (TE otherwise).
Definition at line 215 of file isdn_lib.h.
Referenced by build_facility(), cb_events(), do_immediate_setup(), init_bc(), misdn_call(), misdn_hangup(), misdn_indication(), misdn_lib_send_event(), misdn_make_dummy(), parse_facility(), print_bc_info(), set_channel(), start_pbx(), and wait_for_digits().
char oad[32] |
Originating/Calling Phone Number (Address).
Definition at line 475 of file isdn_lib.h.
Referenced by build_setup(), cb_events(), do_immediate_setup(), empty_bc(), find_chan_by_bc(), find_hold_call(), handle_bchan(), misdn_bridge(), misdn_call(), misdn_lib_send_event(), misdn_overlap_dial_task(), parse_setup(), and read_config().
Type-of-number in ISDN terms for the originating/calling number (Caller-ID).
Definition at line 342 of file isdn_lib.h.
Referenced by build_setup(), empty_bc(), handle_bchan(), misdn_lib_log_ies(), misdn_lib_send_event(), parse_setup(), and read_config().
int orig |
Who originated the call (ORG_AST, ORG_MISDN).
Definition at line 549 of file isdn_lib.h.
Referenced by empty_bc(), and misdn_set_opt_exec().
char orig_dad[32] |
Original Dialed/Called Phone Number (Address) before national/international dialing prefix added.
Definition at line 489 of file isdn_lib.h.
Referenced by empty_bc(), and read_config().
int out_cause |
Q.931 Cause for disconnection code (sent).
-1 is used to suppress including the cause code in the RELEASE message.
Definition at line 524 of file isdn_lib.h.
Referenced by build_disconnect(), build_release(), build_release_complete(), cb_events(), do_immediate_setup(), empty_bc(), handle_frm(), misdn_hangup(), misdn_indication(), misdn_lib_log_ies(), misdn_lib_send_event(), and misdn_overlap_dial_task().
int pid |
B channel process ID (1-5000).
Definition at line 253 of file isdn_lib.h.
Referenced by cb_events(), clean_up_bc(), export_ch(), find_chan_by_pid(), handle_bchan(), manager_find_bc_by_pid(), misdn_bridge(), misdn_call(), misdn_hangup(), misdn_indication(), misdn_lib_bridge(), misdn_lib_send_event(), misdn_show_cls(), prepare_bc(), print_bc_info(), release_chan(), and send_cause2ast().
int port |
Logical Layer 1 port associated with this B channel.
Definition at line 221 of file isdn_lib.h.
Referenced by bc_next_state_change(), bc_state_change(), build_connect(), build_disconnect(), build_release(), build_release_complete(), build_restart(), build_setup(), cb_events(), cl_queue_chan(), clean_up_bc(), config_jitterbuffer(), dialtone_indicate(), do_immediate_setup(), export_ch(), find_chan_by_bc(), find_hold_active_call(), find_hold_call(), get_stack_by_bc(), handle_bchan(), handle_err(), handle_event_nt(), handle_frm(), hangup_chan(), import_ch(), init_bc(), manager_bchannel_activate(), manager_bchannel_deactivate(), manager_event_handler(), manager_ph_control(), misdn_answer(), misdn_bridge(), misdn_call(), misdn_digit_end(), misdn_facility_exec(), misdn_fixup(), misdn_hangup(), misdn_indication(), misdn_join_conf(), misdn_lib_bridge(), misdn_lib_echo(), misdn_lib_send_event(), misdn_lib_tx2misdn_frm(), misdn_make_dummy(), misdn_overlap_dial_task(), misdn_read(), misdn_request(), misdn_set_opt_exec(), misdn_split_conf(), misdn_tx_jitter(), misdn_write(), parse_facility(), parse_setup(), print_bc_info(), print_bearer(), print_facility(), process_ast_dsp(), queue_cleanup_bc(), read_config(), release_chan(), send_cause2ast(), send_msg(), set_channel(), setup_bc(), start_pbx(), stop_indicate(), test_inuse(), update_config(), and update_ec_config().
int pres |
Caller ID presentation restriction code 0=Allowed, 1=Restricted, 2=Unavailable.
Definition at line 426 of file isdn_lib.h.
Referenced by build_setup(), cb_events(), empty_bc(), misdn_lib_log_ies(), misdn_set_opt_exec(), parse_setup(), and update_config().
int pri |
TRUE if ISDN-PRI (ISDN-BRI otherwise).
Definition at line 218 of file isdn_lib.h.
Referenced by find_hold_call(), and init_bc().
int progress_coding |
Progress Indicator IE coding standard field.
Definition at line 352 of file isdn_lib.h.
Referenced by empty_bc(), parse_alerting(), parse_connect(), parse_disconnect(), parse_proceeding(), parse_progress(), parse_setup(), and parse_setup_acknowledge().
Progress Indicator IE progress description field. Used to determine if there is an inband audio message present.
Definition at line 362 of file isdn_lib.h.
Referenced by cb_events(), empty_bc(), misdn_hangup(), misdn_inband_avail(), misdn_lib_log_ies(), parse_alerting(), parse_connect(), parse_disconnect(), parse_proceeding(), parse_progress(), parse_setup(), and parse_setup_acknowledge().
Progress Indicator IE location field.
Definition at line 357 of file isdn_lib.h.
Referenced by empty_bc(), parse_alerting(), parse_connect(), parse_disconnect(), parse_proceeding(), parse_progress(), parse_setup(), and parse_setup_acknowledge().
char rad[32] |
Redirecting Phone Number (Address) where a call diversion or transfer was invoked.
Definition at line 478 of file isdn_lib.h.
Referenced by build_setup(), empty_bc(), misdn_call(), misdn_lib_log_ies(), parse_setup(), print_bc_info(), and read_config().
int rate |
Q.931 Bearer Capability IE Information Transfer Rate field. Initialized to 0x10 (64kbit). Altered by incoming SETUP messages.
Definition at line 441 of file isdn_lib.h.
Referenced by build_setup(), empty_bc(), misdn_lib_log_ies(), and parse_setup().
int restart_channel |
B channel to restart if received a RESTART message.
Definition at line 259 of file isdn_lib.h.
Referenced by empty_bc(), handle_frm(), and parse_restart().
Type-of-number in ISDN terms for the redirecting number which a call diversion or transfer was invoked.
Definition at line 337 of file isdn_lib.h.
Referenced by empty_bc(), misdn_lib_log_ies(), and parse_setup().
int rxgain |
Rx gain setting (range -8 to 8).
Definition at line 561 of file isdn_lib.h.
Referenced by empty_bc(), isdn_lib_update_rxgain(), misdn_lib_send_event(), misdn_set_opt_exec(), process_ast_dsp(), and read_config().
int screen |
Caller ID screening code 0=Unscreened, 1=Passed Screen, 2=Failed Screen, 3=Network Number.
Definition at line 431 of file isdn_lib.h.
Referenced by build_setup(), cb_events(), misdn_lib_log_ies(), and update_config().
int send_dtmf |
TRUE if we should produce DTMF tones ourselves.
Definition at line 307 of file isdn_lib.h.
Referenced by empty_bc(), misdn_digit_end(), misdn_set_opt_exec(), and read_config().
B channel send locking structure.
Definition at line 209 of file isdn_lib.h.
Referenced by init_bc(), misdn_send_lock(), and misdn_send_unlock().
int sending_complete |
TRUE if all digits necessary to complete the call are available. No more INFORMATION messages are needed.
Definition at line 320 of file isdn_lib.h.
Referenced by build_setup(), cb_events(), empty_bc(), export_ch(), import_ch(), misdn_lib_log_ies(), and parse_setup().
int stack_holder |
TRUE if this channel is on the misdn_stack->holding list.
Definition at line 420 of file isdn_lib.h.
Referenced by handle_cr(), misdn_lib_log_ies(), stack_holder_add(), and stack_holder_remove().
TRUE if the TE side should choose the B channel to use.
Definition at line 294 of file isdn_lib.h.
Referenced by empty_bc(), and read_config().
int time_usec |
int tone_cnt |
Number of tone samples to generate.
Definition at line 403 of file isdn_lib.h.
Referenced by cb_events(), do_tone(), and empty_bc().
int txgain |
Tx gain setting (range -8 to 8).
Definition at line 555 of file isdn_lib.h.
Referenced by empty_bc(), isdn_lib_update_txgain(), misdn_lib_send_event(), misdn_set_opt_exec(), process_ast_dsp(), and read_config().
int upset |
Definition at line 397 of file isdn_lib.h.
int urate |
Q.931 Bearer Capability IE Layer 1 User Rate field.
Definition at line 454 of file isdn_lib.h.
Referenced by empty_bc(), export_ch(), misdn_lib_log_ies(), and parse_setup().
int user1 |
Q.931 Bearer Capability IE User Information Layer 1 Protocol field code.
Definition at line 449 of file isdn_lib.h.
Referenced by empty_bc(), misdn_lib_log_ies(), and parse_setup().
char uu[256] |
User-User information string.
We only support ASCII strings (IA5 characters).
Definition at line 510 of file isdn_lib.h.
Referenced by build_disconnect(), build_release(), build_release_complete(), build_setup(), empty_bc(), export_ch(), import_ch(), misdn_hangup(), and parse_setup().
int uulen |
User-User information string length in uu[].
Definition at line 513 of file isdn_lib.h.
Referenced by build_disconnect(), build_release(), build_release_complete(), build_setup(), empty_bc(), export_ch(), import_ch(), misdn_hangup(), and parse_setup().