summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-07-05 02:51:01 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-07-05 02:51:01 +0000
commit073e09afdb1c46b474efa6bd5e959d94e4b4aea7 (patch)
tree6bce802104f889d0c21396a7d902beaaf214cc43
parentf6e6153c44daa44cf9922e49e2d337e23e2d02dc (diff)
The zaptel.h patch from part of #9909 . Commited as asterisk-dev
discussion concluded in favour. It has been tested mostly on zaptel 1.2 and also on 1.4 and applies cleanly on both. The Asterisk patch is safe to apply and requires no extra autoconf settings, as it is ifdef-ed on the new #define from the zaptel patch. The xpp patch is will be updated on the driver on our upcoming driver update. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2692 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--zaptel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/zaptel.h b/zaptel.h
index 60a0635..3bf2205 100644
--- a/zaptel.h
+++ b/zaptel.h
@@ -662,6 +662,12 @@ struct zt_versioninfo {
*/
#define ZT_TRANSCODE_OP _IOWR(ZT_CODE, 93, int)
+/*
+ * VoiceMail Waiting Indication (WMWI) -- implemented by low-level driver
+ * Tell zaptel that a voicemail message is waiting or not.
+ */
+#define ZT_VMWI _IOWR(ZT_CODE, 94, int)
+
/*
* Startup or Shutdown a span
*/