ensure that 'zap show channel' will indicate that the echo canceler has been disabled when CED has been detected on the channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
7298d3feb3
commit
f7c2eed26a
|
@ -3665,6 +3665,13 @@ static struct ast_frame *zt_handle_event(struct ast_channel *ast)
|
||||||
}
|
}
|
||||||
|
|
||||||
switch(res) {
|
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:
|
case ZT_EVENT_BITSCHANGED:
|
||||||
if (p->sig == SIG_R2) {
|
if (p->sig == SIG_R2) {
|
||||||
#ifdef ZAPATA_R2
|
#ifdef ZAPATA_R2
|
||||||
|
|
Loading…
Reference in New Issue