mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Don't retrain after each digit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2735,8 +2735,8 @@ static struct ast_frame *zt_handle_event(struct ast_channel *ast)
|
||||
}
|
||||
if (!x) { /* if not still dialing in driver */
|
||||
zt_enable_ec(p);
|
||||
zt_train_ec(p);
|
||||
if (p->echobreak) {
|
||||
zt_train_ec(p);
|
||||
strcpy(p->dop.dialstr, p->echorest);
|
||||
p->dop.op = ZT_DIAL_OP_REPLACE;
|
||||
res = ioctl(p->subs[SUB_REAL].zfd, ZT_DIAL, &p->dop);
|
||||
|
Reference in New Issue
Block a user