moved timeout settings from extenion to interface.conf
[lcr.git] / interface.h
index 4085ebe..da0ee20 100644 (file)
@@ -56,6 +56,13 @@ struct interface_port {
        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 */
+        int                    tout_setup;
+        int                    tout_dialing;
+        int                    tout_proceeding;
+        int                    tout_alerting;
+        int                    tout_disconnect;
+//     int                     tout_hold;
+//     int                     tout_park;
 };
 
 struct interface_msn {
@@ -73,12 +80,6 @@ struct interface_screen {
        int                     result_present; /* presentation type */
 };
 
-struct interface_filter {
-       struct interface_filter *next;
-       int                     filter; /* filter to use */
-       char                    parameter[256]; /* filter parameter */
-};
-
 struct interface {
        struct interface        *next;
        char                    name[64]; /* name of interface */
@@ -91,7 +92,10 @@ struct interface {
        struct interface_msn    *ifmsn; /* link to interface msn list */
        struct interface_screen *ifscreen_in; /* link to screening list */
        struct interface_screen *ifscreen_out; /* link to screening list */
-       struct interface_filter *iffilter; /* link to filter list */
+       int                     gain_tx, gain_rx; /* filter gain */
+       char                    pipeline[256]; /* filter pipeline */
+       unsigned char           bf_key[56]; /* filter blowfish */
+       int                     bf_len; /* filter length of blowfish */
 };
 
 struct interface_param {