<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>

<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=781574520-13012007>I'm trying to learn 
to use fxotune and am getting the error:&nbsp; Could not fill input buffer - got 
-1 bytes, expected 4000 bytes Failure!&nbsp; when I run it.&nbsp; This is a new 
install of Asterisk 1.4 and zaptel 1.4.&nbsp; Also I can't really find an up to 
date how to on it.&nbsp; Am I supposed to place fxotune on my startup path and 
run fxotune -s once it is working correctly.&nbsp; Any nuggets of info are most 
appreciated.<BR>
</SPAN></FONT>
</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;
</DIV>
<DIV><FONT face=Arial size=2>[root@www zaptel-1.4.0]# ./fxotune -vv -i -b 3 -e 
4<BR>
Tuning module /dev/zap/3<BR>
Resetting 
line<BR>
0,0,0,0,0,0,0,0,0,-1,1998.667009,0.422893<BR>
10,0,6,1,254,2,255,0,0,-1,1472.309836,0.311523<BR>
3,255,255,0,1,0,0,0,0,-1,930.662538,0.196917<BR>
3,1,253,253,2,255,0,0,0,-1,753.304640,0.159390<BR>
9,254,251,255,2,0,1,0,0,-1,463.526511,0.098076<BR>
5,3,251,250,2,254,0,0,255,-1,262.730838,0.055591<BR>
8,253,2,244,255,10,244,3,253,-1,385.563899,0.081581<BR>
10,249,244,8,12,245,252,0,1,-1,968.228623,0.204865<BR>
1,0,0,0,0,0,0,0,0,-1,1809.818403,0.382935<BR>
10,252,255,1,255,0,0,0,0,-1,1050.062881,0.222180<BR>
7,255,251,251,2,255,255,1,255,-1,694.337920,0.146913<BR>
3,1,251,250,1,254,255,0,255,-1,390.528753,0.082631<BR>
5,252,250,0,0,255,1,0,0,-1,229.706450,0.048603<BR>
5,3,251,250,1,253,0,0,255,-1,276.796628,0.058567<BR>
8,253,2,244,255,10,244,3,253,-1,385.488193,0.081565<BR>
10,249,244,8,12,245,252,0,1,-1,968.380696,0.204897<BR>
2,0,0,0,0,0,0,0,0,-1,927.067067,0.196156<BR>
7,0,0,255,254,0,0,0,0,-1,865.567321,0.183143<BR>
9,0,253,254,2,255,0,0,0,-1,417.253736,0.088286<BR>
5,1,249,254,4,253,1,0,0,-1,288.752351,0.061096<BR>
5,252,250,1,1,254,0,255,0,-1,223.330159,0.047254<BR>
5,3,251,250,2,253,255,255,255,-1,355.908340,0.075306<BR>
8,253,2,244,255,10,244,3,253,-1,385.646453,0.081598<BR>
10,249,244,8,12,245,252,0,1,-1,967.460662,0.204703<BR>
3,0,0,0,0,0,0,0,0,-1,937.031070,0.198264<BR>
7,0,255,254,255,0,255,0,0,-1,797.578151,0.168758<BR>
9,0,253,253,1,255,0,0,0,-1,314.018726,0.066442<BR>
5,1,249,254,3,253,1,0,0,-1,241.203980,0.051036<BR>
5,252,250,1,1,254,0,255,0,-1,223.249069,0.047237<BR>
5,3,251,251,2,253,255,255,255,-1,375.524487,0.079456<BR>
Could 
not fill input buffer - got -1 bytes, expected 4000 bytes<BR>
Failure!<BR>
Tuning 
module /dev/zap/4<BR>
Resetting 
line<BR>
0,0,0,0,0,0,0,0,0,-1,1570.495018,0.332297<BR>
10,0,6,1,254,2,255,0,0,-1,1357.698346,0.287272<BR>
3,255,255,0,1,0,0,0,0,-1,897.370834,0.189873<BR>
3,1,253,253,2,255,0,0,0,-1,826.115747,0.174796<BR>
9,254,251,255,2,0,1,0,0,-1,801.017936,0.169485<BR>
5,3,251,250,2,254,0,0,255,-1,517.786442,0.109557<BR>
8,253,2,244,255,10,244,3,253,-1,596.448176,0.126201<BR>
10,249,244,8,12,245,252,0,1,-1,1334.651950,0.282396<BR>
1,0,0,0,0,0,0,0,0,-1,1584.490976,0.335259<BR>
10,252,255,1,255,0,0,0,0,-1,1313.891325,0.278003<BR>
7,255,251,251,2,255,255,1,255,-1,1027.128645,0.217328<BR>
3,1,251,250,1,254,255,0,255,-1,782.937418,0.165660<BR>
5,252,250,0,0,255,1,0,0,-1,785.872695,0.166281<BR>
5,3,251,250,1,253,0,0,255,-1,570.158387,0.120638<BR>
8,253,2,244,255,10,244,3,253,-1,597.086203,0.126336<BR>
10,249,244,8,12,245,252,0,1,-1,1334.956109,0.282460<BR>
2,0,0,0,0,0,0,0,0,-1,760.888726,0.160995<BR>
7,0,0,255,254,0,0,0,0,-1,870.134357,0.184110<BR>
9,0,253,254,2,255,0,0,0,-1,591.725939,0.125202<BR>
5,1,249,254,4,253,1,0,0,-1,573.417242,0.121328<BR>
5,252,250,1,1,254,0,255,0,-1,676.772025,0.143197<BR>
5,3,251,250,2,253,255,255,255,-1,522.890543,0.110637<BR>
8,253,2,244,255,10,244,3,253,-1,596.466272,0.126205<BR>
10,249,244,8,12,245,252,0,1,-1,1334.947255,0.282458<BR>
3,0,0,0,0,0,0,0,0,-1,836.837196,0.177064<BR>
7,0,255,254,255,0,255,0,0,-1,854.068171,0.180710<BR>
9,0,253,253,1,255,0,0,0,-1,616.414741,0.130426<BR>
5,1,249,254,3,253,1,0,0,-1,587.765384,0.124364<BR>
5,252,250,1,1,254,0,255,0,-1,676.604040,0.143161<BR>
5,3,251,251,2,253,255,255,255,-1,471.160185,0.099692<BR>
Could 
not fill input buffer - got -1 bytes, expected 4000 bytes<BR>
Failure!<BR>
Unable 
to tune 2 devices, even though those devices are present<BR>
[root@www 
zaptel-1.4.0]#<BR>
</FONT>
</DIV></BODY></HTML>