[zaptel-commits] russell: branch 1.4 r2294 - /branches/1.4/zaptel.h

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Wed Mar 7 17:48:22 MST 2007


Author: russell
Date: Wed Mar  7 18:48:22 2007
New Revision: 2294

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2294
Log:
Add a constant for ZT_EVENT_REMOVED to allow a driver to hint to userspace that
a channel has been removed. (issue #7256, tzafrir)

Modified:
    branches/1.4/zaptel.h

Modified: branches/1.4/zaptel.h
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel.h?view=diff&rev=2294&r1=2293&r2=2294
==============================================================================
--- branches/1.4/zaptel.h (original)
+++ branches/1.4/zaptel.h Wed Mar  7 18:48:22 2007
@@ -920,6 +920,9 @@
 
 /* Echo can disabled event */
 #define ZT_EVENT_EC_DISABLED 19
+
+/* Channel was disconnected. Hint user to close channel */
+#define ZT_EVENT_REMOVED   20
 
 #define ZT_EVENT_PULSEDIGIT (1 << 16)	/* This is OR'd with the digit received */
 #define ZT_EVENT_DTMFDOWN  (1 << 17)	/* Ditto for DTMF key down event */



More information about the zaptel-commits mailing list