summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zaptel.c3
-rw-r--r--zaptel.h9
2 files changed, 8 insertions, 4 deletions
diff --git a/zaptel.c b/zaptel.c
index 2562686..512b23f 100644
--- a/zaptel.c
+++ b/zaptel.c
@@ -15,7 +15,7 @@
* from Cisco 3620 to IBM x305 here in F1 Group
*
* Copyright (C) 2001 Jim Dixon / Zapata Telephony.
- * Copyright (C) 2001 Linux Support Services, Inc.
+ * Copyright (C) 2001 -2006 Digium, Inc.
*
* All rights reserved.
*
@@ -4810,6 +4810,7 @@ static inline void __zt_process_getaudio_chunk(struct zt_chan *ss, unsigned char
ms->echotimer = 0;
kfree(ms->ec);
ms->ec = NULL;
+ __qevent(ss, ZT_EVENT_EC_DISABLED);
break;
}
}
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 <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 */