Interface header for SS7 signaling module. More...
#include "asterisk/channel.h"#include <libss7.h>
Go to the source code of this file.
Interface header for SS7 signaling module.
See Also:
Definition in file sig_ss7.h.
| #define LINKSET_FLAG_EXPLICITACM (1 << 0) |
Definition at line 68 of file sig_ss7.h.
Referenced by process_dahdi().
| #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 |
No more than 4 d-channels
Definition at line 56 of file sig_ss7.h.
Referenced by __unload_module(), and dahdi_restart().
| #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.
| SIG_SS7_CALL_LEVEL_IDLE |
Call does not exist. |
| SIG_SS7_CALL_LEVEL_ALLOCATED |
Call is allocated to the channel. We have not sent or responded to IAM yet. |
| SIG_SS7_CALL_LEVEL_CONTINUITY |
Call is performing continuity check after receiving IAM. We are waiting for COT to proceed further. |
| SIG_SS7_CALL_LEVEL_SETUP |
Call is present. We have not seen a response or sent further call progress to an IAM yet. |
| SIG_SS7_CALL_LEVEL_PROCEEDING |
Call routing is happening. We have sent or received ACM. |
| SIG_SS7_CALL_LEVEL_ALERTING |
Called party is being alerted of the call. We have sent or received CPG(ALERTING)/ACM(ALERTING). |
| SIG_SS7_CALL_LEVEL_CONNECT |
Call is connected/answered. We have sent or received CON/ANM. |
| SIG_SS7_CALL_LEVEL_GLARE |
Call has collided with incoming call. |
Definition at line 88 of file sig_ss7.h.
00088 { 00089 /*! Call does not exist. */ 00090 SIG_SS7_CALL_LEVEL_IDLE, 00091 /*! 00092 * Call is allocated to the channel. 00093 * We have not sent or responded to IAM yet. 00094 */ 00095 SIG_SS7_CALL_LEVEL_ALLOCATED, 00096 /*! 00097 * Call is performing continuity check after receiving IAM. 00098 * We are waiting for COT to proceed further. 00099 */ 00100 SIG_SS7_CALL_LEVEL_CONTINUITY, 00101 /*! 00102 * Call is present. 00103 * We have not seen a response or sent further call progress to an IAM yet. 00104 */ 00105 SIG_SS7_CALL_LEVEL_SETUP, 00106 /*! 00107 * Call routing is happening. 00108 * We have sent or received ACM. 00109 */ 00110 SIG_SS7_CALL_LEVEL_PROCEEDING, 00111 /*! 00112 * Called party is being alerted of the call. 00113 * We have sent or received CPG(ALERTING)/ACM(ALERTING). 00114 */ 00115 SIG_SS7_CALL_LEVEL_ALERTING, 00116 /*! 00117 * Call is connected/answered. 00118 * We have sent or received CON/ANM. 00119 */ 00120 SIG_SS7_CALL_LEVEL_CONNECT, 00121 /*! Call has collided with incoming call. */ 00122 SIG_SS7_CALL_LEVEL_GLARE, 00123 };
| enum sig_ss7_law |
Definition at line 81 of file sig_ss7.h.
00081 { 00082 SIG_SS7_DEFLAW = 0, 00083 SIG_SS7_ULAW, 00084 SIG_SS7_ALAW 00085 };
| enum sig_ss7_tone |
| 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 71 of file sig_ss7.h.
00071 { 00072 SIG_SS7_TONE_RINGTONE = 0, 00073 SIG_SS7_TONE_STUTTER, 00074 SIG_SS7_TONE_CONGESTION, 00075 SIG_SS7_TONE_DIALTONE, 00076 SIG_SS7_TONE_DIALRECALL, 00077 SIG_SS7_TONE_INFO, 00078 SIG_SS7_TONE_BUSY, 00079 };
| 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 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, | |||
| char * | rdest | |||
| ) |
Referenced by dahdi_call().
| 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_callback * | callback, | |||
| struct sig_ss7_linkset * | ss7 | |||
| ) | [read] |
Referenced by mkintf().
| void sig_ss7_cli_show_channels | ( | int | fd, | |
| struct sig_ss7_linkset * | linkset | |||
| ) |
| void sig_ss7_cli_show_channels_header | ( | int | fd | ) |
| void sig_ss7_fixup | ( | struct ast_channel * | oldchan, | |
| struct ast_channel * | newchan, | |||
| struct sig_ss7_chan * | pchan | |||
| ) |
Referenced by dahdi_fixup().
| 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 | |||
| ) |
| 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_channel * | requestor, | |||
| int | transfercapability | |||
| ) | [read] |
Referenced by dahdi_request().
| 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().
1.6.1