B channel control structure. More...
#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 { | |
| struct FacAOCDChargingUnit chargingUnit | |
| struct FacAOCDCurrency currency | |
| } | AOCD |
| int | AOCD_need_export |
| TRUE if AOCDtype and AOCD data are ready to export to Asterisk. | |
| 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. | |
| struct misdn_party_id | caller |
| Originating/Caller ID information struct. | |
| 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. | |
| struct misdn_party_id | connected |
| Connected-Party/Connected-Line ID information struct. | |
| int | crypt |
| char | crypt_key [255] |
| Blowfish encryption key string (secret) | |
| int | crypt_state |
| int | curprx |
| int | curptx |
| int | cw |
| TRUE if call waiting. | |
| int | dec |
| TRUE if allocate higher B channels first. | |
| struct misdn_party_dialing | dialed |
| Dialed/Called information struct. | |
| char | display [84] |
| Display message that can be displayed by the user phone. | |
| int | display_connected |
| Put a display ie in the CONNECT message. | |
| int | display_setup |
| Put a display ie in the SETUP message. | |
| 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. | |
| struct FacParm | fac_in |
| Inbound FACILITY message function type and contents. | |
| struct 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 | incoming_cid_tag [MISDN_MAX_NAME_LEN] |
| Incoming Caller ID string tag for special purpose. | |
| char | info_dad [MISDN_MAX_NUMBER_LEN] |
| Current overlap dialing digits to/from INFORMATION messages. | |
| char | infos_pending [MISDN_MAX_NUMBER_LEN] |
| Collected digits to go into info_dad[] while waiting for a SETUP_ACKNOWLEDGE to come in. | |
| int | is_register_pool |
| TRUE if the B channel is allocated from the REGISTER pool. | |
| char | keypad [MISDN_MAX_KEYPAD_LEN] |
| Q.931 Keypad Facility IE contents. | |
| int | l3_id |
| Layer 3 process ID. | |
| struct 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() | |
| int | mode |
| Q.931 Bearer Capability IE Transfer Mode field. Initialized to 0 (Circuit). Altered by incoming SETUP messages. | |
| 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. | |
| struct 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. | |
| enum mISDN_NOTIFY_CODE | notify_description_code |
| Notification indicator ie description code. | |
| int | nt |
| TRUE if NT side of protocol (TE otherwise) | |
| int | orig |
| Who originated the call (ORG_AST, ORG_MISDN) | |
| int | out_cause |
| Q.931 Cause for disconnection code (sent) | |
| int | outgoing_colp |
| Select what to do with outgoing COLP information. | |
| int | pid |
| B channel process ID (1-5000) | |
| int | port |
| Logical Layer 1 port associated with this B channel. | |
| int | presentation |
| User set 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. | |
| int | rate |
| Q.931 Bearer Capability IE Information Transfer Rate field. Initialized to 0x10 (64kbit). Altered by incoming SETUP messages. | |
| struct misdn_party_redirecting | redirecting |
| Redirecting information struct (Where a call diversion or transfer was invoked) | |
| int | restart_channel |
| B channel to restart if received a RESTART message. | |
| int | rxgain |
| Rx gain setting (range -8 to 8) | |
| int | send_dtmf |
| TRUE if we should produce DTMF tones ourselves. | |
| struct 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 | set_presentation |
| TRUE if the user set the presentation restriction code. | |
| 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[]. | |
B channel control structure.
| int active |
Seems to have been intended for something to do with the jitter buffer.
Definition at line 547 of file isdn_lib.h.
Referenced by print_bc_info(), misdn_write(), and empty_bc().
| int addr |
B Channel mISDN driver layer ID from mISDN_get_layerid()
Definition at line 436 of file isdn_lib.h.
Referenced by print_bc_info(), misdn_write(), cb_events(), setup_bc(), find_bc_by_addr(), release_cr(), handle_event_nt(), misdn_tx_jitter(), handle_bchan(), prepare_bc(), misdn_lib_log_ies(), misdn_lib_destroy(), manager_bchannel_activate(), manager_bchannel_deactivate(), misdn_lib_tx2misdn_frm(), manager_ph_control(), manager_ph_control_block(), misdn_lib_send_tone(), misdn_join_conf(), and misdn_split_conf().
| union { ... } AOCD |
Referenced by export_aoc_vars(), and misdn_facility_ie_handler().
| int AOCD_need_export |
TRUE if AOCDtype and AOCD data are ready to export to Asterisk.
Definition at line 528 of file isdn_lib.h.
Referenced by export_aoc_vars(), misdn_facility_ie_handler(), cb_events(), and empty_bc().
| enum FacFunction AOCDtype |
Definition at line 522 of file isdn_lib.h.
Referenced by export_aoc_vars(), read_config(), and misdn_facility_ie_handler().
| void* astbuf |
Not used. Contents are setup but not used.
Definition at line 446 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.
init stuff
Definition at line 381 of file isdn_lib.h.
Referenced by clean_up_bc(), setup_bc(), handle_event_nt(), handle_bchan(), test_inuse(), prepare_bc(), and misdn_lib_log_ies().
| enum bchannel_state bc_state |
Current B Channel state.
Definition at line 557 of file isdn_lib.h.
Referenced by print_bc_info(), misdn_write(), cb_events(), bc_state_change(), clean_up_bc(), setup_bc(), handle_bchan(), misdn_lib_send_event(), handle_err(), manager_bchannel_deactivate(), and misdn_lib_tx2misdn_frm().
| char* bframe |
B channel speech sample data buffer.
Definition at line 439 of file isdn_lib.h.
Referenced by cb_events(), misdn_tx_jitter(), and handle_bchan().
| int bframe_len |
B channel speech sample data buffer size.
Definition at line 442 of file isdn_lib.h.
Referenced by cb_events(), empty_bc(), misdn_tx_jitter(), and handle_bchan().
| struct misdn_party_id caller |
Originating/Caller ID information struct.
Definition at line 350 of file isdn_lib.h.
Referenced by misdn_overlap_dial_task(), update_config(), read_config(), misdn_get_connected_line(), misdn_update_connected_line(), misdn_call(), misdn_bridge(), find_chan_by_bc(), find_hold_call(), do_immediate_setup(), misdn_facility_ie_handler(), cb_events(), empty_bc(), handle_event(), handle_bchan(), misdn_lib_log_ies(), misdn_lib_send_event(), parse_setup(), and build_setup().
| int capability |
SETUP message bearer capability field code value.
Definition at line 619 of file isdn_lib.h.
Referenced by print_bearer(), print_bc_info(), update_config(), read_config(), misdn_call(), misdn_write(), misdn_facility_ie_handler(), cb_events(), misdn_set_opt_exec(), empty_bc(), handle_event(), handle_bchan(), misdn_lib_log_ies(), misdn_lib_send_event(), misdn_lib_tx2misdn_frm(), manager_ec_enable(), manager_ec_disable(), parse_setup(), and build_setup().
| int cause |
Q.931 Cause for disconnection code (received)
Definition at line 681 of file isdn_lib.h.
Referenced by misdn_hangup(), hangup_chan(), send_cause2ast(), cb_events(), empty_bc(), handle_event_nt(), handle_frm(), prepare_bc(), misdn_lib_log_ies(), misdn_lib_send_event(), parse_disconnect(), parse_release(), parse_release_complete(), and parse_status().
| int ces |
Not used. Saved mISDN stack CONNECT_t ces value.
Definition at line 412 of file isdn_lib.h.
Referenced by parse_connect().
| int channel |
Assigned B channel number B1, B2... 0 if not assigned.
Definition at line 418 of file isdn_lib.h.
Referenced by print_bc_info(), handle_cli_misdn_send_restart(), misdn_request(), find_hold_call(), cb_events(), misdn_make_dummy(), find_free_chan_in_stack(), empty_bc(), create_process(), setup_bc(), find_bc_by_channel(), handle_event(), handle_cr(), misdn_lib_release(), handle_event_nt(), misdn_tx_jitter(), handle_bchan(), handle_frm(), prepare_bc(), misdn_lib_get_free_bc(), misdn_lib_log_ies(), misdn_lib_send_event(), misdn_lib_send_restart(), manager_clean_bc(), set_channel(), build_proceeding(), build_alerting(), build_setup(), build_setup_acknowledge(), build_connect_acknowledge(), build_retrieve_acknowledge(), and build_restart().
| int channel_found |
TRUE if the channel was allocated from the available B channels.
Definition at line 707 of file isdn_lib.h.
Referenced by find_free_chan_in_stack(), empty_bc(), and misdn_lib_send_event().
TRUE if the B channel number is preselected.
Definition at line 421 of file isdn_lib.h.
Referenced by create_process(), prepare_bc(), and misdn_lib_send_event().
| struct FacAOCDChargingUnit chargingUnit |
Definition at line 525 of file isdn_lib.h.
Referenced by export_aoc_vars(), and misdn_facility_ie_handler().
| int conf_id |
Bridging conference ID.
Definition at line 563 of file isdn_lib.h.
Referenced by bc_state_change(), empty_bc(), find_bc_by_confid(), misdn_lib_send_event(), manager_bchannel_deactivate(), misdn_lib_bridge(), and misdn_lib_split_bridge().
| struct misdn_party_id connected |
Connected-Party/Connected-Line ID information struct.
Definition at line 360 of file isdn_lib.h.
Referenced by misdn_get_connected_line(), misdn_update_connected_line(), misdn_answer(), cb_events(), empty_bc(), misdn_lib_log_ies(), parse_connect(), and build_connect().
| int crypt |
Definition at line 534 of file isdn_lib.h.
Referenced by empty_bc().
| char crypt_key[255] |
Blowfish encryption key string (secret)
Definition at line 539 of file isdn_lib.h.
Referenced by misdn_answer(), misdn_set_opt_exec(), empty_bc(), handle_event(), and misdn_lib_send_event().
| int crypt_state |
Definition at line 541 of file isdn_lib.h.
| int curprx |
Definition at line 535 of file isdn_lib.h.
Referenced by empty_bc().
| int curptx |
Definition at line 536 of file isdn_lib.h.
Referenced by empty_bc().
| struct FacAOCDCurrency currency |
Definition at line 524 of file isdn_lib.h.
Referenced by export_aoc_vars(), and misdn_facility_ie_handler().
| int cw |
TRUE if call waiting.
Definition at line 433 of file isdn_lib.h.
Referenced by cb_events(), empty_bc(), handle_event(), and misdn_lib_get_free_bc().
| int dec |
TRUE if allocate higher B channels first.
Definition at line 402 of file isdn_lib.h.
Referenced by misdn_request(), empty_bc(), create_process(), and misdn_lib_get_free_bc().
| struct misdn_party_dialing dialed |
Dialed/Called information struct.
Definition at line 344 of file isdn_lib.h.
Referenced by misdn_overlap_dial_task(), read_config(), misdn_call(), misdn_answer(), misdn_digit_end(), find_chan_by_bc(), find_hold_call(), wait_for_digits(), misdn_facility_ie_handler(), cb_events(), empty_bc(), handle_event(), handle_bchan(), misdn_lib_log_ies(), misdn_lib_send_event(), parse_setup(), and build_setup().
| char display[84] |
Display message that can be displayed by the user phone.
Definition at line 652 of file isdn_lib.h.
Referenced by print_bc_info(), handle_cli_misdn_send_display(), misdn_send_text(), misdn_set_opt_exec(), empty_bc(), build_setup(), build_connect(), build_facility(), and build_information().
Put a display ie in the CONNECT message.
Put a display ie in the CONNECT message containing the following information if it is available (nt port only): 0 - Do not put the connected line information in the display ie. 1 - Put the available connected line name in the display ie. 2 - Put the available connected line number in the display ie. 3 - Put the available connected line name and number in the display ie.
Definition at line 583 of file isdn_lib.h.
Referenced by read_config(), empty_bc(), and build_connect().
| int display_setup |
Put a display ie in the SETUP message.
Put a display ie in the SETUP message containing the following information if it is available (nt port only): 0 - Do not put the caller information in the display ie. 1 - Put the available caller name in the display ie. 2 - Put the available caller number in the display ie. 3 - Put the available caller name and number in the display ie.
Definition at line 595 of file isdn_lib.h.
Referenced by read_config(), empty_bc(), and build_setup().
| int dtmf |
Last decoded DTMF digit from mISDN driver.
Definition at line 459 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 368 of file isdn_lib.h.
Referenced by cb_events(), misdn_make_dummy(), and empty_bc().
| int early_bconnect |
TRUE if the call progress indicators can indicate an inband audio message for the user to listen to.
Definition at line 456 of file isdn_lib.h.
Referenced by read_config(), misdn_inband_avail(), and empty_bc().
| int ec_deftaps |
Number of taps in the echo cancellor when enabled.
Definition at line 703 of file isdn_lib.h.
Referenced by update_ec_config(), misdn_set_opt_exec(), empty_bc(), and manager_ec_enable().
| int ec_enable |
TRUE if the echo cancellor is enabled.
list stuf
Definition at line 698 of file isdn_lib.h.
Referenced by print_bc_info(), update_ec_config(), process_ast_dsp(), misdn_set_opt_exec(), empty_bc(), isdn_lib_update_ec(), manager_ec_enable(), and manager_ec_disable().
Event waiting for Layer 1 to come up.
Definition at line 531 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 514 of file isdn_lib.h.
Referenced by misdn_facility_ie_handler(), cb_events(), empty_bc(), misdn_lib_log_ies(), parse_proceeding(), parse_alerting(), parse_progress(), parse_setup(), parse_connect(), parse_setup_acknowledge(), parse_disconnect(), parse_release(), parse_release_complete(), and parse_facility().
| struct FacParm fac_out |
Outbound FACILITY message function type and contents.
Definition at line 519 of file isdn_lib.h.
Referenced by handle_cli_misdn_send_facility(), misdn_update_connected_line(), misdn_update_redirecting(), misdn_call(), misdn_answer(), misdn_facility_ie_handler(), cb_events(), misdn_facility_exec(), empty_bc(), misdn_lib_log_ies(), build_proceeding(), build_alerting(), build_progress(), build_setup(), build_connect(), build_setup_acknowledge(), build_disconnect(), build_release(), build_release_complete(), and build_facility().
| int generate_tone |
TRUE if tone generator allowed to start.
Definition at line 551 of file isdn_lib.h.
Referenced by empty_bc(), misdn_lib_tone_generator_start(), misdn_lib_tone_generator_stop(), do_tone(), and manager_bchannel_deactivate().
| int hdlc |
TRUE if call made in digital HDLC mode.
Definition at line 645 of file isdn_lib.h.
Referenced by update_config(), read_config(), misdn_call(), misdn_answer(), misdn_facility_ie_handler(), misdn_set_opt_exec(), empty_bc(), and setup_bc().
| int holded |
TRUE if this channel is on hold.
Definition at line 566 of file isdn_lib.h.
Referenced by print_bc_info(), handle_event_nt(), misdn_lib_log_ies(), and misdn_lib_send_event().
| int in_use |
TRUE if B channel record is in use.
Definition at line 427 of file isdn_lib.h.
Referenced by dump_chan_list(), clear_l3(), find_bc_by_masked_l3id(), find_bc_by_l3id(), find_bc_by_addr(), find_bc_by_confid(), find_bc_by_channel(), handle_cr(), misdn_lib_release(), handle_event_nt(), handle_frm(), manager_find_bc_by_pid(), test_inuse(), prepare_bc(), misdn_lib_send_event(), misdn_lib_send_restart(), and manager_clean_bc().
| char incoming_cid_tag[MISDN_MAX_NAME_LEN] |
Incoming Caller ID string tag for special purpose.
Definition at line 355 of file isdn_lib.h.
Referenced by read_config(), misdn_call(), misdn_facility_ie_handler(), and cb_events().
| char info_dad[MISDN_MAX_NUMBER_LEN] |
Current overlap dialing digits to/from INFORMATION messages.
Definition at line 660 of file isdn_lib.h.
Referenced by misdn_digit_end(), cb_events(), empty_bc(), misdn_lib_log_ies(), parse_information(), and build_information().
| char infos_pending[MISDN_MAX_NUMBER_LEN] |
Collected digits to go into info_dad[] while waiting for a SETUP_ACKNOWLEDGE to come in.
Definition at line 663 of file isdn_lib.h.
Referenced by misdn_digit_end(), cb_events(), and empty_bc().
| int is_register_pool |
TRUE if the B channel is allocated from the REGISTER pool.
Definition at line 424 of file isdn_lib.h.
Referenced by find_free_chan_in_stack(), handle_event_nt(), and misdn_lib_init().
| char keypad[MISDN_MAX_KEYPAD_LEN] |
Q.931 Keypad Facility IE contents.
Definition at line 657 of file isdn_lib.h.
Referenced by read_config(), import_ch(), export_ch(), cb_events(), misdn_lib_log_ies(), parse_setup(), build_setup(), and parse_information().
| int l3_id |
Layer 3 process ID.
Definition at line 406 of file isdn_lib.h.
Referenced by print_bc_info(), misdn_call(), misdn_write(), release_chan(), cb_events(), misdn_make_dummy(), send_msg(), bc_state_change(), create_process(), find_bc_by_masked_l3id(), find_bc_by_l3id(), handle_cr(), release_cr(), handle_event_nt(), handle_frm(), misdn_lib_log_ies(), queue_cleanup_bc(), stack_holder_add(), stack_holder_remove(), stack_holder_find(), build_proceeding(), build_alerting(), build_progress(), build_setup(), build_connect(), build_setup_acknowledge(), build_connect_acknowledge(), build_user_information(), build_suspend_reject(), build_resume_reject(), build_hold(), build_suspend(), build_resume(), build_hold_acknowledge(), build_suspend_acknowledge(), build_resume_acknowledge(), build_hold_reject(), build_retrieve(), build_retrieve_acknowledge(), build_retrieve_reject(), build_disconnect(), build_restart(), build_release(), build_release_complete(), build_facility(), build_notify(), build_status_enquiry(), build_information(), build_status(), and build_timeout().
| struct timeval last_used |
Time when empty_bc() last called on this record.
Definition at line 430 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 622 of file isdn_lib.h.
Referenced by print_bearer(), empty_bc(), parse_setup(), and build_setup().
| int layer |
B channel layer; set to 3 or 4.
Definition at line 389 of file isdn_lib.h.
Referenced by setup_bc(), and handle_bchan().
| int layer_id |
B Channel mISDN driver layer ID from mISDN_new_layer()
Definition at line 386 of file isdn_lib.h.
Referenced by clean_up_bc(), setup_bc(), find_bc_by_addr(), prepare_bc(), and misdn_lib_log_ies().
| int mode |
Q.931 Bearer Capability IE Transfer Mode field. Initialized to 0 (Circuit). Altered by incoming SETUP messages.
Definition at line 629 of file isdn_lib.h.
Referenced by empty_bc(), misdn_lib_log_ies(), parse_setup(), and build_setup().
| int need_disconnect |
TRUE if DISCONNECT needs to be sent to clear a call.
Definition at line 393 of file isdn_lib.h.
Referenced by misdn_hangup(), cb_events(), handle_cr(), prepare_bc(), and misdn_lib_send_event().
| 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 472 of file isdn_lib.h.
Referenced by read_config(), cb_events(), and empty_bc().
| int need_release |
TRUE if RELEASE needs to be sent to clear a call.
Definition at line 396 of file isdn_lib.h.
Referenced by misdn_hangup(), cb_events(), handle_cr(), prepare_bc(), and misdn_lib_send_event().
TRUE if RELEASE_COMPLETE needs to be sent to clear a call.
Definition at line 399 of file isdn_lib.h.
Referenced by cb_events(), handle_cr(), prepare_bc(), and misdn_lib_send_event().
| struct misdn_bchannel* next |
Next node in the misdn_stack.holding list.
Definition at line 727 of file isdn_lib.h.
Referenced by stack_holder_add(), stack_holder_remove(), and stack_holder_find().
This is used as a pending bridge join request for when bc_state becomes BCHAN_ACTIVATED.
Definition at line 560 of file isdn_lib.h.
Referenced by bc_state_change(), and bc_next_state_change().
| int nodsp |
TRUE if we will not use jollys dsp.
Definition at line 481 of file isdn_lib.h.
Referenced by misdn_answer(), misdn_set_opt_exec(), empty_bc(), setup_bc(), handle_event(), and misdn_lib_send_event().
| int nojitter |
TRUE if we will not use the jitter buffer system.
Definition at line 484 of file isdn_lib.h.
Referenced by config_jitterbuffer(), misdn_answer(), misdn_write(), misdn_set_opt_exec(), empty_bc(), do_tone(), and handle_bchan().
Notification indicator ie description code.
Definition at line 616 of file isdn_lib.h.
Referenced by misdn_update_connected_line(), misdn_update_redirecting(), misdn_facility_ie_handler(), cb_events(), empty_bc(), parse_facility(), build_facility(), parse_notify(), and build_notify().
| int nt |
TRUE if NT side of protocol (TE otherwise)
Definition at line 371 of file isdn_lib.h.
Referenced by print_bc_info(), misdn_call(), misdn_indication(), misdn_hangup(), do_immediate_setup(), start_pbx(), wait_for_digits(), cb_events(), misdn_make_dummy(), init_bc(), misdn_lib_send_event(), set_channel(), parse_facility(), and build_facility().
| int orig |
Who originated the call (ORG_AST, ORG_MISDN)
Definition at line 712 of file isdn_lib.h.
Referenced by misdn_set_opt_exec(), and empty_bc().
| int out_cause |
Q.931 Cause for disconnection code (sent)
Definition at line 687 of file isdn_lib.h.
Referenced by misdn_overlap_dial_task(), misdn_indication(), misdn_hangup(), do_immediate_setup(), cb_events(), find_free_chan_in_stack(), empty_bc(), handle_event(), handle_frm(), misdn_lib_log_ies(), misdn_lib_send_event(), build_disconnect(), build_release(), and build_release_complete().
| int outgoing_colp |
Select what to do with outgoing COLP information.
0 - pass (Send out COLP information unaltered.) 1 - restricted (Force COLP to restricted on all outgoing COLP information.) 2 - block (Do not send COLP information.)
Definition at line 604 of file isdn_lib.h.
Referenced by read_config(), misdn_update_connected_line(), misdn_update_redirecting(), misdn_call(), misdn_answer(), empty_bc(), build_setup(), build_connect(), build_facility(), and build_notify().
| int pid |
B channel process ID (1-5000)
Definition at line 409 of file isdn_lib.h.
Referenced by print_bc_info(), handle_cli_misdn_show_channels(), misdn_call(), misdn_indication(), misdn_hangup(), misdn_bridge(), release_chan(), send_cause2ast(), export_ch(), cb_events(), clean_up_bc(), handle_bchan(), manager_find_bc_by_pid(), prepare_bc(), misdn_lib_send_event(), and misdn_lib_bridge().
| int port |
Logical Layer 1 port associated with this B channel.
Definition at line 377 of file isdn_lib.h.
Referenced by print_facility(), print_bearer(), misdn_overlap_dial_task(), print_bc_info(), handle_cli_misdn_send_restart(), update_config(), config_jitterbuffer(), update_ec_config(), read_config(), misdn_get_connected_line(), misdn_update_connected_line(), misdn_update_redirecting(), misdn_call(), misdn_answer(), misdn_digit_end(), misdn_fixup(), misdn_indication(), misdn_hangup(), process_ast_dsp(), misdn_read(), misdn_write(), misdn_bridge(), dialtone_indicate(), stop_indicate(), misdn_request(), find_chan_by_bc(), find_hold_call(), find_hold_active_call(), cl_queue_chan(), hangup_chan(), release_chan(), do_immediate_setup(), send_cause2ast(), export_ch(), start_pbx(), misdn_facility_ie_handler(), cb_events(), misdn_facility_exec(), misdn_set_opt_exec(), misdn_make_dummy(), get_stack_by_bc(), send_msg(), bc_state_change(), bc_next_state_change(), clean_up_bc(), setup_bc(), init_bc(), handle_event_nt(), misdn_tx_jitter(), handle_bchan(), test_inuse(), misdn_lib_send_event(), queue_cleanup_bc(), manager_event_handler(), manager_bchannel_activate(), manager_bchannel_deactivate(), misdn_lib_tx2misdn_frm(), manager_ph_control(), misdn_join_conf(), misdn_split_conf(), misdn_lib_bridge(), misdn_lib_echo(), dec_ie_facility(), set_channel(), parse_setup(), build_setup(), build_connect(), build_disconnect(), build_restart(), build_release(), build_release_complete(), and parse_facility().
| int presentation |
User set presentation restriction code 0=Allowed, 1=Restricted, 2=Unavailable.
Definition at line 610 of file isdn_lib.h.
Referenced by misdn_call(), misdn_answer(), misdn_set_opt_exec(), empty_bc(), and misdn_lib_log_ies().
| int pri |
TRUE if ISDN-PRI (ISDN-BRI otherwise)
Definition at line 374 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 489 of file isdn_lib.h.
Referenced by empty_bc(), parse_proceeding(), parse_alerting(), parse_progress(), parse_setup(), parse_connect(), parse_setup_acknowledge(), and parse_disconnect().
Progress Indicator IE progress description field. Used to determine if there is an inband audio message present.
Definition at line 499 of file isdn_lib.h.
Referenced by misdn_hangup(), cb_events(), misdn_inband_avail(), empty_bc(), misdn_lib_log_ies(), parse_proceeding(), parse_alerting(), parse_progress(), parse_setup(), parse_connect(), parse_setup_acknowledge(), and parse_disconnect().
Progress Indicator IE location field.
Definition at line 494 of file isdn_lib.h.
Referenced by empty_bc(), parse_proceeding(), parse_alerting(), parse_progress(), parse_setup(), parse_connect(), parse_setup_acknowledge(), and parse_disconnect().
| int rate |
Q.931 Bearer Capability IE Information Transfer Rate field. Initialized to 0x10 (64kbit). Altered by incoming SETUP messages.
Definition at line 626 of file isdn_lib.h.
Referenced by empty_bc(), misdn_lib_log_ies(), parse_setup(), and build_setup().
Redirecting information struct (Where a call diversion or transfer was invoked)
Definition at line 365 of file isdn_lib.h.
Referenced by print_bc_info(), misdn_update_connected_line(), misdn_copy_redirecting_from_ast(), misdn_update_redirecting(), misdn_call(), misdn_facility_ie_handler(), cb_events(), empty_bc(), misdn_lib_log_ies(), parse_setup(), build_setup(), parse_facility(), build_facility(), parse_notify(), and build_notify().
| int restart_channel |
B channel to restart if received a RESTART message.
Definition at line 415 of file isdn_lib.h.
Referenced by empty_bc(), handle_frm(), and parse_restart().
| int rxgain |
Rx gain setting (range -8 to 8)
Definition at line 724 of file isdn_lib.h.
Referenced by read_config(), process_ast_dsp(), misdn_set_opt_exec(), empty_bc(), handle_event(), misdn_lib_send_event(), and isdn_lib_update_rxgain().
| int send_dtmf |
TRUE if we should produce DTMF tones ourselves.
Definition at line 464 of file isdn_lib.h.
Referenced by read_config(), misdn_digit_end(), misdn_set_opt_exec(), and empty_bc().
B channel send locking structure.
Definition at line 333 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 477 of file isdn_lib.h.
Referenced by misdn_call(), import_ch(), export_ch(), cb_events(), empty_bc(), misdn_lib_log_ies(), parse_setup(), and build_setup().
| int set_presentation |
TRUE if the user set the presentation restriction code.
Definition at line 613 of file isdn_lib.h.
Referenced by misdn_call(), misdn_set_opt_exec(), empty_bc(), and misdn_lib_log_ies().
| int stack_holder |
TRUE if this channel is on the misdn_stack->holding list.
Definition at line 571 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 451 of file isdn_lib.h.
Referenced by read_config(), empty_bc(), and create_process().
| int time_usec |
Definition at line 443 of file isdn_lib.h.
Referenced by empty_bc().
| int tone_cnt |
Number of tone samples to generate.
Definition at line 554 of file isdn_lib.h.
Referenced by cb_events(), empty_bc(), and do_tone().
| int txgain |
Tx gain setting (range -8 to 8)
Definition at line 718 of file isdn_lib.h.
Referenced by read_config(), process_ast_dsp(), misdn_set_opt_exec(), empty_bc(), handle_event(), misdn_lib_send_event(), and isdn_lib_update_txgain().
| int upset |
Definition at line 548 of file isdn_lib.h.
| int urate |
Q.931 Bearer Capability IE Layer 1 User Rate field.
Definition at line 639 of file isdn_lib.h.
Referenced by export_ch(), empty_bc(), misdn_lib_log_ies(), and parse_setup().
| int user1 |
Q.931 Bearer Capability IE User Information Layer 1 Protocol field code.
Definition at line 634 of file isdn_lib.h.
Referenced by empty_bc(), misdn_lib_log_ies(), and parse_setup().
| char uu[256] |
User-User information string.
Definition at line 673 of file isdn_lib.h.
Referenced by misdn_hangup(), import_ch(), export_ch(), empty_bc(), parse_setup(), build_setup(), build_disconnect(), build_release(), and build_release_complete().
| int uulen |
User-User information string length in uu[].
Definition at line 676 of file isdn_lib.h.
Referenced by misdn_hangup(), import_ch(), export_ch(), empty_bc(), parse_setup(), build_setup(), build_disconnect(), build_release(), and build_release_complete().