[Asterisk-Users] RE: Asterisk fax problems with SPANDSP
Allan Mak
amak at moneyswitch.net
Wed Jul 27 19:40:12 MST 2005
Hi All
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???
----------------------------------------------------------------------------
------------------------------------------------------------------------
Failed fax
asterisk:/var/log/asterisk# less debug | grep 1513
Jul 27 13:20:12 VERBOSE[1513]: -- Executing SetVar("Zap/2-1",
"FAXEXTEN=777") in new stack
Jul 27 13:20:12 VERBOSE[1513]: -- Executing Goto("Zap/2-1",
"fax|2201|1") in new stack
Jul 27 13:20:12 VERBOSE[1513]: -- Goto (fax,2201,1)
Jul 27 13:20:12 VERBOSE[1513]: -- Executing Macro("Zap/2-1",
"faxreceive") in new stack
Jul 27 13:20:12 VERBOSE[1513]: -- Executing SetVar("Zap/2-1",
"FAXFILE=/var/spool/asterisk-fax/1122434412.32.tif") in new stack
Jul 27 13:20:12 VERBOSE[1513]: -- Executing DBget("Zap/2-1",
"EMAILADDR=extensionemail/777") in new stack
Jul 27 13:20:12 VERBOSE[1513]: -- DBget: varname=EMAILADDR,
family=extensionemail, key=777
Jul 27 13:20:12 VERBOSE[1513]: -- DBget: set variable EMAILADDR to
test at test.com
Jul 27 13:20:12 VERBOSE[1513]: -- Executing SetVar("Zap/2-1", "CALLID=")
in new stack
Jul 27 13:20:12 VERBOSE[1513]: -- Executing RxFAX("Zap/2-1",
"/var/spool/asterisk-fax/1122434412.32.tif") in new stack
Jul 27 13:20:12 DEBUG[1513]: DTMF digit: f on Zap/2-1
Jul 27 13:20:59 DEBUG[1513]:
============================================================================
==
Jul 27 13:20:59 DEBUG[1513]: Pages transferred: 1
Jul 27 13:20:59 DEBUG[1513]: Image size: 1728 x 190
Jul 27 13:20:59 DEBUG[1513]: Image resolution 7700 x 7700
Jul 27 13:20:59 DEBUG[1513]: Transfer Rate: 9600
Jul 27 13:20:59 DEBUG[1513]: Bad rows 58
Jul 27 13:20:59 DEBUG[1513]: Longest bad row run 20
Jul 27 13:20:59 DEBUG[1513]: Compression type 2
Jul 27 13:20:59 DEBUG[1513]: Image size (bytes) 0
Jul 27 13:20:59 DEBUG[1513]:
============================================================================
==
Jul 27 13:21:02 DEBUG[1513]:
============================================================================
==
Jul 27 13:21:02 DEBUG[1513]: Fax successfully received.
Jul 27 13:21:02 DEBUG[1513]: Remote station id: RBA
Jul 27 13:21:02 DEBUG[1513]: Local station id:
Jul 27 13:21:02 DEBUG[1513]: Pages transferred: 1
Jul 27 13:21:02 DEBUG[1513]: Image resolution: 7700 x 7700
Jul 27 13:21:02 DEBUG[1513]: Transfer Rate: 9600
Jul 27 13:21:02 DEBUG[1513]:
============================================================================
==
Jul 27 13:21:03 VERBOSE[1513]: -- Executing System("Zap/2-1",
"/usr/local/sbin/mailfax /var/spool/asterisk-fax/1122434412.32.tif
test at test.com 1122434412.32 ") in new stack
Jul 27 13:21:13 DEBUG[1513]: Set option AUDIO MODE, value: ON(1) on Zap/2-1
Jul 27 13:21:13 DEBUG[1513]: Hangup: channel: 2 index = 0, normal = 13,
callwait = -1, thirdcall = -1
Jul 27 13:21:13 DEBUG[1513]: Not yet hungup... Calling hangup once with
icause, and clearing call
Jul 27 13:21:13 DEBUG[1513]: disabled echo cancellation on channel 2
Jul 27 13:21:13 DEBUG[1513]: Set option TDD MODE, value: OFF(0) on Zap/2-1
Jul 27 13:21:13 DEBUG[1513]: Updated conferencing on 2, with 0 conference
users
Jul 27 13:21:13 DEBUG[1513]: Set option AUDIO MODE, value: OFF(0) on Zap/2-1
Jul 27 13:21:13 DEBUG[1513]: disabled echo cancellation on channel 2
Jul 27 13:21:13 VERBOSE[1513]: -- Hungup 'Zap/2-1'
----------------------------------------------------------------------------
----------------------------------------------------------------------
Good Fax
asterisk:/var/log/asterisk# less debug | grep 1540
Jul 27 13:14:12 DEBUG[964]: Stopping retransmission on
'3a276ec05d6f15405fa79d071c3c2e30 at 192.168.0.11' of Request 102: Found
Jul 27 13:33:24 VERBOSE[1540]: -- Executing SetVar("Zap/8-1",
"FAXEXTEN=777") in new stack
Jul 27 13:33:24 VERBOSE[1540]: -- Executing Goto("Zap/8-1",
"fax|2201|1") in new stack
Jul 27 13:33:24 VERBOSE[1540]: -- Goto (fax,2201,1)
Jul 27 13:33:24 VERBOSE[1540]: -- Executing Macro("Zap/8-1",
"faxreceive") in new stack
Jul 27 13:33:24 VERBOSE[1540]: -- Executing SetVar("Zap/8-1",
"FAXFILE=/var/spool/asterisk-fax/1122435204.35.tif") in new stack
Jul 27 13:33:24 VERBOSE[1540]: -- Executing DBget("Zap/8-1",
"EMAILADDR=extensionemail/777") in new stack
Jul 27 13:33:24 VERBOSE[1540]: -- DBget: varname=EMAILADDR,
family=extensionemail, key=777
Jul 27 13:33:24 VERBOSE[1540]: -- DBget: set variable EMAILADDR to
test at test.com
Jul 27 13:33:24 VERBOSE[1540]: -- Executing SetVar("Zap/8-1",
"CALLID=299231788") in new stack
Jul 27 13:33:24 VERBOSE[1540]: -- Executing RxFAX("Zap/8-1",
"/var/spool/asterisk-fax/1122435204.35.tif") in new stack
Jul 27 13:34:59 DEBUG[1540]:
============================================================================
==
Jul 27 13:34:59 DEBUG[1540]: Pages transferred: 1
Jul 27 13:34:59 DEBUG[1540]: Image size: 1728 x 1178
Jul 27 13:34:59 DEBUG[1540]: Image resolution 7700 x 3850
Jul 27 13:34:59 DEBUG[1540]: Transfer Rate: 9600
Jul 27 13:34:59 DEBUG[1540]: Bad rows 0
Jul 27 13:34:59 DEBUG[1540]: Longest bad row run 0
Jul 27 13:34:59 DEBUG[1540]: Compression type 2
Jul 27 13:34:59 DEBUG[1540]: Image size (bytes) 0
Jul 27 13:34:59 DEBUG[1540]:
============================================================================
==
Jul 27 13:35:02 DEBUG[1540]:
============================================================================
==
Jul 27 13:35:02 DEBUG[1540]: Fax successfully received.
Jul 27 13:35:02 DEBUG[1540]: Remote station id: +61289071777
Jul 27 13:35:02 DEBUG[1540]: Local station id:
Jul 27 13:35:02 DEBUG[1540]: Pages transferred: 1
Jul 27 13:35:02 DEBUG[1540]: Image resolution: 7700 x 3850
Jul 27 13:35:02 DEBUG[1540]: Transfer Rate: 9600
Jul 27 13:35:02 DEBUG[1540]:
============================================================================
==
Jul 27 13:35:04 VERBOSE[1540]: -- Executing System("Zap/8-1",
"/usr/local/sbin/mailfax /var/spool/asterisk-fax/1122435204.35.tif
test at test.com 1122435204.35 299231788") in new stack
Jul 27 13:35:12 DEBUG[1540]: Set option AUDIO MODE, value: ON(1) on Zap/8-1
Jul 27 13:35:12 DEBUG[1540]: Hangup: channel: 8 index = 0, normal = 19,
callwait = -1, thirdcall = -1
Jul 27 13:35:12 DEBUG[1540]: Not yet hungup... Calling hangup once with
icause, and clearing call
Jul 27 13:35:12 DEBUG[1540]: disabled echo cancellation on channel 8
Jul 27 13:35:12 DEBUG[1540]: Set option TDD MODE, value: OFF(0) on Zap/8-1
Jul 27 13:35:12 DEBUG[1540]: Updated conferencing on 8, with 0 conference
users
Jul 27 13:35:12 DEBUG[1540]: Set option AUDIO MODE, value: OFF(0) on Zap/8-1
Jul 27 13:35:12 DEBUG[1540]: disabled echo cancellation on channel 8
Jul 27 13:35:12 VERBOSE[1540]: -- Hungup 'Zap/8-1'
asterisk:/var/log/asterisk#
Allan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050727/4181bb74/attachment.htm
More information about the asterisk-users
mailing list