Setting zero echo canceller taps disables any echo cancelling.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2369 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2008-11-26 15:36:36 +00:00
parent 101f72cddd
commit 110c54b9e7
1 changed files with 2 additions and 0 deletions

View File

@ -604,6 +604,8 @@ bool SigChannel::startCall(Message& msg, String& links)
cic->setParam("echotaps",*echo);
cic->setParam("echocancel",String::boolText(true));
}
else if (taps == 0)
cic->setParam("echocancel",String::boolText(false));
else
cic->setParam("echocancel",String::boolText(echo->toBoolean(true)));
}