X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=mISDN.h;h=6c704f46a5504e06d912e6b8f3a966ea4d46339d;hp=32136d1565969b6af68cccf910c46e3031029c6b;hb=79bd731c0db3e3202cfeed2af3fb217ae744b70f;hpb=7f0d14c706328e1ff74fe8b8c16ae54407cc8055 diff --git a/mISDN.h b/mISDN.h index 32136d1..6c704f4 100644 --- a/mISDN.h +++ b/mISDN.h @@ -45,6 +45,8 @@ struct mISDNport { int ntmode; /* is TRUE if port is NT mode */ int tespecial; /* is TRUE if port uses special TE mode */ int pri; /* is TRUE if port is a primary rate interface */ + int pots; /* is TRUE if port is of type POTS */ + struct lcr_fd pots_sock; /* socket for L1 */ int tones; /* TRUE if tones are sent outside connect state */ int earlyb; /* TRUE if tones are received outside connect state */ int b_num; /* number of bchannels */ @@ -107,6 +109,7 @@ class PmISDN : public Port int message_epoint(unsigned int epoint_id, int message, union parameter *param); void message_mISDNsignal(unsigned int epoint_id, int message_id, union parameter *param); void message_crypt(unsigned int epoint_id, int message_id, union parameter *param); + void message_vootp(unsigned int epoint_id, int message_id, union parameter *param); struct mISDNport *p_m_mISDNport; /* pointer to port */ int p_m_delay; /* use delay instead of dejitter */ int p_m_tx_dejitter; /* use dejitter on transmit data to DSP */ @@ -120,6 +123,7 @@ class PmISDN : public Port int p_m_rxoff; /* rx from driver is disabled */ int p_m_txdata; /* get what we transmit */ int p_m_dtmf; /* dtmf decoding is enabled */ + int p_m_dtmf_threshold; /* dtmf level threshold */ int bridge_rx(unsigned char *data, int len);