Thank you for the suggestion; I ran strace (which is an awesome util to discover in its own right, thanks Jeff!), and here's the relevant section of output:

ioctl(4, 0x40044a03, 0xbfd4840c)        = 0
write(4, "\0\0\20)r2\230\34)\3\315\373#\2\231\5\277\1\206\0\211\7"..., 4000) = 4000
read(4, "D\366\f\377\34\7<\16\374\23\374\27\374\30\374\27\374\24"..., 4000) = 4000
gettimeofday({1158150541, 695504}, NULL) = 0
ioctl(4, 0x40094a3f, 0x804c808)         = 0
ioctl(4, 0x40044a03, 0xbfd4840c)        = 0
write(4, "\0\0\20)r2\230\34)\3\315\373#\2\231\5\277\1\206\0\211\7"..., 4000) = 4000
read(4, 0xbfd4728c, 4000)               = -1 ERRNO_500 (Unknown error 500)
write(2, "Could not fill input buffer - go"..., 64Could not fill input buffer - got -1 bytes, expected 4000 bytes) = 64
close(4)                                = 0
write(1, "Failure!\n", 9)               = 9

So the problem is the last read call, which differs from all the previous read calls fxotune makes in that the second parameter is a hex value rather than a quoted string.

Unfortunately I am clueless as to where to go from here. 

Any further suggestions would be greatly, greatly appreciated...

Yours gratefully,
Jonathan

On 9/13/06, Jeff Turner <[EMAIL PROTECTED]> wrote:
On Wed, Sep 13, 2006 at 12:27:48AM -0400, Jonathan Barratt wrote:
> I'm using Zaptel 1.2.9.1 and receiving the error mentioned in the title when
> doing an fxotune -i on a TDM400p, no matter what other parameters I try.
>
> Has anyone seen this problem and solved it?

Not sure what causes that, but try prepending 'strace' to the command and
see what it's trying to do when it fails.


--Jeff

> Please, please, please help.
>
> Fxotune has worked for me in the past and I desperately need to clear up the
> echo in this office.
>
> Thanks in advance,
> Jonathan
_______________________________________________
--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

_______________________________________________
--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

Reply via email to