Asterisk - The Open Source Telephony Project
18.5.0
|
#include <mISDNuser/mISDNlib.h>
#include <mISDNuser/isdn_net.h>
#include <mISDNuser/l3dss1.h>
#include <mISDNuser/net_l3.h>
#include <pthread.h>
#include "isdn_lib.h"
Go to the source code of this file.
Data Structures | |
struct | isdn_msg |
struct | misdn_stack |
struct | send_lock |
Macros | |
#define | MAXPROCS 0x100 |
#define | MISDN_MAX_REGISTER_LINKS 0 |
#define | mISDNUSER_HEAD_SIZE (sizeof(mISDNuser_head_t)) |
#define | QI_ELEMENT(a) a.off |
Functions | |
msg_t * | create_l3msg (int prim, int mt, int dinfo, int size, int nt) |
struct misdn_stack * | get_stack_by_bc (struct misdn_bchannel *bc) |
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 *frm, int nt) |
int | isdn_msg_get_index (struct isdn_msg msgs[], msg_t *frm, 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 *frm, struct misdn_bchannel *bc, int nt) |
#define MAXPROCS 0x100 |
Definition at line 62 of file isdn_lib_intern.h.
Referenced by create_process().
#define MISDN_MAX_REGISTER_LINKS 0 |
Definition at line 59 of file isdn_lib_intern.h.
#define mISDNUSER_HEAD_SIZE (sizeof(mISDNuser_head_t)) |
Definition at line 26 of file isdn_lib_intern.h.
Referenced by build_alerting(), build_connect(), build_connect_acknowledge(), build_disconnect(), build_facility(), build_information(), build_notify(), build_proceeding(), build_progress(), build_release(), build_release_complete(), build_restart(), build_retrieve_acknowledge(), build_setup(), build_setup_acknowledge(), handle_event_nt(), parse_alerting(), parse_connect(), parse_disconnect(), parse_facility(), parse_information(), parse_notify(), parse_proceeding(), parse_progress(), parse_release(), parse_release_complete(), parse_restart(), parse_setup(), parse_setup_acknowledge(), and parse_status().
#define QI_ELEMENT | ( | a | ) | a.off |
Definition at line 21 of file isdn_lib_intern.h.
msg_t* create_l3msg | ( | int | prim, |
int | mt, | ||
int | dinfo, | ||
int | size, | ||
int | nt | ||
) |
Definition at line 371 of file isdn_lib.c.
References NULL.
Referenced by 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(), and handle_event_nt().
struct misdn_stack* get_stack_by_bc | ( | struct misdn_bchannel * | bc | ) |
Definition at line 152 of file isdn_lib.c.
References get_misdn_stack(), misdn_stack::next, NULL, misdn_stack::port, and misdn_bchannel::port.
Referenced by clean_up_bc(), create_process(), dec_ie_channel_id(), enc_ie_channel_id(), handle_bchan(), handle_event_te(), manager_bchannel_activate(), manager_bchannel_deactivate(), manager_clean_bc(), manager_ec_disable(), manager_ec_enable(), misdn_lib_log_ies(), misdn_lib_release(), misdn_lib_send_event(), misdn_lib_tx2misdn_frm(), parse_release_complete(), parse_restart(), send_msg(), and setup_bc().
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 * | frm, | ||
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().