Interface header for SS7 signaling module.
More...
#include "asterisk/channel.h"
#include <libss7.h>
Go to the source code of this file.
|
enum | sig_ss7_call_level {
SIG_SS7_CALL_LEVEL_IDLE,
SIG_SS7_CALL_LEVEL_ALLOCATED,
SIG_SS7_CALL_LEVEL_CONTINUITY,
SIG_SS7_CALL_LEVEL_SETUP,
SIG_SS7_CALL_LEVEL_PROCEEDING,
SIG_SS7_CALL_LEVEL_ALERTING,
SIG_SS7_CALL_LEVEL_CONNECT,
SIG_SS7_CALL_LEVEL_GLARE
} |
|
enum | sig_ss7_law { SIG_SS7_DEFLAW = 0,
SIG_SS7_ULAW,
SIG_SS7_ALAW
} |
|
enum | sig_ss7_tone {
SIG_SS7_TONE_RINGTONE = 0,
SIG_SS7_TONE_STUTTER,
SIG_SS7_TONE_CONGESTION,
SIG_SS7_TONE_DIALTONE,
SIG_SS7_TONE_DIALRECALL,
SIG_SS7_TONE_INFO,
SIG_SS7_TONE_BUSY
} |
|
|
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) |
|
int | sig_ss7_available (struct sig_ss7_chan *p) |
|
int | sig_ss7_call (struct sig_ss7_chan *p, struct ast_channel *ast, char *rdest) |
|
void | sig_ss7_chan_delete (struct sig_ss7_chan *doomed) |
|
struct sig_ss7_chan * | sig_ss7_chan_new (void *pvt_data, struct sig_ss7_callback *callback, struct sig_ss7_linkset *ss7) |
|
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) |
|
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_channel *requestor, int transfercapability) |
|
void | sig_ss7_set_alarm (struct sig_ss7_chan *p, int in_alarm) |
|
void * | ss7_linkset (void *data) |
|
Interface header for SS7 signaling module.
- Author
- Matthew Fredrickson cresl.nosp@m.in@d.nosp@m.igium.nosp@m..com
-
Richard Mudgett rmudg.nosp@m.ett@.nosp@m.digiu.nosp@m.m.co.nosp@m.m
See Also:
Definition in file sig_ss7.h.
#define LINKSET_FLAG_EXPLICITACM (1 << 0) |
#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) |
SS7 debug message flags when SS7 debugging is turned on at the command line.
Definition at line 43 of file sig_ss7.h.
#define SIG_SS7_DEBUG_DEFAULT 0 |
SS7 debug message flags set on initial startup.
Definition at line 51 of file sig_ss7.h.
#define SIG_SS7_MAX_CHANNELS 672 |
No more than a DS3 per trunk group
Definition at line 57 of file sig_ss7.h.
#define SIG_SS7_NUM_DCHANS 4 |
#define SS7_NAI_DYNAMIC -1 |
Call establishment life cycle level for simple comparisons.
Enumerator |
---|
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.
Enumerator |
---|
SIG_SS7_DEFLAW |
|
SIG_SS7_ULAW |
|
SIG_SS7_ALAW |
|
Definition at line 81 of file sig_ss7.h.
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 71 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 |
|
) |
| |
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_indicate |
( |
struct sig_ss7_chan * |
p, |
|
|
struct ast_channel * |
chan, |
|
|
int |
condition, |
|
|
const void * |
data, |
|
|
size_t |
datalen |
|
) |
| |
void sig_ss7_set_alarm |
( |
struct sig_ss7_chan * |
p, |
|
|
int |
in_alarm |
|
) |
| |
void* ss7_linkset |
( |
void * |
data | ) |
|