[zaptel-commits] trunk r992 - in /trunk: zaptel.c zaptel.h
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Tue Mar 28 11:53:51 MST 2006
Author: kpfleming
Date: Tue Mar 28 12:53:50 2006
New Revision: 992
URL: http://svn.digium.com/view/zaptel?rev=992&view=rev
Log:
notify userspace when echo canceller on channel is disabled due to CED detection
Modified:
trunk/zaptel.c
trunk/zaptel.h
Modified: trunk/zaptel.c
URL: http://svn.digium.com/view/zaptel/trunk/zaptel.c?rev=992&r1=991&r2=992&view=diff
==============================================================================
--- trunk/zaptel.c (original)
+++ trunk/zaptel.c Tue Mar 28 12:53:50 2006
@@ -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 @@
ms->echotimer = 0;
kfree(ms->ec);
ms->ec = NULL;
+ __qevent(ss, ZT_EVENT_EC_DISABLED);
break;
}
}
Modified: trunk/zaptel.h
URL: http://svn.digium.com/view/zaptel/trunk/zaptel.h?rev=992&r1=991&r2=992&view=diff
==============================================================================
--- trunk/zaptel.h (original)
+++ trunk/zaptel.h Tue Mar 28 12:53:50 2006
@@ -6,7 +6,7 @@
* written by Jim Dixon <jim at 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 @@
/* 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 */
More information about the zaptel-commits
mailing list