[Asterisk-cvs] asterisk/channels chan_zap.c,1.146,1.147
markster at lists.digium.com
markster at lists.digium.com
Tue Dec 2 16:42:40 CST 2003
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv3011/channels
Modified Files:
chan_zap.c
Log Message:
Don't retrain after each digit
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -d -r1.146 -r1.147
--- chan_zap.c 1 Dec 2003 23:59:28 -0000 1.146
+++ chan_zap.c 2 Dec 2003 23:09:04 -0000 1.147
@@ -2735,8 +2735,8 @@
}
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);
More information about the svn-commits
mailing list