[Asterisk-cvs] zaptel fxotune.c,1.10,1.11
mattf at lists.digium.com
mattf at lists.digium.com
Mon Jan 17 09:49:58 CST 2005
- Previous message: [Asterisk-cvs] libpri libpri.h, 1.39, 1.40 pri_internal.h, 1.14,
1.15 q931.c, 1.105, 1.106
- Next message: [Asterisk-cvs] zaptel fxotune.c, 1.11, 1.12 wctdm.c, 1.102,
1.103 wctdm.h, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv28288
Modified Files:
fxotune.c
Log Message:
Little changes, minor fixes
Index: fxotune.c
===================================================================
RCS file: /usr/cvsroot/zaptel/fxotune.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- fxotune.c 15 Jan 2005 07:09:46 -0000 1.10
+++ fxotune.c 17 Jan 2005 15:53:17 -0000 1.11
@@ -35,7 +35,7 @@
static char *configfile = "/etc/fxotune.conf";
static char *usage =
-"Usage: fxotest\n"
+"Usage: fxotune\n"
" -i <number> : Tests for FXO modules and sets echo coefficients, dialing <number> to clear dialtone\n"
" -s : Sets the FXO modules echo coefficients on your system to the best settings\n";
@@ -271,7 +271,7 @@
}
if (ioctl(fd, WCTDM_SET_ECHOTUNE, &mycoefs)) {
- fprintf(stdout, "echotune: %s\n", strerror(errno));
+ fprintf(stdout, "%s: %s\n", completezappath, strerror(errno));
return -1;
}
}
@@ -314,7 +314,7 @@
/* Do output to file */
int len = 0;
static char output[255] = "";
- snprintf(output, sizeof(output), "%d=%d,%d,%d,%d,%d,%d,%d,%d,%d\n", i,
+ snprintf(output, sizeof(output), "%d=%d,%d,%d,%d,%d,%d,%d,%d,%d\n", i+1,
echo_trys[i].acim, echo_trys[i].coef1, echo_trys[i].coef2,
echo_trys[i].coef3, echo_trys[i].coef4, echo_trys[i].coef5,
echo_trys[i].coef6, echo_trys[i].coef7, echo_trys[i].coef8 );
- Previous message: [Asterisk-cvs] libpri libpri.h, 1.39, 1.40 pri_internal.h, 1.14,
1.15 q931.c, 1.105, 1.106
- Next message: [Asterisk-cvs] zaptel fxotune.c, 1.11, 1.12 wctdm.c, 1.102,
1.103 wctdm.h, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list