[asterisk-bugs] [Asterisk 0018090]: app_fax.c: Transmission error for successfully transmitted faxes

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 5 15:41:47 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18090 
====================================================================== 
Reported By:                kenny
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18090
Category:                   Applications/app_fax
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.13 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-04 13:17 CDT
Last Modified:              2010-10-05 15:41 CDT
====================================================================== 
Summary:                    app_fax.c: Transmission error for successfully
transmitted faxes
Description: 
Sometimes application SendFAX indicates "app_fax.c:817 transmit:
Transmission error" even the transmission of FAX was successful "app_fax.c:
Fax transmitted successfully". I figured out it happens because res value
in loop is set to 4 (probably because remote party hangs first?).

I am not sure if the problem is bug or just not expected behavior of
SendFAX application. Because in following scenario external application
will not be notified:

exten => s,1,Noop()
exten => s,n,SendFax(${FAXFILE})
exten => s,n,System(/opt/fax/notify.py "${FAXID}" "${FAXSTATUS}"
"${FAXERROR}")

Workaround is to use "h" extension to catch transmitted faxes with any
result.

exten => s,1,Noop()
exten => s,n,SendFax(${FAXFILE})
exten => h,n,System(/opt/fax/notify.py "${FAXID}" "${FAXSTATUS}"
"${FAXERROR}")

Maybe similar option like "g" in Dial application would be nice in SendFAX
application... or at least note in documentation :-)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-05 15:41 lmadsen        Description Updated                          
2010-10-05 15:41 lmadsen        Additional Information Updated                  
 
======================================================================




More information about the asterisk-bugs mailing list