|
Asterisk - The Open Source Telephony Project
18.5.0
|
Interface header for SS7 signaling module. More...

Go to the source code of this file.
Data Structures | |
| struct | sig_ss7_callback |
| struct | sig_ss7_chan |
| struct | sig_ss7_linkset |
Macros | |
| #define | LINKSET_FLAG_AUTOACM (1 << 4) |
| #define | LINKSET_FLAG_DEFAULTECHOCONTROL (1 << 3) |
| #define | LINKSET_FLAG_EXPLICITACM (1 << 0) |
| #define | LINKSET_FLAG_INITIALHWBLO (1 << 1) |
| #define | LINKSET_FLAG_USEECHOCONTROL (1 << 2) |
| #define | LINKSTATE_DOWN (1 << 3) |
| #define | LINKSTATE_INALARM (1 << 0) |
| #define | LINKSTATE_STARTING (1 << 1) |
| #define | LINKSTATE_UP (1 << 2) |
| #define | SIG_SS7 (0x1000000 | DAHDI_SIG_CLEAR) |
| #define | SIG_SS7_DEBUG (SS7_DEBUG_MTP2 | SS7_DEBUG_MTP3 | SS7_DEBUG_ISUP) |
| #define | SIG_SS7_DEBUG_DEFAULT 0 |
| #define | SIG_SS7_MAX_CHANNELS 672 |
| #define | SIG_SS7_NUM_DCHANS 4 |
| #define | SS7_BLOCKED_HARDWARE (1 << 1) |
| #define | SS7_BLOCKED_MAINTENANCE (1 << 0) |
| #define | SS7_NAI_DYNAMIC -1 |
Functions | |
| int | sig_ss7_add_sigchan (struct sig_ss7_linkset *linkset, int which, int ss7type, int transport, int inalarm, int networkindicator, int pointcode, int adjpointcode, int cur_slc) |
| int | sig_ss7_answer (struct sig_ss7_chan *p, struct ast_channel *ast) |
| int | sig_ss7_available (struct sig_ss7_chan *p) |
| int | sig_ss7_call (struct sig_ss7_chan *p, struct ast_channel *ast, const char *rdest) |
| void | sig_ss7_cb_call_null (struct ss7 *ss7, struct isup_call *c, int lock) |
| int | sig_ss7_cb_hangup (struct ss7 *ss7, int cic, unsigned int dpc, int cause, int do_hangup) |
| void | sig_ss7_cb_notinservice (struct ss7 *ss7, int cic, unsigned int dpc) |
| void | sig_ss7_chan_delete (struct sig_ss7_chan *doomed) |
| struct sig_ss7_chan * | sig_ss7_chan_new (void *pvt_data, struct sig_ss7_linkset *ss7) |
| int | sig_ss7_cic_blocking (struct sig_ss7_linkset *linkset, int do_block, int cic) |
| void | sig_ss7_cli_show_channels (int fd, struct sig_ss7_linkset *linkset) |
| void | sig_ss7_cli_show_channels_header (int fd) |
| int | sig_ss7_find_cic (struct sig_ss7_linkset *linkset, int cic, unsigned int dpc) |
| int | sig_ss7_find_cic_range (struct sig_ss7_linkset *linkset, int startcic, int endcic, unsigned int dpc) |
| void | sig_ss7_fixup (struct ast_channel *oldchan, struct ast_channel *newchan, struct sig_ss7_chan *pchan) |
| void | sig_ss7_free_isup_call (struct sig_ss7_linkset *linkset, int channel) |
| int | sig_ss7_group_blocking (struct sig_ss7_linkset *linkset, int do_block, int startcic, int endcic, unsigned char state[], int type) |
| int | sig_ss7_hangup (struct sig_ss7_chan *p, struct ast_channel *ast) |
| int | sig_ss7_indicate (struct sig_ss7_chan *p, struct ast_channel *chan, int condition, const void *data, size_t datalen) |
| void | sig_ss7_init_linkset (struct sig_ss7_linkset *ss7) |
| void | sig_ss7_link_alarm (struct sig_ss7_linkset *linkset, int which) |
| void | sig_ss7_link_noalarm (struct sig_ss7_linkset *linkset, int which) |
| struct ast_channel * | sig_ss7_request (struct sig_ss7_chan *p, enum sig_ss7_law law, const struct ast_assigned_ids *assignedids, const struct ast_channel *requestor, int transfercapability) |
| int | sig_ss7_reset_cic (struct sig_ss7_linkset *linkset, int cic, unsigned int dpc) |
| int | sig_ss7_reset_group (struct sig_ss7_linkset *linkset, int cic, unsigned int dpc, int range) |
| void | sig_ss7_set_alarm (struct sig_ss7_chan *p, int in_alarm) |
| void * | ss7_linkset (void *data) |
Variables | |
| struct sig_ss7_callback | sig_ss7_callbacks |
| #define LINKSET_FLAG_AUTOACM (1 << 4) |
Definition at line 72 of file sig_ss7.h.
Referenced by process_dahdi().
| #define LINKSET_FLAG_DEFAULTECHOCONTROL (1 << 3) |
Definition at line 71 of file sig_ss7.h.
Referenced by process_dahdi().
| #define LINKSET_FLAG_EXPLICITACM (1 << 0) |
Definition at line 68 of file sig_ss7.h.
Referenced by process_dahdi().
| #define LINKSET_FLAG_INITIALHWBLO (1 << 1) |
Definition at line 69 of file sig_ss7.h.
Referenced by mkintf(), and process_dahdi().
| #define LINKSET_FLAG_USEECHOCONTROL (1 << 2) |
Definition at line 70 of file sig_ss7.h.
Referenced by process_dahdi().
| #define SIG_SS7_DEBUG (SS7_DEBUG_MTP2 | SS7_DEBUG_MTP3 | SS7_DEBUG_ISUP) |
SS7 debug message flags when SS7 debugging is turned on at the command line.
Definition at line 43 of file sig_ss7.h.
Referenced by action_dahdishowchannels().
| #define SIG_SS7_DEBUG_DEFAULT 0 |
| #define SIG_SS7_MAX_CHANNELS 672 |
| #define SIG_SS7_NUM_DCHANS 4 |
No more than 4 d-channels
Definition at line 56 of file sig_ss7.h.
Referenced by __unload_module(), action_dahdishowchannels(), and dahdi_restart().
| #define SS7_BLOCKED_HARDWARE (1 << 1) |
Definition at line 75 of file sig_ss7.h.
Referenced by action_dahdishowchannels(), and mkintf().
| #define SS7_BLOCKED_MAINTENANCE (1 << 0) |
Definition at line 74 of file sig_ss7.h.
Referenced by action_dahdishowchannels().
| #define SS7_NAI_DYNAMIC -1 |
Definition at line 66 of file sig_ss7.h.
Referenced by process_dahdi().
| enum sig_ss7_call_level |
Call establishment life cycle level for simple comparisons.
Definition at line 116 of file sig_ss7.h.
| enum sig_ss7_law |
| Enumerator | |
|---|---|
| SIG_SS7_DEFLAW | |
| SIG_SS7_ULAW | |
| SIG_SS7_ALAW | |
Definition at line 94 of file sig_ss7.h.
Definition at line 105 of file sig_ss7.h.
| enum sig_ss7_tone |
| Enumerator | |
|---|---|
| SIG_SS7_TONE_RINGTONE | |
| SIG_SS7_TONE_STUTTER | |
| SIG_SS7_TONE_CONGESTION | |
| SIG_SS7_TONE_DIALTONE | |
| SIG_SS7_TONE_DIALRECALL | |
| SIG_SS7_TONE_INFO | |
| SIG_SS7_TONE_BUSY | |
Definition at line 78 of file sig_ss7.h.
| int sig_ss7_add_sigchan | ( | struct sig_ss7_linkset * | linkset, |
| int | which, | ||
| int | ss7type, | ||
| int | transport, | ||
| int | inalarm, | ||
| int | networkindicator, | ||
| int | pointcode, | ||
| int | adjpointcode, | ||
| int | cur_slc | ||
| ) |
Referenced by action_dahdishowchannels().
| int sig_ss7_answer | ( | struct sig_ss7_chan * | p, |
| struct ast_channel * | ast | ||
| ) |
Referenced by dahdi_answer().
| int sig_ss7_available | ( | struct sig_ss7_chan * | p | ) |
Referenced by available().
| int sig_ss7_call | ( | struct sig_ss7_chan * | p, |
| struct ast_channel * | ast, | ||
| const char * | rdest | ||
| ) |
Referenced by dahdi_call().
| void sig_ss7_cb_call_null | ( | struct ss7 * | ss7, |
| struct isup_call * | c, | ||
| int | lock | ||
| ) |
Referenced by dahdi_restart(), and load_module().
| int sig_ss7_cb_hangup | ( | struct ss7 * | ss7, |
| int | cic, | ||
| unsigned int | dpc, | ||
| int | cause, | ||
| int | do_hangup | ||
| ) |
Referenced by dahdi_restart(), and load_module().
| void sig_ss7_cb_notinservice | ( | struct ss7 * | ss7, |
| int | cic, | ||
| unsigned int | dpc | ||
| ) |
Referenced by dahdi_restart(), and load_module().
| void sig_ss7_chan_delete | ( | struct sig_ss7_chan * | doomed | ) |
Referenced by destroy_dahdi_pvt().
| struct sig_ss7_chan* sig_ss7_chan_new | ( | void * | pvt_data, |
| struct sig_ss7_linkset * | ss7 | ||
| ) |
Referenced by mkintf().
| int sig_ss7_cic_blocking | ( | struct sig_ss7_linkset * | linkset, |
| int | do_block, | ||
| int | cic | ||
| ) |
Referenced by action_dahdishowchannels().
| void sig_ss7_cli_show_channels | ( | int | fd, |
| struct sig_ss7_linkset * | linkset | ||
| ) |
Referenced by action_dahdishowchannels().
| void sig_ss7_cli_show_channels_header | ( | int | fd | ) |
Referenced by action_dahdishowchannels().
| int sig_ss7_find_cic | ( | struct sig_ss7_linkset * | linkset, |
| int | cic, | ||
| unsigned int | dpc | ||
| ) |
Referenced by action_dahdishowchannels().
| int sig_ss7_find_cic_range | ( | struct sig_ss7_linkset * | linkset, |
| int | startcic, | ||
| int | endcic, | ||
| unsigned int | dpc | ||
| ) |
Referenced by action_dahdishowchannels().
| void sig_ss7_fixup | ( | struct ast_channel * | oldchan, |
| struct ast_channel * | newchan, | ||
| struct sig_ss7_chan * | pchan | ||
| ) |
Referenced by dahdi_fixup().
| void sig_ss7_free_isup_call | ( | struct sig_ss7_linkset * | linkset, |
| int | channel | ||
| ) |
| int sig_ss7_group_blocking | ( | struct sig_ss7_linkset * | linkset, |
| int | do_block, | ||
| int | startcic, | ||
| int | endcic, | ||
| unsigned char | state[], | ||
| int | type | ||
| ) |
Referenced by action_dahdishowchannels().
| int sig_ss7_hangup | ( | struct sig_ss7_chan * | p, |
| struct ast_channel * | ast | ||
| ) |
Referenced by dahdi_hangup().
| int sig_ss7_indicate | ( | struct sig_ss7_chan * | p, |
| struct ast_channel * | chan, | ||
| int | condition, | ||
| const void * | data, | ||
| size_t | datalen | ||
| ) |
Referenced by dahdi_indicate().
| void sig_ss7_init_linkset | ( | struct sig_ss7_linkset * | ss7 | ) |
Referenced by dahdi_restart(), and load_module().
| void sig_ss7_link_alarm | ( | struct sig_ss7_linkset * | linkset, |
| int | which | ||
| ) |
Referenced by my_on_hook().
| void sig_ss7_link_noalarm | ( | struct sig_ss7_linkset * | linkset, |
| int | which | ||
| ) |
Referenced by my_on_hook().
| struct ast_channel* sig_ss7_request | ( | struct sig_ss7_chan * | p, |
| enum sig_ss7_law | law, | ||
| const struct ast_assigned_ids * | assignedids, | ||
| const struct ast_channel * | requestor, | ||
| int | transfercapability | ||
| ) |
Referenced by dahdi_request().
| int sig_ss7_reset_cic | ( | struct sig_ss7_linkset * | linkset, |
| int | cic, | ||
| unsigned int | dpc | ||
| ) |
Referenced by action_dahdishowchannels().
| int sig_ss7_reset_group | ( | struct sig_ss7_linkset * | linkset, |
| int | cic, | ||
| unsigned int | dpc, | ||
| int | range | ||
| ) |
Referenced by action_dahdishowchannels().
| void sig_ss7_set_alarm | ( | struct sig_ss7_chan * | p, |
| int | in_alarm | ||
| ) |
Referenced by dahdi_handle_event(), handle_init_event(), and mkintf().
| void* ss7_linkset | ( | void * | data | ) |
Referenced by setup_dahdi_int().
| struct sig_ss7_callback sig_ss7_callbacks |
Global sig_ss7 callbacks to the upper layer.
1.8.13