diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-03-28 18:53:50 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-03-28 18:53:50 +0000 |
commit | 06ac833ad43857fca7cf6f8b23b4355dca0dabd0 (patch) | |
tree | 86359494f71c5934342c39d78f618884a504029e /zaptel.h | |
parent | 1b8104a6dde4186f4928e29f8214bd91e8cbdc71 (diff) |
notify userspace when echo canceller on channel is disabled due to CED detection
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@992 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.h')
-rw-r--r-- | zaptel.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -6,7 +6,7 @@ * written by Jim Dixon <jim@lambdatel.com>. * * Copyright (C) 2001 Jim Dixon / Zapata Telephony. - * Copyright (C) 2001, Linux Support Services, Inc. + * Copyright (C) 2001 - 2006 Digium, Inc. * * All rights reserved. * @@ -807,11 +807,14 @@ struct zt_tone_def { /* Structure for zone programming */ /* Timer event -- ping ready */ #define ZT_EVENT_TIMER_PING 16 +/* Polarity reversal event */ +#define ZT_EVENT_POLARITY 17 + /* Ring Begin event */ #define ZT_EVENT_RINGBEGIN 18 -/* Polarity reversal event */ -#define ZT_EVENT_POLARITY 17 +/* Echo can disabled event */ +#define ZT_EVENT_EC_DISABLED 19 #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 */ |