Added support of mISDN to direct bridge feature
[lcr.git] / apppbx.h
index a37fc44..c3d2d68 100644 (file)
--- a/apppbx.h
+++ b/apppbx.h
@@ -160,7 +160,8 @@ class EndpointAppPBX : public EndpointApp
        /* efi */
        int e_efi_state;                        /* current spoken sample */
        int e_efi_digit;                        /* current spoken digit */
-       
+
+#ifdef WITH_CRYPT
        /* crypt states and vars */
        int e_crypt;                            /* current user level crypt state */
        int e_crypt_state;                      /* current crypt manager state */
@@ -192,6 +193,7 @@ class EndpointAppPBX : public EndpointApp
        int e_crypt_keyengine_busy;             /* current job and busy state */
        int e_crypt_keyengine_return;           /* return */
        struct lcr_timer e_crypt_handler; /* poll timer for crypt events */
+#endif
 
        /* messages */
        void hookflash(void);
@@ -234,8 +236,6 @@ class EndpointAppPBX : public EndpointApp
        void keypad_function(char digit);
        void set_tone(struct port_list *portlist, const char *tone);
        void out_setup(int cfnr);
-       struct mISDNport *hunt_port(char *ifname, int *channel);
-       struct interface *hunt_interface(char *ifname);
        char *apply_callerid_display(const char *id, int itype, int ntype, int present, int screen, const char *extension, const char *name);
        void auth(int job, int bit_num);