summaryrefslogtreecommitdiff
path: root/zaptel.h
diff options
context:
space:
mode:
Diffstat (limited to 'zaptel.h')
-rwxr-xr-xzaptel.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/zaptel.h b/zaptel.h
index aa42374..cf4ea40 100755
--- a/zaptel.h
+++ b/zaptel.h
@@ -558,6 +558,16 @@ char dialstr[ZT_MAX_DTMF_BUF];
#define ZT_ONHOOKTRANSFER _IOW (ZT_CODE, 51, int)
/*
+ * Queue Ping
+ */
+#define ZT_TIMERPING _IOW (ZT_CODE, 42, int)
+
+/*
+ * Acknowledge ping
+ */
+#define ZT_TIMERPONG _IOW (ZT_CODE, 53, int)
+
+/*
* 60-80 are reserved for private drivers
* 80-85 are reserved for dynamic span stuff
*/
@@ -736,6 +746,12 @@ struct zt_tone_def { /* Structure for zone programming */
/* Ret value for the beginning of a pulse coming on its way */
#define ZT_EVENT_PULSE_START 14
+/* Timer event -- timer expired */
+#define ZT_EVENT_TIMER_EXPIRED 15
+
+/* Timer event -- ping ready */
+#define ZT_EVENT_TIMER_PING 16
+
#define ZT_EVENT_PULSEDIGIT (1 << 16) /* This is OR'd with the digit received */
#define ZT_EVENT_DTMFDIGIT (1 << 17) /* Ditto for DTMF */