diff options
author | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-03-08 00:50:35 +0000 |
---|---|---|
committer | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-03-08 00:50:35 +0000 |
commit | 6d9d62da2821bcf3d6f61b388120ba796e41e2ad (patch) | |
tree | d06be7cb83f71998a927242290650d38e300d15d | |
parent | d52b29db41136c92e58a85dbefdf6d5f735c1894 (diff) |
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
-rw-r--r-- | zaptel.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |