Added option to change DTMF decoding threshold level
[lcr.git] / interface.h
index 40c89f6..1f9b4b0 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 */
@@ -67,6 +68,9 @@ struct interface_port {
        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 {