diff options
Diffstat (limited to 'zaptel.h')
-rwxr-xr-x | zaptel.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -788,6 +788,9 @@ struct zt_tone_def { /* Structure for zone programming */ #define ZT_MAXPULSETIME (150 * 8) /* 150 ms maximum */ #define ZT_PULSETIMEOUT ((ZT_MAXPULSETIME / 8) + 50) +#define ZT_RINGTRAILER (150 * 8) /* Don't consider a ring "gone" until it's been gone at least this + much time */ + #define ZT_LOOPCODE_TIME 10000 /* send loop codes for 10 secs */ #define ZT_ALARMSETTLE_TIME 5000 /* allow alarms to settle for 5 secs */ #define ZT_AFTERSTART_TIME 500 /* 500ms after start */ @@ -999,6 +1002,9 @@ struct zt_chan { /* RING debounce timer */ int ringdebtimer; + + /* RING trailing detector to make sure a RING is really over */ + int ringtrailer; /* PULSE digit receiver stuff */ int pulsecount; |