<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2><SPAN class=043571705-27072005>Hi
All</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=043571705-27072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=043571705-27072005>I am using asterisk
version cvs-v1-0-04/15/05 and spandsp 0.0.2pre18. I can receive and then
email most faxes without issues, but recently I am having this issue when
receiving faxes from a particular person. I can receive the faxes ok, but there
are alot of bad rows as indicated by my logs below and the fax is not readable.
I have included a good (from another user) and a bad fax. We have
a E1 connection into a digium TE410P card. Any ideas???</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=043571705-27072005>----------------------------------------------------------------------------------------------------------------------------------------------------</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=043571705-27072005>Failed
fax</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=043571705-27072005>asterisk:/var/log/asterisk# less debug | grep
1513<BR>Jul 27 13:20:12 VERBOSE[1513]: -- Executing
SetVar("Zap/2-1", "FAXEXTEN=777") in new stack<BR>Jul 27 13:20:12
VERBOSE[1513]: -- Executing Goto("Zap/2-1",
"fax|2201|1") in new stack<BR>Jul 27 13:20:12
VERBOSE[1513]: -- Goto (fax,2201,1)<BR>Jul 27 13:20:12
VERBOSE[1513]: -- Executing Macro("Zap/2-1",
"faxreceive") in new stack<BR>Jul 27 13:20:12
VERBOSE[1513]: -- Executing SetVar("Zap/2-1",
"FAXFILE=/var/spool/asterisk-fax/1122434412.32.tif") in new </SPAN></FONT><FONT
face=Arial size=2><SPAN class=043571705-27072005>stack<BR>Jul 27 13:20:12
VERBOSE[1513]: -- Executing DBget("Zap/2-1",
"EMAILADDR=extensionemail/777") in new stack<BR>Jul 27 13:20:12
VERBOSE[1513]: -- DBget: varname=EMAILADDR,
family=extensionemail, key=777<BR>Jul 27 13:20:12
VERBOSE[1513]: -- DBget: set variable EMAILADDR to <A
title=mailto:test@test.com href="mailto:test@test.com">test@test.com</A><BR>Jul
27 13:20:12 VERBOSE[1513]: -- Executing
SetVar("Zap/2-1", "CALLID=") in new stack<BR>Jul 27 13:20:12
VERBOSE[1513]: -- Executing RxFAX("Zap/2-1",
"/var/spool/asterisk-fax/1122434412.32.tif") in new stack<BR>Jul 27 13:20:12
DEBUG[1513]: DTMF digit: f on Zap/2-1<BR>Jul 27 13:20:59 DEBUG[1513]:
==============================================================================<BR>Jul
27 13:20:59 DEBUG[1513]: Pages transferred: 1<BR>Jul 27 13:20:59
DEBUG[1513]: Image size: 1728 x
190<BR>Jul 27 13:20:59 DEBUG[1513]: Image resolution 7700 x
7700<BR>Jul 27 13:20:59 DEBUG[1513]: Transfer
Rate: 9600<BR>Jul 27 13:20:59 DEBUG[1513]: Bad
rows 58<BR>Jul
27 13:20:59 DEBUG[1513]: Longest bad row run 20<BR>Jul 27 13:20:59 DEBUG[1513]:
Compression type 2<BR>Jul 27 13:20:59 DEBUG[1513]: Image size
(bytes) 0<BR>Jul 27 13:20:59 DEBUG[1513]:
==============================================================================<BR>Jul
27 13:21:02 DEBUG[1513]:
==============================================================================<BR>Jul
27 13:21:02 DEBUG[1513]: Fax successfully received.<BR>Jul 27 13:21:02
DEBUG[1513]: Remote station id: RBA<BR>Jul 27 13:21:02 DEBUG[1513]: Local
station id:<BR>Jul 27 13:21:02 DEBUG[1513]: Pages transferred: 1<BR>Jul 27
13:21:02 DEBUG[1513]: Image resolution: 7700 x 7700<BR>Jul 27 13:21:02
DEBUG[1513]: Transfer Rate: 9600<BR>Jul 27 13:21:02
DEBUG[1513]:
==============================================================================<BR>Jul
27 13:21:03 VERBOSE[1513]: -- Executing
System("Zap/2-1", "/usr/local/sbin/mailfax </SPAN></FONT><FONT face=Arial
size=2><SPAN
class=043571705-27072005>/var/spool/asterisk-fax/1122434412.32.tif <A
title=mailto:test@test.com href="mailto:test@test.com">test@test.com</A>
1122434412.32 ") in new stack<BR>Jul 27 13:21:13 DEBUG[1513]: Set option AUDIO
MODE, value: ON(1) on Zap/2-1<BR>Jul 27 13:21:13 DEBUG[1513]: Hangup: channel: 2
index = 0, normal = 13, callwait = -1, thirdcall = -1<BR>Jul 27 13:21:13
DEBUG[1513]: Not yet hungup... Calling hangup once with icause, and
clearing call<BR>Jul 27 13:21:13 DEBUG[1513]: disabled echo cancellation on
channel 2<BR>Jul 27 13:21:13 DEBUG[1513]: Set option TDD MODE, value: OFF(0) on
Zap/2-1<BR>Jul 27 13:21:13 DEBUG[1513]: Updated conferencing on 2, with 0
conference users<BR>Jul 27 13:21:13 DEBUG[1513]: Set option AUDIO MODE, value:
OFF(0) on Zap/2-1<BR>Jul 27 13:21:13 DEBUG[1513]: disabled echo cancellation on
channel 2<BR>Jul 27 13:21:13 VERBOSE[1513]: -- Hungup
'Zap/2-1'</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=043571705-27072005>--------------------------------------------------------------------------------------------------------------------------------------------------</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=043571705-27072005>Good
Fax</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=043571705-27072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=043571705-27072005>asterisk:/var/log/asterisk# less debug | grep
1540<BR>Jul 27 13:14:12 DEBUG[964]: Stopping retransmission on <A
title="mailto:'3a276ec05d6f15405fa79d071c3c2e30@192.168.0.11'"
href="mailto:'3a276ec05d6f15405fa79d071c3c2e30@192.168.0.11'">'3a276ec05d6f15405fa79d071c3c2e30@192.168.0.11'</A>
of Request 102: Found<BR>Jul 27 13:33:24 VERBOSE[1540]:
-- Executing SetVar("Zap/8-1", "FAXEXTEN=777") in new stack<BR>Jul 27 13:33:24
VERBOSE[1540]: -- Executing Goto("Zap/8-1",
"fax|2201|1") in new stack<BR>Jul 27 13:33:24
VERBOSE[1540]: -- Goto (fax,2201,1)<BR>Jul 27 13:33:24
VERBOSE[1540]: -- Executing Macro("Zap/8-1",
"faxreceive") in new stack<BR>Jul 27 13:33:24
VERBOSE[1540]: -- Executing SetVar("Zap/8-1",
"FAXFILE=/var/spool/asterisk-fax/1122435204.35.tif") in new </SPAN></FONT><FONT
face=Arial size=2><SPAN class=043571705-27072005>stack<BR>Jul 27 13:33:24
VERBOSE[1540]: -- Executing DBget("Zap/8-1",
"EMAILADDR=extensionemail/777") in new stack<BR>Jul 27 13:33:24
VERBOSE[1540]: -- DBget: varname=EMAILADDR,
family=extensionemail, key=777<BR>Jul 27 13:33:24
VERBOSE[1540]: -- DBget: set variable EMAILADDR to <A
title=mailto:test@test.com href="mailto:test@test.com">test@test.com</A><BR>Jul
27 13:33:24 VERBOSE[1540]: -- Executing
SetVar("Zap/8-1", "CALLID=299231788") in new stack<BR>Jul 27 13:33:24
VERBOSE[1540]: -- Executing RxFAX("Zap/8-1",
"/var/spool/asterisk-fax/1122435204.35.tif") in new stack<BR>Jul 27 13:34:59
DEBUG[1540]:
==============================================================================<BR>Jul
27 13:34:59 DEBUG[1540]: Pages transferred: 1<BR>Jul 27 13:34:59
DEBUG[1540]: Image size: 1728 x
1178<BR>Jul 27 13:34:59 DEBUG[1540]: Image resolution 7700 x
3850<BR>Jul 27 13:34:59 DEBUG[1540]: Transfer
Rate: 9600<BR>Jul 27 13:34:59 DEBUG[1540]: Bad
rows 0<BR>Jul
27 13:34:59 DEBUG[1540]: Longest bad row run 0<BR>Jul 27 13:34:59 DEBUG[1540]:
Compression type 2<BR>Jul 27 13:34:59 DEBUG[1540]: Image size
(bytes) 0<BR>Jul 27 13:34:59 DEBUG[1540]:
==============================================================================<BR>Jul
27 13:35:02 DEBUG[1540]:
==============================================================================<BR>Jul
27 13:35:02 DEBUG[1540]: Fax successfully received.<BR>Jul 27 13:35:02
DEBUG[1540]: Remote station id: +61289071777<BR>Jul 27 13:35:02 DEBUG[1540]:
Local station id:<BR>Jul 27 13:35:02 DEBUG[1540]: Pages transferred: 1<BR>Jul 27
13:35:02 DEBUG[1540]: Image resolution: 7700 x 3850<BR>Jul 27 13:35:02
DEBUG[1540]: Transfer Rate: 9600<BR>Jul 27 13:35:02
DEBUG[1540]:
==============================================================================<BR>Jul
27 13:35:04 VERBOSE[1540]: -- Executing
System("Zap/8-1", "/usr/local/sbin/mailfax </SPAN></FONT><FONT face=Arial
size=2><SPAN class=043571705-27072005>/var/spool/asterisk-fax/1122435204.35.tif
<A title=mailto:test@test.com
href="mailto:test@test.com">test@test.com</A> 1122435204.35 299231788") in
new stack<BR>Jul 27 13:35:12 DEBUG[1540]: Set option AUDIO MODE, value: ON(1) on
Zap/8-1<BR>Jul 27 13:35:12 DEBUG[1540]: Hangup: channel: 8 index = 0, normal =
19, callwait = -1, thirdcall = -1<BR>Jul 27 13:35:12 DEBUG[1540]: Not yet
hungup... Calling hangup once with icause, and clearing call<BR>Jul 27
13:35:12 DEBUG[1540]: disabled echo cancellation on channel 8<BR>Jul 27 13:35:12
DEBUG[1540]: Set option TDD MODE, value: OFF(0) on Zap/8-1<BR>Jul 27 13:35:12
DEBUG[1540]: Updated conferencing on 8, with 0 conference users<BR>Jul 27
13:35:12 DEBUG[1540]: Set option AUDIO MODE, value: OFF(0) on Zap/8-1<BR>Jul 27
13:35:12 DEBUG[1540]: disabled echo cancellation on channel 8<BR>Jul 27 13:35:12
VERBOSE[1540]: -- Hungup
'Zap/8-1'<BR>asterisk:/var/log/asterisk#</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Arial size=2>Allan
</FONT></FONT></DIV></DIV></BODY></HTML>