Added layer1 hold feature. Requires new mISDN and mISDNuser package from git.
[lcr.git] / interface.h
index 221b085..a467a71 100644 (file)
@@ -8,7 +8,6 @@
 ** interface header file                                                     **
 **                                                                           **
 \*****************************************************************************/ 
-
 enum { /* interface type */
        IF_TYPE_DIRECT,
        IF_TYPE_EXTENSION,
@@ -49,7 +48,9 @@ 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) */
        int                     channel_force; /* forces channel by protocol */
        int                     nodtmf; /* disables DTMF */
        struct select_channel   *out_channel; /* list of channels to select */
@@ -62,6 +63,7 @@ struct interface_port {
         int                    tout_disconnect;
 //     int                     tout_hold;
 //     int                     tout_park;
+       int                     dialmax; /* maximum number of digits to dial */
 };
 
 struct interface_msn {