backup
[lcr.git] / mISDN.h
diff --git a/mISDN.h b/mISDN.h
index a82933b..49ff539 100644 (file)
--- a/mISDN.h
+++ b/mISDN.h
@@ -36,6 +36,8 @@ struct mISDNport {
        int use; /* counts the number of port that uses this port */
        int ntmode; /* is TRUE if port is nt mode */
        int pri; /* is TRUE if port is a primary rate interface */
+       int is_tones; /* TRUE if tones are sent outside connect state */
+       int is_earlyb; /* TRUE if tones are received outside connect state */
        int upper_id; /* id to transfer data down */
        int lower_id; /* id to transfer data up */
        int d_stid;
@@ -89,6 +91,7 @@ class PmISDN : public Port
        ~PmISDN();
        void bchannel_receive(iframe_t *frm);
        int handler(void);
+       void transmit(unsigned char *buffer, int length);
        int message_epoint(unsigned long epoint_id, int message, union parameter *param);
        void message_mISDNsignal(unsigned long epoint_id, int message_id, union parameter *param);
        void message_crypt(unsigned long epoint_id, int message_id, union parameter *param);
@@ -99,8 +102,8 @@ class PmISDN : public Port
        int p_m_tone;                           /* current kernel space tone */
        int p_m_rxoff;                          /* rx from driver is disabled */
        int p_m_nodata;                         /* all parties within a conf are isdn ports, so pure bridging is possible */
-       int p_m_txmix;                          /* mix tx with conference */
-       int p_m_txmix_on;                       /* delay for turning back on after sending a binary message, must be signed */
+//     int p_m_txmix;                          /* mix tx with conference */
+//     int p_m_txmix_on;                       /* delay for turning back on after sending a binary message, must be signed */
        int p_m_dtmf;                           /* dtmf decoding is enabled */
 
        int p_m_crypt;                          /* encryption is enabled */