From 06ac833ad43857fca7cf6f8b23b4355dca0dabd0 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 28 Mar 2006 18:53:50 +0000 Subject: 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 --- zaptel.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'zaptel.h') diff --git a/zaptel.h b/zaptel.h index a77c0a3..0b85236 100644 --- a/zaptel.h +++ b/zaptel.h @@ -6,7 +6,7 @@ * written by Jim Dixon . * * 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 */ -- cgit v1.2.3