[asterisk-users] fxotune Error

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jan 13 14:24:08 MST 2007


On Sat, Jan 13, 2007 at 02:51:08PM -0600, John French wrote:
> I'm trying to learn to use fxotune and am getting the error:  Could not
> fill input buffer - got -1 bytes, expected 4000 bytes Failure!  when I
> run it.  This is a new install of Asterisk 1.4 and zaptel 1.4.  Also I
> can't really find an up to date how to on it.  Am I supposed to place
> fxotune on my startup path and run fxotune -s once it is working
> correctly.  Any nuggets of info are most appreciated.
> 
>  
> [root at www zaptel-1.4.0]# ./fxotune -vv -i -b 3 -e 4
> Tuning module /dev/zap/3
> Resetting line
> 0,0,0,0,0,0,0,0,0,-1,1998.667009,0.422893
> 10,0,6,1,254,2,255,0,0,-1,1472.309836,0.311523
> 3,255,255,0,1,0,0,0,0,-1,930.662538,0.196917
> 3,1,253,253,2,255,0,0,0,-1,753.304640,0.159390
> 9,254,251,255,2,0,1,0,0,-1,463.526511,0.098076
> 5,3,251,250,2,254,0,0,255,-1,262.730838,0.055591
> 8,253,2,244,255,10,244,3,253,-1,385.563899,0.081581
> 10,249,244,8,12,245,252,0,1,-1,968.228623,0.204865
> 1,0,0,0,0,0,0,0,0,-1,1809.818403,0.382935
> 10,252,255,1,255,0,0,0,0,-1,1050.062881,0.222180
> 7,255,251,251,2,255,255,1,255,-1,694.337920,0.146913
> 3,1,251,250,1,254,255,0,255,-1,390.528753,0.082631
> 5,252,250,0,0,255,1,0,0,-1,229.706450,0.048603
> 5,3,251,250,1,253,0,0,255,-1,276.796628,0.058567
> 8,253,2,244,255,10,244,3,253,-1,385.488193,0.081565
> 10,249,244,8,12,245,252,0,1,-1,968.380696,0.204897
> 2,0,0,0,0,0,0,0,0,-1,927.067067,0.196156
> 7,0,0,255,254,0,0,0,0,-1,865.567321,0.183143
> 9,0,253,254,2,255,0,0,0,-1,417.253736,0.088286
> 5,1,249,254,4,253,1,0,0,-1,288.752351,0.061096
> 5,252,250,1,1,254,0,255,0,-1,223.330159,0.047254
> 5,3,251,250,2,253,255,255,255,-1,355.908340,0.075306
> 8,253,2,244,255,10,244,3,253,-1,385.646453,0.081598
> 10,249,244,8,12,245,252,0,1,-1,967.460662,0.204703
> 3,0,0,0,0,0,0,0,0,-1,937.031070,0.198264
> 7,0,255,254,255,0,255,0,0,-1,797.578151,0.168758
> 9,0,253,253,1,255,0,0,0,-1,314.018726,0.066442
> 5,1,249,254,3,253,1,0,0,-1,241.203980,0.051036
> 5,252,250,1,1,254,0,255,0,-1,223.249069,0.047237
> 5,3,251,251,2,253,255,255,255,-1,375.524487,0.079456
> Could not fill input buffer - got -1 bytes, expected 4000 bytes
> Failure!

Read returned -1: failed.

Is the system overly-busy? Can interrupts sharing cause this?

> Tuning module /dev/zap/4
> Resetting line
> 0,0,0,0,0,0,0,0,0,-1,1570.495018,0.332297
> 10,0,6,1,254,2,255,0,0,-1,1357.698346,0.287272
> 3,255,255,0,1,0,0,0,0,-1,897.370834,0.189873
> 3,1,253,253,2,255,0,0,0,-1,826.115747,0.174796
> 9,254,251,255,2,0,1,0,0,-1,801.017936,0.169485
> 5,3,251,250,2,254,0,0,255,-1,517.786442,0.109557
> 8,253,2,244,255,10,244,3,253,-1,596.448176,0.126201
> 10,249,244,8,12,245,252,0,1,-1,1334.651950,0.282396
> 1,0,0,0,0,0,0,0,0,-1,1584.490976,0.335259
> 10,252,255,1,255,0,0,0,0,-1,1313.891325,0.278003
> 7,255,251,251,2,255,255,1,255,-1,1027.128645,0.217328
> 3,1,251,250,1,254,255,0,255,-1,782.937418,0.165660
> 5,252,250,0,0,255,1,0,0,-1,785.872695,0.166281
> 5,3,251,250,1,253,0,0,255,-1,570.158387,0.120638
> 8,253,2,244,255,10,244,3,253,-1,597.086203,0.126336
> 10,249,244,8,12,245,252,0,1,-1,1334.956109,0.282460
> 2,0,0,0,0,0,0,0,0,-1,760.888726,0.160995
> 7,0,0,255,254,0,0,0,0,-1,870.134357,0.184110
> 9,0,253,254,2,255,0,0,0,-1,591.725939,0.125202
> 5,1,249,254,4,253,1,0,0,-1,573.417242,0.121328
> 5,252,250,1,1,254,0,255,0,-1,676.772025,0.143197
> 5,3,251,250,2,253,255,255,255,-1,522.890543,0.110637
> 8,253,2,244,255,10,244,3,253,-1,596.466272,0.126205
> 10,249,244,8,12,245,252,0,1,-1,1334.947255,0.282458
> 3,0,0,0,0,0,0,0,0,-1,836.837196,0.177064
> 7,0,255,254,255,0,255,0,0,-1,854.068171,0.180710
> 9,0,253,253,1,255,0,0,0,-1,616.414741,0.130426
> 5,1,249,254,3,253,1,0,0,-1,587.765384,0.124364
> 5,252,250,1,1,254,0,255,0,-1,676.604040,0.143161
> 5,3,251,251,2,253,255,255,255,-1,471.160185,0.099692
> Could not fill input buffer - got -1 bytes, expected 4000 bytes
> Failure!
> Unable to tune 2 devices, even though those devices are present
> [root at www zaptel-1.4.0]#
> 
> 

> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list