X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=interface.h;h=eea691519369e7ab26f492a68f9329d2c7a6e58e;hp=221b08507b4c6d08cf42b5174291356b9955b22c;hb=3a8f58ec8946b7f1683208d1cc3b054486f12e6c;hpb=b2a665f8f1cdeb7d02c3f665d95e6a80297e21d1 diff --git a/interface.h b/interface.h index 221b085..eea6915 100644 --- a/interface.h +++ b/interface.h @@ -8,7 +8,6 @@ ** interface header file ** ** ** \*****************************************************************************/ - enum { /* interface type */ IF_TYPE_DIRECT, IF_TYPE_EXTENSION, @@ -49,7 +48,21 @@ struct interface_port { int ptp; /* force load stack in PTP mode */ int ptmp; /* force load stack in PTP mode */ int nt; /* load stack in NT-mode */ - int l2hold; /* hold layer 2 (1=force, -1=disable */ + int tespecial; /* special TE-mode behavior */ + int l1hold; /* hold layer 1 (1=on, 0=off) */ + int l2hold; /* hold layer 2 (1=force, -1=disable, 0=default) */ +#ifdef WITH_GSM_BS + int gsm_bs; /* interface is an GSM BS interface */ +#endif +#ifdef WITH_GSM_MS + int gsm_ms; /* interface is an GSM MS interface */ + char gsm_ms_name[32]; /* name of ms */ + char gsm_ms_socket[128]; /* layer1 socket name */ + char gsm_ms_service; /* see GSM_SERVICE_* */ +#endif + unsigned int ss5; /* set, if SS5 signalling enabled, also holds feature bits */ + int remote; /* interface is a remote app interface */ + char remote_app[32]; /* name of remote application */ int channel_force; /* forces channel by protocol */ int nodtmf; /* disables DTMF */ struct select_channel *out_channel; /* list of channels to select */ @@ -62,6 +75,9 @@ struct interface_port { int tout_disconnect; // 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 { @@ -82,6 +98,7 @@ struct interface_screen { struct interface { struct interface *next; char name[64]; /* name of interface */ + int external; /* interface used for external calls */ int extension; /* calls are handled as extension */ int is_tones; /* generate tones */ int is_earlyb; /* bridge tones during call setup */