[asterisk-bugs] [Asterisk 0014258]: app_fax: ReceiveFax fails with more than 1 page.

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 20 17:10:51 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14258 
====================================================================== 
Reported By:                seandarcy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14258
Category:                   Applications/app_fax
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1-beta4 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-16 11:38 CST
Last Modified:              2009-01-20 17:10 CST
====================================================================== 
Summary:                    app_fax: ReceiveFax fails with more than 1 page.
Description: 
1.6.1-beta4: pstn connected to TDM400P. The sender is the office fax (
Brother ) used daily without problems. I can receive faxes with the pstn
hooked up to my fax machine.

A one page fax works fine, but two pages causes an error. Same problem
whether using * built with and using spandsp-0.0.5-pre4 or built with and
using 0.0.6-pre3, but different error messages:

0.0.5-pre4:

    -- Executing [fax at incoming-pstn-line:1] NoOp("DAHDI/4-1", "Fax
Detected") in new stack
    -- Executing [fax at incoming-pstn-line:2] Goto("DAHDI/4-1",
"incoming-fax,s,1") in new stack
    -- Goto (incoming-fax,s,1)
    -- Executing [s at incoming-fax:1] Set("DAHDI/4-1",
"FAXFILE=/var/spool/asterisk/fax/200901161227-0") in new stack
    -- Executing [s at incoming-fax:2] ReceiveFAX("DAHDI/4-1",
"/var/spool/asterisk/fax/200901161227-0.tif") in new stack
[Jan 16 12:28:58] WARNING[24687]: app_fax.c:177 phase_e_handler: Error
transmitting fax. result=49: The call dropped prematurely.
[Jan 16 12:28:58] WARNING[24687]: app_fax.c:644 transmit: Transmission
error
  == Spawn extension (incoming-fax, s, 2) exited non-zero on 'DAHDI/4-1'

0.0.6-pre3:

    -- Executing [s at incoming-fax:1] Set("DAHDI/4-1",
"FAXFILE=/var/spool/asterisk/fax/200901161136-0") in new stack
    -- Executing [s at incoming-fax:2] ReceiveFAX("DAHDI/4-1",
"/var/spool/asterisk/fax/200901161136-0.tif") in new stack
[Jan 16 11:37:35] WARNING[6584]: app_fax.c:177 phase_e_handler: Error
transmitting fax. result=13: Unexpected message received.
[Jan 16 11:37:35] WARNING[6584]: app_fax.c:647 transmit: Transmission
failed
    -- Executing [s at incoming-fax:3] Hangup("DAHDI/4-1", "") in new stack

On the sending machine, no error for one page faxes, for two pages "Poor
line condition"
====================================================================== 

---------------------------------------------------------------------- 
 (0098276) seandarcy (reporter) - 2009-01-20 17:10
 http://bugs.digium.com/view.php?id=14258#c98276 
---------------------------------------------------------------------- 
Went and got spandsp-20090117.tar.gz. Installed it and rebuilt asterisk.

Same problem with two pages, and now it errors out with ONE page.  The
error message is like 0.0.5-pre4 - result=49:

    -- Executing [s at incoming-fax:1] Set("DAHDI/4-1",
"FAXFILE=/var/spool/asterisk/fax/200901201802-0") in new stack
    -- Executing [s at incoming-fax:2] ReceiveFAX("DAHDI/4-1",
"/var/spool/asterisk/fax/200901201802-0.tif") in new stack
[Jan 20 18:03:15] WARNING[3719]: app_fax.c:177 phase_e_handler: Error
transmitting fax. result=49: The call dropped prematurely.
[Jan 20 18:03:15] WARNING[3719]: app_fax.c:644 transmit: Transmission
error 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-20 17:10 seandarcy      Note Added: 0098276                          
======================================================================




More information about the asterisk-bugs mailing list