projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new option to interface.conf: "nonotify" to disable notify messages.
[lcr.git]
/
interface.h
diff --git
a/interface.h
b/interface.h
index
46671a4
..
7dce3ad
100644
(file)
--- a/
interface.h
+++ b/
interface.h
@@
-49,7
+49,10
@@
struct interface_port {
int ptmp; /* force load stack in PTP mode */
int nt; /* load stack in NT-mode */
int tespecial; /* special TE-mode behavior */
int ptmp; /* force load stack in PTP mode */
int nt; /* load stack in NT-mode */
int tespecial; /* special TE-mode behavior */
- int l2hold; /* hold layer 2 (1=force, -1=disable */
+ int l1hold; /* hold layer 1 (1=on, 0=off) */
+ int l2hold; /* hold layer 2 (1=force, -1=disable, 0=default) */
+ int gsm; /* interface is an GSM interface */
+ unsigned int ss5; /* set, if SS5 signalling enabled, also holds feature bits */
int channel_force; /* forces channel by protocol */
int nodtmf; /* disables DTMF */
struct select_channel *out_channel; /* list of channels to select */
int channel_force; /* forces channel by protocol */
int nodtmf; /* disables DTMF */
struct select_channel *out_channel; /* list of channels to select */
@@
-63,6
+66,8
@@
struct interface_port {
// int tout_hold;
// int tout_park;
int dialmax; /* maximum number of digits to dial */
// int tout_hold;
// int tout_park;
int dialmax; /* maximum number of digits to dial */
+ char tones_dir[128];
+ int nonotify; /* blocks outgoing notify messages */
};
struct interface_msn {
};
struct interface_msn {
@@
-83,6
+88,7
@@
struct interface_screen {
struct interface {
struct interface *next;
char name[64]; /* name of interface */
struct interface {
struct interface *next;
char name[64]; /* name of interface */
+ int external; /* interface used for extranl calls */
int extension; /* calls are handled as extension */
int is_tones; /* generate tones */
int is_earlyb; /* bridge tones during call setup */
int extension; /* calls are handled as extension */
int is_tones; /* generate tones */
int is_earlyb; /* bridge tones during call setup */