Add -lncurses to LDD flags
[lcr.git] / interface.h
index 40c89f6..07bf6f5 100644 (file)
@@ -54,6 +54,7 @@ struct interface_port {
        unsigned int            ss5; /* set, if SS5 signalling enabled, also holds feature bits */
        int                     channel_force; /* forces channel by protocol */
        int                     nodtmf; /* disables DTMF */
+       int                     dtmf_threshold; /* DTMF level threshold */
        struct select_channel   *out_channel; /* list of channels to select */
        struct select_channel   *in_channel; /* the same for incoming channels */
        int                     block; /* set if interface is blocked */
@@ -65,8 +66,10 @@ struct interface_port {
 //     int                     tout_hold;
 //     int                     tout_park;
        int                     dialmax; /* maximum number of digits to dial */
-       char                    tones_dir[128];
        int                     nonotify; /* blocks outgoing notify messages  */
+       int                     pots_flash; /* allow flash button / keypulse to hold active call */
+       int                     pots_ring; /* after hangup let calls on hold ring the phone */
+       int                     pots_transfer; /* after hangup, two calls are transfered */
 };
 
 struct interface_msn {
@@ -101,6 +104,7 @@ struct interface {
        struct interface_screen *ifscreen_in; /* link to screening list */
        struct interface_screen *ifscreen_out; /* link to screening list */
        int                     tx_gain, rx_gain; /* filter gain */
+       char                    tones_dir[128];
        char                    pipeline[256]; /* filter pipeline */
        unsigned char           bf_key[56]; /* filter blowfish */
        int                     bf_len; /* filter length of blowfish */
@@ -109,6 +113,8 @@ struct interface {
        char                    remote_context[128]; /* context feld to use for remote application */
 #ifdef WITH_GSM_BS
        int                     gsm_bs; /* interface is an GSM BS interface */
+       char                    gsm_bs_name[32]; /* name of bs */
+       int                     gsm_bs_hr; /* prefer half rate for MOT calls */
 #if 0
        int                     gsm_bs_payloads;
        unsigned char           gsm_bs_payload_types[8];