Asterisk - The Open Source Telephony Project
18.5.0
|
Interface to mISDN. More...
#include "asterisk.h"
#include <string.h>
#include <mISDNuser/mISDNlib.h>
#include <mISDNuser/isdn_net.h>
#include <mISDNuser/l3dss1.h>
#include <mISDNuser/net_l3.h>
#include "asterisk/localtime.h"
Go to the source code of this file.
Macros | |
#define | MISDN_IE_DEBG 0 |
Functions | |
static void | dec_ie_bearer (unsigned char *p, Q931_info_t *qi, int *coding, int *capability, int *mode, int *rate, int *multi, int *user, int *async, int *urate, int *stopbits, int *dbits, int *parity, int nt, struct misdn_bchannel *bc) |
static void | dec_ie_called_pn (unsigned char *p, Q931_info_t *qi, int *type, int *plan, char *number, size_t number_len, int nt, struct misdn_bchannel *bc) |
static void | dec_ie_calling_pn (unsigned char *p, Q931_info_t *qi, int *type, int *plan, int *present, int *screen, char *number, size_t number_len, int nt, struct misdn_bchannel *bc) |
static void | dec_ie_cause (unsigned char *p, Q931_info_t *qi, int *location, int *cause, int nt, struct misdn_bchannel *bc) |
static void | dec_ie_channel_id (unsigned char *p, Q931_info_t *qi, int *exclusive, int *channel, int nt, struct misdn_bchannel *bc) |
static void | dec_ie_complete (unsigned char *p, Q931_info_t *qi, int *complete, int nt, struct misdn_bchannel *bc) |
static void | dec_ie_connected_pn (unsigned char *p, Q931_info_t *qi, int *type, int *plan, int *present, int *screen, char *number, size_t number_len, int nt, struct misdn_bchannel *bc) |
static void | dec_ie_keypad (unsigned char *p, Q931_info_t *qi, char *keypad, size_t keypad_len, int nt, struct misdn_bchannel *bc) |
static void | dec_ie_notify (unsigned char *p, Q931_info_t *qi, int *notify, int nt, struct misdn_bchannel *bc) |
static void | dec_ie_progress (unsigned char *p, Q931_info_t *qi, int *coding, int *location, int *progress, int nt, struct misdn_bchannel *bc) |
static void | dec_ie_redir_dn (unsigned char *p, Q931_info_t *qi, int *type, int *plan, int *present, char *number, size_t number_len, int nt, struct misdn_bchannel *bc) |
static void | dec_ie_redir_nr (unsigned char *p, Q931_info_t *qi, int *type, int *plan, int *present, int *screen, int *reason, char *number, size_t number_len, int nt, struct misdn_bchannel *bc) |
static void | dec_ie_useruser (unsigned char *p, Q931_info_t *qi, int *protocol, char *user, int *user_len, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_bearer (unsigned char **ntmode, msg_t *msg, int coding, int capability, int mode, int rate, int multi, int user, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_called_pn (unsigned char **ntmode, msg_t *msg, int type, int plan, char *number, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_calling_pn (unsigned char **ntmode, msg_t *msg, int type, int plan, int present, int screen, char *number, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_cause (unsigned char **ntmode, msg_t *msg, int location, int cause, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_channel_id (unsigned char **ntmode, msg_t *msg, int exclusive, int channel, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_complete (unsigned char **ntmode, msg_t *msg, int complete, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_connected_pn (unsigned char **ntmode, msg_t *msg, int type, int plan, int present, int screen, char *number, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_date (unsigned char **ntmode, msg_t *msg, time_t ti, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_display (unsigned char **ntmode, msg_t *msg, char *display, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_keypad (unsigned char **ntmode, msg_t *msg, char *keypad, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_notify (unsigned char **ntmode, msg_t *msg, int notify, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_progress (unsigned char **ntmode, msg_t *msg, int coding, int location, int progress, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_redir_dn (unsigned char **ntmode, msg_t *msg, int type, int plan, int present, char *number, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_redir_nr (unsigned char **ntmode, msg_t *msg, int type, int plan, int present, int screen, int reason, char *number, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_restart_ind (unsigned char **ntmode, msg_t *msg, unsigned char rind, int nt, struct misdn_bchannel *bc) |
static void | enc_ie_useruser (unsigned char **ntmode, msg_t *msg, int protocol, char *user, int user_len, int nt, struct misdn_bchannel *bc) |
static void | strnncpy (char *dest, const char *src, size_t len, size_t dst_len) |
Interface to mISDN.
Definition in file ie.c.
#define MISDN_IE_DEBG 0 |
Definition at line 43 of file ie.c.
Referenced by dec_ie_bearer(), dec_ie_called_pn(), dec_ie_calling_pn(), dec_ie_cause(), dec_ie_channel_id(), dec_ie_complete(), dec_ie_connected_pn(), dec_ie_keypad(), dec_ie_notify(), dec_ie_progress(), dec_ie_redir_dn(), dec_ie_redir_nr(), dec_ie_useruser(), enc_ie_bearer(), enc_ie_called_pn(), enc_ie_calling_pn(), enc_ie_cause(), enc_ie_complete(), enc_ie_connected_pn(), enc_ie_date(), enc_ie_display(), enc_ie_keypad(), enc_ie_notify(), enc_ie_progress(), enc_ie_redir_dn(), enc_ie_redir_nr(), and enc_ie_useruser().
|
static |
Definition at line 160 of file ie.c.
References bc, debug, done, MISDN_IE_DEBG, and NULL.
Referenced by parse_setup().
|
static |
Definition at line 387 of file ie.c.
References MISDN_IE_DEBG, NULL, and strnncpy().
Referenced by parse_information(), and parse_setup().
|
static |
Definition at line 471 of file ie.c.
References MISDN_IE_DEBG, NULL, and strnncpy().
Referenced by parse_setup().
|
static |
Definition at line 664 of file ie.c.
References MISDN_IE_DEBG, and NULL.
Referenced by parse_disconnect(), parse_release(), parse_release_complete(), and parse_status().
|
static |
Definition at line 766 of file ie.c.
References get_stack_by_bc(), MISDN_IE_DEBG, NULL, and misdn_stack::pri.
Referenced by parse_proceeding(), parse_restart(), parse_setup(), and parse_setup_acknowledge().
|
static |
|
static |
Definition at line 573 of file ie.c.
References MISDN_IE_DEBG, NULL, and strnncpy().
Referenced by parse_connect().
|
static |
Definition at line 973 of file ie.c.
References MISDN_IE_DEBG, NULL, and strnncpy().
Referenced by parse_information(), and parse_setup().
|
static |
Definition at line 1023 of file ie.c.
References MISDN_IE_DEBG, and NULL.
Referenced by parse_facility(), and parse_notify().
|
static |
Definition at line 1084 of file ie.c.
References MISDN_IE_DEBG, and NULL.
Referenced by parse_alerting(), parse_connect(), parse_disconnect(), parse_proceeding(), parse_progress(), parse_setup(), and parse_setup_acknowledge().
|
static |
Definition at line 1286 of file ie.c.
References MISDN_IE_DEBG, NULL, and strnncpy().
Referenced by parse_facility(), and parse_notify().
|
static |
Definition at line 1188 of file ie.c.
References MISDN_IE_DEBG, NULL, and strnncpy().
Referenced by parse_setup().
|
static |
Definition at line 1365 of file ie.c.
References debug, MISDN_IE_DEBG, and NULL.
Referenced by parse_setup().
|
static |
Definition at line 100 of file ie.c.
References MISDN_IE_DEBG.
Referenced by build_setup().
|
static |
Definition at line 351 of file ie.c.
References MISDN_IE_DEBG.
Referenced by build_information(), and build_setup().
|
static |
Definition at line 416 of file ie.c.
References MISDN_IE_DEBG.
Referenced by build_setup().
|
static |
Definition at line 617 of file ie.c.
References MISDN_IE_DEBG.
Referenced by build_disconnect(), build_release(), and build_release_complete().
|
static |
Definition at line 691 of file ie.c.
References get_stack_by_bc(), and misdn_stack::pri.
Referenced by build_alerting(), build_connect_acknowledge(), build_proceeding(), build_restart(), build_retrieve_acknowledge(), build_setup(), and build_setup_acknowledge().
|
static |
|
static |
Definition at line 518 of file ie.c.
References MISDN_IE_DEBG.
Referenced by build_connect().
|
static |
Definition at line 860 of file ie.c.
References ast_localtime(), MISDN_IE_DEBG, NULL, ast_tm::tm_hour, ast_tm::tm_mday, ast_tm::tm_min, ast_tm::tm_mon, and ast_tm::tm_year.
Referenced by build_connect().
|
static |
Definition at line 888 of file ie.c.
References MISDN_IE_DEBG, NULL, and strnncpy().
Referenced by build_connect(), build_facility(), build_information(), and build_setup().
|
static |
|
static |
Definition at line 998 of file ie.c.
References MISDN_IE_DEBG.
Referenced by build_facility(), and build_notify().
|
static |
Definition at line 1048 of file ie.c.
References MISDN_IE_DEBG.
Referenced by build_alerting(), build_disconnect(), build_proceeding(), build_progress(), and build_setup_acknowledge().
|
static |
Definition at line 1235 of file ie.c.
References MISDN_IE_DEBG.
Referenced by build_facility(), and build_notify().
|
static |
Definition at line 1114 of file ie.c.
References MISDN_IE_DEBG.
Referenced by build_setup().
|
static |
|
static |
Definition at line 1324 of file ie.c.
References debug, and MISDN_IE_DEBG.
Referenced by build_disconnect(), build_release(), build_release_complete(), and build_setup().
|
static |
Definition at line 46 of file ie.c.
References len().
Referenced by dec_ie_called_pn(), dec_ie_calling_pn(), dec_ie_connected_pn(), dec_ie_keypad(), dec_ie_redir_dn(), dec_ie_redir_nr(), and enc_ie_display().