Asterisk - The Open Source Telephony Project
18.5.0
|
Interface to mISDN - message parser. More...
Go to the source code of this file.
Macros | |
#define | ANY_CHANNEL 0xff /* IE attribute for 'any channel' */ |
#define | msgs_max (sizeof(msgs_g)/sizeof(struct isdn_msg)) |
Functions | |
static msg_t * | build_alerting (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_connect (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_connect_acknowledge (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_disconnect (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static void | build_display_str (char *display, size_t display_length, int display_format, const char *name, const char *number) |
static msg_t * | build_facility (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_hold (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_hold_acknowledge (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_hold_reject (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_information (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_notify (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_proceeding (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_progress (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_release (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_release_complete (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_restart (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_resume (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_resume_acknowledge (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_resume_reject (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_retrieve (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_retrieve_acknowledge (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_retrieve_reject (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_setup (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_setup_acknowledge (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_status (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_status_enquiry (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_suspend (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_suspend_acknowledge (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_suspend_reject (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_timeout (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static msg_t * | build_user_information (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt) |
static void | dec_ie_facility (unsigned char *p, Q931_info_t *qi, struct FacParm *fac, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_facility (unsigned char **ntmode, msg_t *msg, struct FacParm *fac, int nt) |
char * | isdn_get_info (struct isdn_msg msgs[], enum event_e event, int nt) |
msg_t * | isdn_msg_build_event (struct isdn_msg msgs[], struct misdn_bchannel *bc, enum event_e event, int nt) |
enum event_e | isdn_msg_get_event (struct isdn_msg msgs[], msg_t *msg, int nt) |
int | isdn_msg_get_index (struct isdn_msg msgs[], msg_t *msg, int nt) |
int | isdn_msg_get_index_by_event (struct isdn_msg msgs[], enum event_e event, int nt) |
char * | isdn_msg_get_info (struct isdn_msg msgs[], msg_t *msg, int nt) |
int | isdn_msg_parse_event (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_alerting (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_connect (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_connect_acknowledge (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_disconnect (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_facility (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_hold (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_hold_acknowledge (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_hold_reject (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_information (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_notify (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_proceeding (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_progress (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_release (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_release_complete (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_restart (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_resume (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_resume_acknowledge (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_resume_reject (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_retrieve (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_retrieve_acknowledge (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_retrieve_reject (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_setup (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_setup_acknowledge (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_status (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_status_enquiry (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_suspend (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_suspend_acknowledge (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_suspend_reject (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_timeout (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | parse_user_information (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *bc, int nt) |
static void | set_channel (struct misdn_bchannel *bc, int channel) |
Variables | |
char | EVENT_BCHAN_ACTIVATED_INFO [] = "BCHAN_ACTIVATED" |
char | EVENT_BCHAN_DATA_INFO [] = "BCHAN_DATA" |
char | EVENT_BCHAN_ERROR_INFO [] = "BCHAN_ERROR" |
char | EVENT_CLEAN_INFO [] = "CLEAN_UP" |
char | EVENT_DTMF_TONE_INFO [] = "DTMF_TONE" |
char | EVENT_NEW_BC_INFO [] = "NEW_BC" |
char | EVENT_NEW_CHANNEL_INFO [] = "NEW_CHANNEL" |
char | EVENT_NEW_L3ID_INFO [] = "NEW_L3ID" |
char | EVENT_PORT_ALARM_INFO [] = "ALARM" |
char | EVENT_TONE_GENERATE_INFO [] = "TONE_GENERATE" |
struct isdn_msg | msgs_g [] |
Interface to mISDN - message parser.
Definition in file isdn_msg_parser.c.
#define ANY_CHANNEL 0xff /* IE attribute for 'any channel' */ |
Definition at line 501 of file isdn_msg_parser.c.
Referenced by build_setup().
Definition at line 1673 of file isdn_msg_parser.c.
Referenced by isdn_msg_get_index(), and isdn_msg_get_index_by_event().
|
static |
Definition at line 237 of file isdn_msg_parser.c.
References misdn_bchannel::channel, create_l3msg(), enc_ie_channel_id(), enc_ie_facility(), enc_ie_progress(), misdn_bchannel::fac_out, HEADER_LEN, misdn_bchannel::l3_id, mISDNUSER_HEAD_SIZE, and misdn_stack::nt.
|
static |
Definition at line 682 of file isdn_msg_parser.c.
References build_display_str(), cb_log, misdn_bchannel::connected, create_l3msg(), misdn_bchannel::display, misdn_bchannel::display_connected, enc_ie_connected_pn(), enc_ie_date(), enc_ie_display(), enc_ie_facility(), misdn_bchannel::fac_out, HEADER_LEN, misdn_bchannel::l3_id, mISDNUSER_HEAD_SIZE, misdn_party_id::name, misdn_stack::nt, misdn_party_id::number, misdn_party_id::number_plan, misdn_party_id::number_type, misdn_bchannel::outgoing_colp, misdn_bchannel::port, misdn_party_id::presentation, and misdn_party_id::screening.
|
static |
Definition at line 785 of file isdn_msg_parser.c.
References misdn_bchannel::channel, create_l3msg(), enc_ie_channel_id(), HEADER_LEN, misdn_bchannel::l3_id, mISDNUSER_HEAD_SIZE, and misdn_stack::nt.
|
static |
Definition at line 1072 of file isdn_msg_parser.c.
References cb_log, create_l3msg(), enc_ie_cause(), enc_ie_facility(), enc_ie_progress(), enc_ie_useruser(), misdn_bchannel::fac_out, HEADER_LEN, misdn_bchannel::l3_id, mISDNUSER_HEAD_SIZE, misdn_stack::nt, misdn_bchannel::out_cause, misdn_bchannel::port, misdn_bchannel::uu, and misdn_bchannel::uulen.
|
static |
|
static |
Definition at line 1316 of file isdn_msg_parser.c.
References create_l3msg(), dec_ie_facility(), misdn_bchannel::display, enc_ie_display(), enc_ie_facility(), enc_ie_notify(), enc_ie_redir_dn(), misdn_bchannel::fac_in, misdn_bchannel::fac_out, HEADER_LEN, misdn_bchannel::l3_id, len(), mISDN_NOTIFY_CODE_INVALID, mISDNUSER_HEAD_SIZE, misdn_bchannel::notify_description_code, misdn_stack::nt, misdn_bchannel::nt, NULL, misdn_party_id::number, misdn_party_id::number_plan, misdn_party_id::number_type, misdn_bchannel::outgoing_colp, misdn_party_id::presentation, misdn_bchannel::redirecting, misdn_party_redirecting::to, and misdn_party_redirecting::to_changed.
|
static |
Definition at line 867 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 924 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 981 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 1558 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::display, enc_ie_called_pn(), enc_ie_display(), HEADER_LEN, misdn_bchannel::info_dad, misdn_bchannel::l3_id, mISDNUSER_HEAD_SIZE, and misdn_stack::nt.
|
static |
Definition at line 1496 of file isdn_msg_parser.c.
References create_l3msg(), enc_ie_notify(), enc_ie_redir_dn(), HEADER_LEN, misdn_bchannel::l3_id, mISDN_NOTIFY_CODE_INVALID, mISDNUSER_HEAD_SIZE, misdn_bchannel::notify_description_code, misdn_stack::nt, misdn_party_id::number, misdn_party_id::number_plan, misdn_party_id::number_type, misdn_bchannel::outgoing_colp, misdn_party_id::presentation, misdn_bchannel::redirecting, misdn_party_redirecting::to, and misdn_party_redirecting::to_changed.
|
static |
Definition at line 193 of file isdn_msg_parser.c.
References misdn_bchannel::channel, create_l3msg(), enc_ie_channel_id(), enc_ie_facility(), enc_ie_progress(), misdn_bchannel::fac_out, HEADER_LEN, misdn_bchannel::l3_id, mISDNUSER_HEAD_SIZE, and misdn_stack::nt.
|
static |
Definition at line 278 of file isdn_msg_parser.c.
References bc, create_l3msg(), enc_ie_facility(), enc_ie_progress(), misdn_bchannel::fac_out, HEADER_LEN, misdn_bchannel::l3_id, mISDNUSER_HEAD_SIZE, misdn_stack::nt, and NULL.
|
static |
Definition at line 1162 of file isdn_msg_parser.c.
References cb_log, create_l3msg(), enc_ie_cause(), enc_ie_facility(), enc_ie_useruser(), misdn_bchannel::fac_out, HEADER_LEN, misdn_bchannel::l3_id, mISDNUSER_HEAD_SIZE, misdn_stack::nt, misdn_bchannel::out_cause, misdn_bchannel::port, misdn_bchannel::uu, and misdn_bchannel::uulen.
|
static |
Definition at line 1225 of file isdn_msg_parser.c.
References cb_log, create_l3msg(), enc_ie_cause(), enc_ie_facility(), enc_ie_useruser(), misdn_bchannel::fac_out, HEADER_LEN, misdn_bchannel::l3_id, mISDNUSER_HEAD_SIZE, misdn_stack::nt, misdn_bchannel::out_cause, misdn_bchannel::port, misdn_bchannel::uu, and misdn_bchannel::uulen.
|
static |
Definition at line 1120 of file isdn_msg_parser.c.
References cb_log, misdn_bchannel::channel, create_l3msg(), enc_ie_channel_id(), enc_ie_restart_ind(), HEADER_LEN, misdn_bchannel::l3_id, mISDNUSER_HEAD_SIZE, misdn_stack::nt, and misdn_bchannel::port.
|
static |
Definition at line 905 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 962 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 848 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 1000 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 1019 of file isdn_msg_parser.c.
References misdn_bchannel::channel, create_l3msg(), enc_ie_channel_id(), HEADER_LEN, misdn_bchannel::l3_id, mISDNUSER_HEAD_SIZE, and misdn_stack::nt.
|
static |
Definition at line 1043 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 502 of file isdn_msg_parser.c.
References ANY_CHANNEL, build_display_str(), misdn_bchannel::caller, misdn_bchannel::capability, cb_log, misdn_bchannel::channel, create_l3msg(), misdn_bchannel::dialed, misdn_bchannel::display, misdn_bchannel::display_setup, enc_ie_bearer(), enc_ie_called_pn(), enc_ie_calling_pn(), enc_ie_channel_id(), enc_ie_complete(), enc_ie_display(), enc_ie_facility(), enc_ie_keypad(), enc_ie_redir_nr(), enc_ie_useruser(), misdn_bchannel::fac_out, misdn_party_redirecting::from, HEADER_LEN, INFO_CAPABILITY_DIGITAL_RESTRICTED, INFO_CAPABILITY_DIGITAL_UNRESTRICTED, INFO_CAPABILITY_SPEECH, INFO_CODEC_ALAW, INFO_CODEC_ULAW, misdn_bchannel::keypad, misdn_bchannel::l3_id, misdn_bchannel::law, misdn_lib_is_ptp(), mISDNUSER_HEAD_SIZE, misdn_bchannel::mode, misdn_party_id::name, misdn_stack::nt, misdn_party_dialing::number, misdn_party_id::number, misdn_party_id::number_plan, misdn_party_dialing::number_plan, misdn_party_id::number_type, misdn_party_dialing::number_type, misdn_bchannel::outgoing_colp, misdn_bchannel::port, misdn_party_id::presentation, misdn_bchannel::rate, misdn_party_redirecting::reason, misdn_bchannel::redirecting, misdn_party_id::screening, misdn_bchannel::sending_complete, user, misdn_bchannel::uu, and misdn_bchannel::uulen.
|
static |
Definition at line 753 of file isdn_msg_parser.c.
References misdn_bchannel::channel, create_l3msg(), enc_ie_channel_id(), enc_ie_facility(), enc_ie_progress(), misdn_bchannel::fac_out, HEADER_LEN, misdn_bchannel::l3_id, mISDNUSER_HEAD_SIZE, and misdn_stack::nt.
|
static |
Definition at line 1598 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 1534 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 886 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 943 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 829 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 1615 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 810 of file isdn_msg_parser.c.
References create_l3msg(), misdn_bchannel::l3_id, and misdn_stack::nt.
|
static |
Definition at line 120 of file isdn_msg_parser.c.
References cb_log, NULL, and misdn_bchannel::port.
Referenced by build_facility(), parse_alerting(), parse_connect(), parse_disconnect(), parse_proceeding(), parse_progress(), parse_release(), parse_release_complete(), parse_setup(), and parse_setup_acknowledge().
|
static |
Definition at line 77 of file isdn_msg_parser.c.
Referenced by build_alerting(), build_connect(), build_disconnect(), build_facility(), build_proceeding(), build_progress(), build_release(), build_release_complete(), build_setup(), and build_setup_acknowledge().
Definition at line 1734 of file isdn_msg_parser.c.
References EVENT_BCHAN_ACTIVATED, EVENT_BCHAN_ACTIVATED_INFO, EVENT_BCHAN_DATA, EVENT_BCHAN_DATA_INFO, EVENT_BCHAN_ERROR, EVENT_BCHAN_ERROR_INFO, EVENT_CLEAN_INFO, EVENT_CLEANUP, EVENT_DTMF_TONE, EVENT_DTMF_TONE_INFO, EVENT_NEW_BC, EVENT_NEW_BC_INFO, EVENT_NEW_CHANNEL, EVENT_NEW_CHANNEL_INFO, EVENT_NEW_L3ID, EVENT_NEW_L3ID_INFO, EVENT_PORT_ALARM, EVENT_PORT_ALARM_INFO, EVENT_TONE_GENERATE, EVENT_TONE_GENERATE_INFO, isdn_msg::info, isdn_msg_get_index_by_event(), and NULL.
Referenced by handle_event_nt(), handle_frm_te(), manager_isdn_get_info(), and misdn_lib_send_event().
msg_t* isdn_msg_build_event | ( | struct isdn_msg | msgs[], |
struct misdn_bchannel * | bc, | ||
enum event_e | event, | ||
int | nt | ||
) |
Definition at line 1763 of file isdn_msg_parser.c.
References isdn_msg_get_index_by_event(), isdn_msg::msg_builder, and NULL.
Referenced by misdn_lib_send_event().
Definition at line 1708 of file isdn_msg_parser.c.
References isdn_msg::event, EVENT_UNKNOWN, and isdn_msg_get_index().
Referenced by handle_event_nt(), and handle_frm_te().
int isdn_msg_get_index | ( | struct isdn_msg | msgs[], |
msg_t * | msg, | ||
int | nt | ||
) |
INTERFACE FCTS
Definition at line 1676 of file isdn_msg_parser.c.
References isdn_msg::misdn_msg, and msgs_max.
Referenced by isdn_msg_get_event(), isdn_msg_get_info(), and isdn_msg_parse_event().
Definition at line 1697 of file isdn_msg_parser.c.
References cb_log, and msgs_max.
Referenced by isdn_get_info(), and isdn_msg_build_event().
char* isdn_msg_get_info | ( | struct isdn_msg | msgs[], |
msg_t * | msg, | ||
int | nt | ||
) |
Definition at line 1715 of file isdn_msg_parser.c.
References isdn_msg::info, isdn_msg_get_index(), and NULL.
int isdn_msg_parse_event | ( | struct isdn_msg | msgs[], |
msg_t * | msg, | ||
struct misdn_bchannel * | bc, | ||
int | nt | ||
) |
Definition at line 1754 of file isdn_msg_parser.c.
References isdn_msg_get_index(), and isdn_msg::msg_parser.
Referenced by handle_event_nt(), and handle_frm_te().
|
static |
Definition at line 218 of file isdn_msg_parser.c.
References dec_ie_facility(), dec_ie_progress(), misdn_bchannel::fac_in, HEADER_LEN, mISDNUSER_HEAD_SIZE, misdn_bchannel::progress_coding, misdn_bchannel::progress_indicator, and misdn_bchannel::progress_location.
|
static |
Definition at line 636 of file isdn_msg_parser.c.
References misdn_bchannel::ces, misdn_bchannel::connected, dec_ie_connected_pn(), dec_ie_facility(), dec_ie_progress(), misdn_bchannel::fac_in, HEADER_LEN, mISDNUSER_HEAD_SIZE, misdn_party_id::number, misdn_party_id::number_plan, misdn_party_id::number_type, misdn_party_id::presentation, misdn_bchannel::progress_coding, misdn_bchannel::progress_indicator, misdn_bchannel::progress_location, misdn_party_id::screening, and type.
|
static |
Definition at line 776 of file isdn_msg_parser.c.
|
static |
Definition at line 1053 of file isdn_msg_parser.c.
References misdn_bchannel::cause, dec_ie_cause(), dec_ie_facility(), dec_ie_progress(), misdn_bchannel::fac_in, HEADER_LEN, mISDNUSER_HEAD_SIZE, misdn_bchannel::progress_coding, misdn_bchannel::progress_indicator, and misdn_bchannel::progress_location.
|
static |
Definition at line 1251 of file isdn_msg_parser.c.
References cb_log, dec_ie_notify(), dec_ie_redir_dn(), misdn_bchannel::fac_in, HEADER_LEN, mISDN_NOTIFY_CODE_INVALID, mISDNUSER_HEAD_SIZE, misdn_bchannel::notify_description_code, misdn_bchannel::nt, NULL, misdn_party_id::number, misdn_party_id::number_plan, misdn_party_id::number_type, misdn_bchannel::port, misdn_party_id::presentation, misdn_bchannel::redirecting, misdn_party_id::screening, misdn_party_redirecting::to, misdn_party_redirecting::to_changed, and type.
|
static |
Definition at line 858 of file isdn_msg_parser.c.
|
static |
Definition at line 915 of file isdn_msg_parser.c.
|
static |
Definition at line 972 of file isdn_msg_parser.c.
|
static |
Definition at line 1544 of file isdn_msg_parser.c.
References dec_ie_called_pn(), dec_ie_keypad(), HEADER_LEN, misdn_bchannel::info_dad, misdn_bchannel::keypad, mISDNUSER_HEAD_SIZE, and type.
|
static |
Definition at line 1452 of file isdn_msg_parser.c.
References dec_ie_notify(), dec_ie_redir_dn(), HEADER_LEN, mISDN_NOTIFY_CODE_INVALID, mISDNUSER_HEAD_SIZE, misdn_bchannel::notify_description_code, misdn_party_id::number, misdn_party_id::number_plan, misdn_party_id::number_type, misdn_party_id::presentation, misdn_bchannel::redirecting, misdn_party_id::screening, misdn_party_redirecting::to, misdn_party_redirecting::to_changed, and type.
|
static |
Definition at line 169 of file isdn_msg_parser.c.
References dec_ie_channel_id(), dec_ie_facility(), dec_ie_progress(), misdn_bchannel::fac_in, HEADER_LEN, mISDNUSER_HEAD_SIZE, misdn_bchannel::progress_coding, misdn_bchannel::progress_indicator, misdn_bchannel::progress_location, and set_channel().
|
static |
Definition at line 263 of file isdn_msg_parser.c.
References dec_ie_facility(), dec_ie_progress(), misdn_bchannel::fac_in, HEADER_LEN, mISDNUSER_HEAD_SIZE, misdn_bchannel::progress_coding, misdn_bchannel::progress_indicator, and misdn_bchannel::progress_location.
|
static |
Definition at line 1143 of file isdn_msg_parser.c.
References misdn_bchannel::cause, dec_ie_cause(), dec_ie_facility(), misdn_bchannel::fac_in, HEADER_LEN, and mISDNUSER_HEAD_SIZE.
|
static |
Definition at line 1189 of file isdn_msg_parser.c.
References misdn_bchannel::cause, cb_log, dec_ie_cause(), dec_ie_facility(), misdn_bchannel::fac_in, get_stack_by_bc(), HEADER_LEN, if(), and mISDNUSER_HEAD_SIZE.
|
static |
Definition at line 1101 of file isdn_msg_parser.c.
References cb_log, dec_ie_channel_id(), get_stack_by_bc(), HEADER_LEN, mISDNUSER_HEAD_SIZE, misdn_stack::port, and misdn_bchannel::restart_channel.
|
static |
Definition at line 896 of file isdn_msg_parser.c.
|
static |
Definition at line 953 of file isdn_msg_parser.c.
|
static |
Definition at line 839 of file isdn_msg_parser.c.
|
static |
Definition at line 991 of file isdn_msg_parser.c.
|
static |
Definition at line 1010 of file isdn_msg_parser.c.
|
static |
Definition at line 1034 of file isdn_msg_parser.c.
|
static |
Definition at line 369 of file isdn_msg_parser.c.
References misdn_bchannel::caller, misdn_bchannel::capability, cb_log, dec_ie_bearer(), dec_ie_called_pn(), dec_ie_calling_pn(), dec_ie_channel_id(), dec_ie_complete(), dec_ie_facility(), dec_ie_keypad(), dec_ie_progress(), dec_ie_redir_nr(), dec_ie_useruser(), misdn_bchannel::dialed, misdn_bchannel::fac_in, misdn_party_redirecting::from, HEADER_LEN, INFO_CAPABILITY_DIGITAL_RESTRICTED, INFO_CAPABILITY_DIGITAL_UNRESTRICTED, INFO_CAPABILITY_SPEECH, INFO_CAPABILITY_VIDEO, INFO_CODEC_ALAW, INFO_CODEC_ULAW, misdn_bchannel::keypad, misdn_bchannel::law, mISDN_REDIRECTING_REASON_UNKNOWN, mISDNUSER_HEAD_SIZE, misdn_bchannel::mode, misdn_party_dialing::number, misdn_party_id::number, misdn_party_id::number_plan, misdn_party_dialing::number_plan, misdn_party_id::number_type, misdn_party_dialing::number_type, misdn_bchannel::port, misdn_party_id::presentation, misdn_bchannel::progress_coding, misdn_bchannel::progress_indicator, misdn_bchannel::progress_location, misdn_bchannel::rate, misdn_party_redirecting::reason, misdn_bchannel::redirecting, misdn_party_id::screening, misdn_bchannel::sending_complete, set_channel(), type, misdn_bchannel::urate, user, misdn_bchannel::user1, misdn_bchannel::uu, and misdn_bchannel::uulen.
|
static |
Definition at line 729 of file isdn_msg_parser.c.
References dec_ie_channel_id(), dec_ie_facility(), dec_ie_progress(), misdn_bchannel::fac_in, HEADER_LEN, mISDNUSER_HEAD_SIZE, misdn_bchannel::progress_coding, misdn_bchannel::progress_indicator, misdn_bchannel::progress_location, and set_channel().
|
static |
Definition at line 1583 of file isdn_msg_parser.c.
References misdn_bchannel::cause, dec_ie_cause(), HEADER_LEN, mISDNUSER_HEAD_SIZE, and status.
|
static |
Definition at line 1527 of file isdn_msg_parser.c.
|
static |
Definition at line 877 of file isdn_msg_parser.c.
|
static |
Definition at line 934 of file isdn_msg_parser.c.
|
static |
Definition at line 820 of file isdn_msg_parser.c.
|
static |
Definition at line 1608 of file isdn_msg_parser.c.
|
static |
Definition at line 801 of file isdn_msg_parser.c.
|
static |
Definition at line 141 of file isdn_msg_parser.c.
References cb_event, cb_log, misdn_bchannel::channel, EVENT_NEW_CHANNEL, misdn_bchannel::nt, NULL, and misdn_bchannel::port.
Referenced by parse_proceeding(), parse_setup(), and parse_setup_acknowledge().
char EVENT_BCHAN_ACTIVATED_INFO[] = "BCHAN_ACTIVATED" |
Definition at line 1730 of file isdn_msg_parser.c.
Referenced by isdn_get_info().
char EVENT_BCHAN_DATA_INFO[] = "BCHAN_DATA" |
Definition at line 1729 of file isdn_msg_parser.c.
Referenced by isdn_get_info().
char EVENT_BCHAN_ERROR_INFO[] = "BCHAN_ERROR" |
Definition at line 1732 of file isdn_msg_parser.c.
Referenced by isdn_get_info().
char EVENT_CLEAN_INFO[] = "CLEAN_UP" |
Definition at line 1723 of file isdn_msg_parser.c.
Referenced by isdn_get_info().
char EVENT_DTMF_TONE_INFO[] = "DTMF_TONE" |
Definition at line 1724 of file isdn_msg_parser.c.
Referenced by isdn_get_info().
char EVENT_NEW_BC_INFO[] = "NEW_BC" |
Definition at line 1726 of file isdn_msg_parser.c.
Referenced by isdn_get_info().
char EVENT_NEW_CHANNEL_INFO[] = "NEW_CHANNEL" |
Definition at line 1728 of file isdn_msg_parser.c.
Referenced by isdn_get_info().
char EVENT_NEW_L3ID_INFO[] = "NEW_L3ID" |
Definition at line 1725 of file isdn_msg_parser.c.
Referenced by isdn_get_info().
char EVENT_PORT_ALARM_INFO[] = "ALARM" |
Definition at line 1727 of file isdn_msg_parser.c.
Referenced by isdn_get_info().
char EVENT_TONE_GENERATE_INFO[] = "TONE_GENERATE" |
Definition at line 1731 of file isdn_msg_parser.c.
Referenced by isdn_get_info().
struct isdn_msg msgs_g[] |
Msg Array
Definition at line 1633 of file isdn_msg_parser.c.
Referenced by handle_event_nt(), handle_frm_te(), manager_isdn_get_info(), and misdn_lib_send_event().