X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=mISDN.h;h=49ff539520b258b58a66f1849028295ac530db34;hp=a82933b02e0bcd0d7a78181c0a600c660d4ab536;hb=9deb150f2ba289736e81f69bb7cf24e5b236ee96;hpb=2ed0fee489c37a6e2d4473f6185ebbe3e746ac11 diff --git a/mISDN.h b/mISDN.h index a82933b..49ff539 100644 --- 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 */