#include <sig_pri.h>

| unsigned int allow_call_waiting_calls |
TRUE if we will allow incoming ISDN call waiting calls.
Definition at line 464 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), and process_dahdi().
Represents what AOC messages (S,D,E) are allowed to pass-through
Definition at line 443 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), sig_pri_aoc_request_from_pri(), sig_pri_handle_subcmds(), and sig_pri_indicate().
| unsigned int aoce_delayhangup |
defines whether the aoce_delayhangup option is enabled or not
Definition at line 444 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), and process_dahdi().
| unsigned int append_msn_to_user_tag |
TRUE if a new call's sig_pri_chan.user_tag[] has the MSN appended to the initial_user_tag[].
Definition at line 472 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), pri_ss_thread(), process_dahdi(), and sig_pri_call().
| struct ast_cc_config_params* cc_params |
CC config parameters for each new call.
Definition at line 429 of file sig_pri.h.
Referenced by dahdi_cc_callback(), dahdi_new(), and mkintf().
CC PTMP recall mode. globalRecall(0), specificRecall(1)
Definition at line 532 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_start_pri().
CC Q.SIG signaling link retention (Party A) release(0), retain(1), do-not-care(2)
Definition at line 533 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_start_pri().
CC Q.SIG signaling link retention (Party B) release(0), retain(1)
Definition at line 534 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_start_pri().
| struct { ... } ch_cfg |
Referenced by mkintf(), my_pri_init_config(), and sig_pri_init_config().
Send connected line signaling to peer option.
Definition at line 493 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_indicate().
Congestion device state of the span.
AST_DEVICE_NOT_INUSE - Span does not have all B channels in use. AST_DEVICE_BUSY - All B channels are in use. AST_DEVICE_UNAVAILABLE - Span is in alarm.
Definition at line 599 of file sig_pri.h.
Referenced by dahdi_devicestate(), and dahdi_pri_update_span_devstate().
| char context[AST_MAX_CONTEXT] |
Definition at line 551 of file sig_pri.h.
Referenced by mkintf(), my_pri_init_config(), and sig_pri_init_config().
| int cpndialplan |
Connected party dialing plan
Definition at line 485 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_indicate().
| int datetime_send |
Configured date/time ie send policy option.
Definition at line 481 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_start_pri().
Logical offset the DCHAN sits in
Definition at line 439 of file sig_pri.h.
Referenced by prepare_pri(), and pri_find_principle().
Whether each channel is available
Definition at line 562 of file sig_pri.h.
Referenced by pri_dchannel(), pri_event_alarm(), pri_event_noalarm(), pri_is_up(), sig_pri_ami_show_spans(), sig_pri_cli_show_span(), and sig_pri_cli_show_spans().
| struct pri* dchans[SIG_PRI_NUM_DCHANS] |
Actual d-channels
Definition at line 573 of file sig_pri.h.
Referenced by handle_pri_show_debug(), pri_active_dchan_index(), pri_dchannel(), pri_event_noalarm(), pri_find_dchan(), sig_pri_ami_show_spans(), sig_pri_cli_show_span(), sig_pri_cli_show_spans(), and sig_pri_start_pri().
| int debug |
set to true if to dump PRI event info
Definition at line 563 of file sig_pri.h.
Referenced by handle_pri_debug(), and pri_dchannel().
| int dialplan |
Dialing plan
Definition at line 483 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_call().
shall remote hold or remote retrieval notifications be discarded?
Definition at line 433 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), and process_dahdi().
| unsigned long display_flags_receive |
PRI_DISPLAY_OPTION_xxx flags for display text receiving
Definition at line 497 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_start_pri().
| unsigned long display_flags_send |
PRI_DISPLAY_OPTION_xxx flags for display text sending
Definition at line 496 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_start_pri().
| unsigned int enable_service_message_support |
enable SERVICE message support
Definition at line 448 of file sig_pri.h.
Referenced by handle_pri_service_generic(), mkintf(), process_dahdi(), and sig_pri_start_pri().
| int facilityenable |
Enable facility IEs
Definition at line 434 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_call().
| int fds[SIG_PRI_NUM_DCHANS] |
FD's for d-channels
Definition at line 440 of file sig_pri.h.
Referenced by dahdi_close_pri_fd(), my_handle_dchan_exception(), prepare_pri(), pri_dchannel(), pri_find_dchan(), sig_pri_init_pri(), and sig_pri_start_pri().
| unsigned int hidecallerid |
Definition at line 544 of file sig_pri.h.
Referenced by mkintf(), my_pri_init_config(), and sig_pri_init_config().
| unsigned int hidecalleridname |
Hide just the name not the number for legacy PBX use
Definition at line 545 of file sig_pri.h.
Referenced by mkintf(), my_pri_init_config(), and sig_pri_init_config().
| unsigned int hold_disconnect_transfer |
TRUE if held calls are transferred on disconnect.
Definition at line 455 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), and process_dahdi().
| char idlecontext[AST_MAX_CONTEXT] |
What context to use for idle
Definition at line 523 of file sig_pri.h.
Referenced by do_idle_thread(), and pri_dchannel().
| char idledial[AST_MAX_EXTENSION] |
What to dial before dumping
Definition at line 524 of file sig_pri.h.
Referenced by do_idle_thread(), mkintf(), pri_dchannel(), and process_dahdi().
| char idleext[AST_MAX_EXTENSION] |
Where to idle extra calls
Definition at line 522 of file sig_pri.h.
Referenced by do_idle_thread(), mkintf(), pri_dchannel(), and process_dahdi().
| unsigned int immediate |
Answer before getting digits?
Definition at line 546 of file sig_pri.h.
Referenced by mkintf(), my_pri_init_config(), and sig_pri_init_config().
| unsigned int inband_on_proceeding |
TRUE if a PROCEEDING message needs to unsquelch the received audio.
Definition at line 474 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), and process_dahdi().
| unsigned int inbanddisconnect |
Should we support inband audio after receiving DISCONNECT?
Definition at line 451 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_start_pri().
Initial user tag for party id's sent from this device driver.
Definition at line 520 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), pri_ss_thread(), and sig_pri_call().
| char internationalprefix[10] |
country access code ('00' for european dialplans)
Definition at line 486 of file sig_pri.h.
Referenced by apply_plan_to_number(), mkintf(), process_dahdi(), sig_pri_call(), and sig_pri_indicate().
| int l2_persistence |
Layer 2 persistence option.
Definition at line 437 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_start_pri().
| time_t lastreset |
time when unused channels were last reset
Definition at line 589 of file sig_pri.h.
Referenced by pri_check_restart(), and pri_dchannel().
| unsigned int layer1_ignored |
TRUE if layer 1 alarm status is ignored
Definition at line 467 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_is_alarm_ignored().
| int localdialplan |
Local dialing plan
Definition at line 484 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_call().
| char localprefix[20] |
area access code + area code ('0'+area code for european dialplans)
Definition at line 488 of file sig_pri.h.
Referenced by apply_plan_to_number(), mkintf(), and process_dahdi().
libpri access Mutex
Definition at line 588 of file sig_pri.h.
Referenced by create_channel_name(), dahdi_bridge(), dahdi_unlink_pri_pvt(), destroy_all_channels(), handle_pri_service_generic(), pri_dchannel(), pri_grab(), pri_rel(), pri_ss_thread(), sig_pri_attempt_transfer(), sig_pri_available(), sig_pri_cc_agent_callee_available(), sig_pri_cc_agent_destructor(), sig_pri_cc_agent_init(), sig_pri_cc_agent_party_b_free(), sig_pri_cc_agent_req_rsp(), sig_pri_cc_agent_status_req(), sig_pri_cc_agent_stop_ringing(), sig_pri_cc_monitor_instance_destroy(), sig_pri_cc_monitor_req_cc(), sig_pri_cc_monitor_status_rsp(), sig_pri_cc_monitor_suspend(), sig_pri_cc_monitor_unsuspend(), sig_pri_cli_show_channels(), sig_pri_cli_show_span(), sig_pri_init_pri(), sig_pri_lock_owner(), sig_pri_new_ast_channel(), sig_pri_send_mwi_indication(), sig_pri_start_pri(), and unload_module().
| pthread_t master |
Thread of master
Definition at line 587 of file sig_pri.h.
Referenced by __unload_module(), dahdi_restart(), pri_destroy_dchan(), pri_grab(), sig_pri_init_pri(), and sig_pri_start_pri().
Number of extra outgoing calls to allow on a span before considering that span congested.
Definition at line 541 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_cw_available().
Active MWI mailboxes.
Definition at line 501 of file sig_pri.h.
Referenced by sig_pri_mwi_cache_update(), sig_pri_mwi_event_cb(), sig_pri_start_pri(), and sig_pri_stop_pri().
| unsigned int mcid_send |
TRUE if allow sending MCID request on this span.
Definition at line 477 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_indicate().
| int minidle |
Min # of "idling" calls to keep active
Definition at line 526 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), and process_dahdi().
| int minunused |
Min # of channels to keep empty
Definition at line 525 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), and process_dahdi().
Definition at line 491 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), sig_pri_moh_fsm_idle(), and sig_pri_moh_fsm_pend_hold().
| char mohinterpret[MAX_MUSICCLASS] |
Definition at line 552 of file sig_pri.h.
Referenced by mkintf(), my_pri_init_config(), and sig_pri_init_config().
| char msn_list[AST_MAX_EXTENSION] |
Comma separated list of MSNs to handle. Empty if disabled.
Definition at line 521 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), and process_dahdi().
Comma separated list of mailboxes to indicate MWI.
Definition at line 508 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_start_pri().
Comma separated list of voicemail access controlling numbers for MWI.
Definition at line 514 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_start_pri().
| char nationalprefix[10] |
area access code ('0' for european dialplans)
Definition at line 487 of file sig_pri.h.
Referenced by apply_plan_to_number(), mkintf(), process_dahdi(), sig_pri_call(), and sig_pri_indicate().
| int new_chan_seq |
New struct ast_channel sequence number
Definition at line 568 of file sig_pri.h.
Referenced by create_channel_name().
| void* no_b_chan_end |
List of private structures of the user of this module for no B channel interfaces. (hold and call waiting interfaces)
Definition at line 584 of file sig_pri.h.
Referenced by dahdi_nobch_extract(), and dahdi_nobch_insert().
| void* no_b_chan_iflist |
List of private structures of the user of this module for no B channel interfaces. (hold and call waiting interfaces)
Definition at line 579 of file sig_pri.h.
Referenced by dahdi_nobch_extract(), dahdi_nobch_insert(), and destroy_all_channels().
| unsigned int no_d_channels |
TRUE if we have already whined about no D channels available.
Definition at line 570 of file sig_pri.h.
Referenced by pri_dchannel(), and pri_find_dchan().
| int nodetype |
Node type
Definition at line 527 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), pri_ss_thread(), process_dahdi(), sig_pri_call(), sig_pri_cc_generic_check(), sig_pri_moh_retrieve_call(), and sig_pri_start_pri().
| int nsf |
Network-Specific Facilities
Definition at line 529 of file sig_pri.h.
Referenced by dahdi_chan_conf_default(), mkintf(), process_dahdi(), and sig_pri_start_pri().
Number of outstanding call waiting calls.
Definition at line 560 of file sig_pri.h.
Referenced by dahdi_request(), pri_dchannel(), sig_pri_available(), sig_pri_cw_available(), and sig_pri_hangup().
| int numchans |
Num of channels we represent
Definition at line 585 of file sig_pri.h.
Referenced by dahdi_new_pri_nobch_channel(), dahdi_pri_update_span_devstate(), dahdi_unlink_pri_pvt(), handle_pri_destroy_span(), mkintf(), pri_check_restart(), pri_dchannel(), pri_find_empty_chan(), pri_find_empty_nobch(), pri_find_principle(), pri_find_principle_by_call(), pri_fixup_principle(), sig_pri_cli_show_channels(), sig_pri_cw_available(), and sig_pri_sort_pri_chans().
| int overlapdial |
In overlap dialing mode
Definition at line 431 of file sig_pri.h.
Referenced by dahdi_handle_event(), dahdi_read(), mkintf(), pri_dchannel(), pri_ss_thread(), process_dahdi(), sig_pri_cli_show_span(), sig_pri_indicate(), and sig_pri_start_pri().
Currently active D-channel
Definition at line 574 of file sig_pri.h.
Referenced by action_prishowspans(), dahdi_handle_event(), dahdi_unlink_pri_pvt(), destroy_all_channels(), handle_pri_destroy_span(), handle_pri_service_generic(), handle_pri_show_channels(), handle_pri_show_debug(), handle_pri_show_span(), handle_pri_show_spans(), pri_active_dchan_index(), pri_check_restart(), pri_dchannel(), pri_destroy_dchan(), pri_find_dchan(), pri_send_callrerouting_facility_exec(), pri_send_keypad_facility_exec(), pri_ss_thread(), sig_pri_ami_show_spans(), sig_pri_answer(), sig_pri_aoc_d_from_ast(), sig_pri_aoc_request_from_pri(), sig_pri_aoc_s_from_ast(), sig_pri_available(), sig_pri_call(), sig_pri_cc_agent_callee_available(), sig_pri_cc_agent_destructor(), sig_pri_cc_agent_init(), sig_pri_cc_agent_party_b_free(), sig_pri_cc_agent_req_rsp(), sig_pri_cc_agent_status_req(), sig_pri_cc_agent_stop_ringing(), sig_pri_cc_monitor_instance_destroy(), sig_pri_cc_monitor_req_cc(), sig_pri_cc_monitor_status_rsp(), sig_pri_cc_monitor_suspend(), sig_pri_cc_monitor_unsuspend(), sig_pri_chan_alarm_notify(), sig_pri_cli_show_span(), sig_pri_cli_show_spans(), sig_pri_digit_begin(), sig_pri_handle_cis_subcmds(), sig_pri_handle_retrieve(), sig_pri_handle_subcmds(), sig_pri_hangup(), sig_pri_indicate(), sig_pri_kill_call(), sig_pri_moh_fsm_idle(), sig_pri_moh_fsm_notify(), sig_pri_moh_fsm_pend_hold(), sig_pri_moh_retrieve_call(), sig_pri_mwi_event_cb(), sig_pri_redirecting_update(), sig_pri_send_mwi_indication(), sig_pri_sendtext(), sig_pri_start_pri(), and sig_pri_transfer_rsp().
| unsigned int priexclusive |
Whether or not to override and use exculsive mode for channel selection
Definition at line 547 of file sig_pri.h.
Referenced by mkintf(), my_pri_init_config(), and sig_pri_init_config().
| unsigned int priindication_oob |
Definition at line 548 of file sig_pri.h.
Referenced by mkintf(), my_pri_init_config(), and sig_pri_init_config().
| int pritimers[PRI_MAX_TIMERS] |
Definition at line 430 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_start_pri().
| char privateprefix[20] |
for private dialplans
Definition at line 489 of file sig_pri.h.
Referenced by apply_plan_to_number(), mkintf(), and process_dahdi().
| struct sig_pri_chan* pvts[SIG_PRI_MAX_CHANNELS] |
Member channel pvt structs
Definition at line 586 of file sig_pri.h.
Referenced by dahdi_new_pri_nobch_channel(), dahdi_pri_update_span_devstate(), dahdi_unlink_pri_pvt(), func_pri_dchannel_chanpos_callid(), handle_pri_destroy_span(), mkintf(), pri_check_restart(), pri_dchannel(), pri_find_empty_chan(), pri_find_empty_nobch(), pri_find_principle(), pri_find_principle_by_call(), pri_fixup_principle(), pri_queue_control(), pri_queue_frame(), pri_queue_pvt_cause_data(), sig_pri_attempt_transfer(), sig_pri_cc_available(), sig_pri_cc_generic_check(), sig_pri_cli_show_channels(), sig_pri_cw_available(), sig_pri_handle_hold(), sig_pri_handle_hold_ack(), sig_pri_handle_hold_rej(), sig_pri_handle_retrieve(), sig_pri_handle_retrieve_ack(), sig_pri_handle_retrieve_rej(), sig_pri_handle_subcmds(), sig_pri_kill_call(), sig_pri_lock_owner(), sig_pri_moh_retrieve_call(), sig_pri_send_aoce_termination_request(), and sig_pri_sort_pri_chans().
QSIG channel mapping type
Definition at line 432 of file sig_pri.h.
Referenced by mkintf(), process_dahdi(), and sig_pri_start_pri().
| long resetinterval |
Interval (in seconds) for resetting unused channels
Definition at line 494 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), and process_dahdi().
| int resetpos |
current position during a reset (-1 if not started)
Definition at line 566 of file sig_pri.h.
Referenced by pri_check_restart(), pri_dchannel(), and sig_pri_start_pri().
| int resetting |
true if span is being reset/restarted
Definition at line 565 of file sig_pri.h.
Referenced by pri_check_restart(), and pri_dchannel().
| int sig |
ISDN signalling type (SIG_PRI, SIG_BRI, SIG_BRI_PTMP, etc...)
Definition at line 567 of file sig_pri.h.
Referenced by dahdi_new_pri_nobch_channel(), mkintf(), pri_dchannel(), pri_find_dchan(), sig_pri_cc_generic_check(), and sig_pri_start_pri().
| int span |
span number put into user output messages
Definition at line 564 of file sig_pri.h.
Referenced by action_prishowspans(), create_channel_name(), dahdi_cc_callback(), dahdi_new_pri_nobch_channel(), dahdi_pri_update_span_devstate(), is_group_or_channel_match(), my_handle_dchan_exception(), pri_check_restart(), pri_create_trunkgroup(), pri_dchannel(), pri_destroy_dchan(), pri_find_dchan(), pri_find_fixup_principle(), pri_resolve_span(), sig_pri_ami_show_spans(), sig_pri_cli_show_channels(), sig_pri_digit_begin(), sig_pri_handle_cis_subcmds(), sig_pri_handle_hold(), sig_pri_handle_hold_ack(), sig_pri_handle_hold_rej(), sig_pri_handle_retrieve(), sig_pri_handle_retrieve_rej(), sig_pri_handle_subcmds(), and sig_pri_start_pri().
| int stripmsd |
Definition at line 543 of file sig_pri.h.
Referenced by mkintf(), my_pri_init_config(), and sig_pri_init_config().
| int switchtype |
Type of switch to emulate
Definition at line 528 of file sig_pri.h.
Referenced by mkintf(), pri_dchannel(), process_dahdi(), and sig_pri_start_pri().
| unsigned int transfer |
TRUE if call transfer is enabled for the span.
Definition at line 461 of file sig_pri.h.
Referenced by dahdi_bridge(), mkintf(), and sig_pri_handle_subcmds().
| int trunkgroup |
What our trunkgroup is
Definition at line 530 of file sig_pri.h.
Referenced by pri_create_trunkgroup(), and pri_resolve_span().
| char unknownprefix[20] |
for unknown dialplans
Definition at line 490 of file sig_pri.h.
Referenced by apply_plan_to_number(), mkintf(), and process_dahdi().
| unsigned int use_callerid |
Whether or not to use caller id on this channel
Definition at line 549 of file sig_pri.h.
Referenced by mkintf(), my_pri_init_config(), and sig_pri_init_config().
| unsigned int use_callingpres |
Whether to use the callingpres the calling switch sends
Definition at line 550 of file sig_pri.h.
Referenced by mkintf(), my_pri_init_config(), and sig_pri_init_config().