[asterisk-commits] trunk r15662 - /trunk/channels/chan_zap.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Mar 28 12:00:23 MST 2006
Author: kpfleming
Date: Tue Mar 28 13:00:21 2006
New Revision: 15662
URL: http://svn.digium.com/view/asterisk?rev=15662&view=rev
Log:
ensure that 'zap show channel' will indicate that the echo canceler has been disabled when CED has been detected on the channel
Modified:
trunk/channels/chan_zap.c
Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?rev=15662&r1=15661&r2=15662&view=diff
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Tue Mar 28 13:00:21 2006
@@ -3665,6 +3665,13 @@
}
switch(res) {
+#ifdef ZT_EVENT_EC_DISABLED
+ case ZT_EVENT_EC_DISABLED:
+ if (option_verbose > 2)
+ ast_verbose(VERBOSE_PREFIX_3 "Channel %d echo canceler disabled due to CED detection\n", p->channel);
+ p->echocanon = 0;
+ break;
+#endif
case ZT_EVENT_BITSCHANGED:
if (p->sig == SIG_R2) {
#ifdef ZAPATA_R2
More information about the asterisk-commits
mailing list