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:<br>
<br>
ioctl(4, 0x40044a03, 0xbfd4840c) = 0<br>
write(4, "\0\0\20)r2\230\34)\3\315\373#\2\231\5\277\1\206\0\211\7"..., 4000) = 4000<br>
read(4, "D\366\f\377\34\7<\16\374\23\374\27\374\30\374\27\374\24"..., 4000) = 4000<br>
gettimeofday({1158150541, 695504}, NULL) = 0<br>
ioctl(4, 0x40094a3f, 0x804c808) = 0<br>
ioctl(4, 0x40044a03, 0xbfd4840c) = 0<br>
write(4, "\0\0\20)r2\230\34)\3\315\373#\2\231\5\277\1\206\0\211\7"..., 4000) = 4000<br>
read(4, 0xbfd4728c,
4000)
= -1 ERRNO_500 (Unknown error 500)<br>
write(2, "Could not fill input buffer - go"..., 64Could not fill input buffer - got -1 bytes, expected 4000 bytes) = 64<br>
close(4)
= 0<br>
write(1, "Failure!\n", 9) = 9<br>
<br>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.<br>
<br>
Unfortunately I am clueless as to where to go from here. <br>
<br>
Any further suggestions would be greatly, greatly appreciated...<br>
<br>
Yours gratefully,<br>
Jonathan<br>
<br><div><span class="gmail_quote">On 9/13/06, <b class="gmail_sendername">Jeff Turner</b> <<a href="mailto:jeff@atlassian.com">jeff@atlassian.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Sep 13, 2006 at 12:27:48AM -0400, Jonathan Barratt wrote:<br>> I'm using Zaptel <a href="http://1.2.9.1">1.2.9.1</a> and receiving the error mentioned in the title when<br>> doing an fxotune -i on a TDM400p, no matter what other parameters I try.
<br>><br>> Has anyone seen this problem and solved it?<br><br>Not sure what causes that, but try prepending 'strace' to the command and<br>see what it's trying to do when it fails.<br><br><br>--Jeff<br><br>> Please, please, please help.
<br>><br>> Fxotune has worked for me in the past and I desperately need to clear up the<br>> echo in this office.<br>><br>> Thanks in advance,<br>> Jonathan<br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>