dect
/
asterisk
Archived
13
0
Fork 0

Don't retrain after each digit

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1814 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2003-12-02 23:09:04 +00:00
parent bfdfae9365
commit c4f2be53f8
1 changed files with 1 additions and 1 deletions

View File

@ -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);