From 6d9d62da2821bcf3d6f61b388120ba796e41e2ad Mon Sep 17 00:00:00 2001 From: russell Date: Thu, 8 Mar 2007 00:50:35 +0000 Subject: Merged revisions 2294 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.4 ........ r2294 | russell | 2007-03-07 18:48:22 -0600 (Wed, 07 Mar 2007) | 3 lines Add a constant for ZT_EVENT_REMOVED to allow a driver to hint to userspace that a channel has been removed. (issue #7256, tzafrir) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2295 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- zaptel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zaptel.h') diff --git a/zaptel.h b/zaptel.h index 56369c9..0f862e9 100644 --- a/zaptel.h +++ b/zaptel.h @@ -924,6 +924,9 @@ struct zt_tone_def { /* Structure for zone programming */ /* 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 */ #define ZT_EVENT_DTMFUP (1 << 18) /* Ditto for DTMF key up event */ -- cgit v1.2.3