summaryrefslogtreecommitdiff
path: root/zaptel.h
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-08-03 18:36:07 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-08-03 18:36:07 +0000
commitf4cfabc0a3838eda41669f7e0f63782aa8cefd88 (patch)
tree05546c9304ae9c23764d780915b898d7743911e4 /zaptel.h
parent59d533b18bc76fb3b08c284dfe9fe84b124003e4 (diff)
Merge polarity reversal detection (bug #9)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@447 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.h')
-rwxr-xr-xzaptel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zaptel.h b/zaptel.h
index f1a1fa7..b3d5483 100755
--- a/zaptel.h
+++ b/zaptel.h
@@ -771,6 +771,9 @@ struct zt_tone_def { /* Structure for zone programming */
/* Timer event -- ping ready */
#define ZT_EVENT_TIMER_PING 16
+/* Polarity reversal event */
+#define ZT_EVENT_POLARITY 17
+
#define ZT_EVENT_PULSEDIGIT (1 << 16) /* This is OR'd with the digit received */
#define ZT_EVENT_DTMFDIGIT (1 << 17) /* Ditto for DTMF */