[asterisk-bugs] [Asterisk 0017131]: SENDFAX is not working for me

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 2 11:44:04 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17131 
====================================================================== 
Reported By:                dpack
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17131
Category:                   Applications/app_fax
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.30 
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-04-02 11:43 CDT
Last Modified:              2010-04-02 11:44 CDT
====================================================================== 
Summary:                    SENDFAX is not working for me
Description: 
Hi,

I am using OpenVox A1200p card. I set trunks/outbound and inbound calls
via PSTN. Registered Asterisk FAX.

FAX Statistics:
---------------

Current Sessions     : 1
Transmit Attempts    : 1
Receive Attempts     : 0
Completed FAXes      : 1
Failed FAXes         : 1

Digium G.711
Licensed Channels    : 1
Max Concurrent       : 1
Success              : 0
Switched to T.38     : 0
Canceled             : 0
No FAX               : 0
Partial              : 0
Negotiation Failed   : 0
Train Failure        : 0
Protocol Error       : 0
IO Partial           : 0
IO Fail              : 0

My Dialplan for outgoing fax:

[outboundfax]
exten => s,1,NoOp(send a fax)
exten => s,n,Set(FAXOPT(filename)=${FAXFILE})
exten => s,n,Set(FAXOPT(ecm)=yes)
exten => s,n,Set(FAXOPT(headerinfo)=Fax from MYCOMPANY
https://issues.asterisk.org/view.php?id=2442963)
exten => s,n,Set(FAXOPT(localstationid)=2442963)
exten => s,n,Set(FAXOPT(maxrate)=14400)
exten => s,n,Set(FAXOPT(minrate)=2400)
exten => s,n,SendFAX(/tmp/${FAXFILE},d)
exten => h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)})

Call file:

Channel: Zap/8/2442836
MaxRetries: 1
RetryTime: 60
WaitTime: 60
Archive: yes
Context: outboundfax
Extension: s
Priority: 1
Set: FAXFILE=1.tif

Here is the log:

[Apr  2 11:56:39] VERBOSE[8963] logger.c:     -- Attempting call on
Zap/8/2442836 for s at outboundfax:1 (Retry 1)
[Apr  2 11:56:39] DEBUG[8963] chan_zap.c: Dialing '2442836'
[Apr  2 11:56:39] DEBUG[8963] chan_zap.c: Deferring dialing...
[Apr  2 11:56:40] DEBUG[8963] chan_zap.c: Sent deferred digit string:
T2442836w
[Apr  2 11:56:42] VERBOSE[8963] logger.c:     -- Executing
[s at outboundfax:1] NoOp("Zap/8-1", "send a fax") in new stack
[Apr  2 11:56:42] VERBOSE[8963] logger.c:     -- Executing
[s at outboundfax:2] Set("Zap/8-1", "FAXOPT(filename)=1.tif") in new stack
[Apr  2 11:56:42] WARNING[8963] res_fax.c: channel 'Zap/8-1' set
FAXOPT(filename) to '1.tif' is unhandled!
[Apr  2 11:56:42] VERBOSE[8963] logger.c:     -- Executing
[s at outboundfax:3] Set("Zap/8-1", "FAXOPT(ecm)=yes") in new stack
[Apr  2 11:56:42] VERBOSE[8963] logger.c:     -- Executing
[s at outboundfax:4] Set("Zap/8-1", "FAXOPT(headerinfo)=Fax from MYCOMPANY
https://issues.asterisk.org/view.php?id=2442963") in new stack
[Apr  2 11:56:42] VERBOSE[8963] logger.c:     -- Executing
[s at outboundfax:5] Set("Zap/8-1", "FAXOPT(localstationid)=2442963") in new
stack
[Apr  2 11:56:42] VERBOSE[8963] logger.c:     -- Executing
[s at outboundfax:6] Set("Zap/8-1", "FAXOPT(maxrate)=14400") in new stack
[Apr  2 11:56:42] VERBOSE[8963] logger.c:     -- Executing
[s at outboundfax:7] Set("Zap/8-1", "FAXOPT(minrate)=2400") in new stack
[Apr  2 11:56:42] VERBOSE[8963] logger.c:     -- Executing
[s at outboundfax:8] SendFAX("Zap/8-1", "/tmp/1.tif|d") in new stack
[Apr  2 11:56:42] VERBOSE[8963] logger.c:     -- Channel 'Zap/8-1' sending
FAX '/tmp/1.tif'
[Apr  2 11:56:42] ERROR[8963] res_fax_digium.c: FAX handle 0: failed to
queue document '/tmp/1.tif'
[Apr  2 11:56:42] ERROR[8963] res_fax.c: channel 'Zap/8-1' FAX session '0'
failure, reason: 'failed to start FAX session'
[Apr  2 11:56:42] VERBOSE[8963] logger.c:   == Auto fallthrough, channel
'Zap/8-1' status is 'UNKNOWN'
[Apr  2 11:56:42] VERBOSE[8963] logger.c:     -- Executing
[h at outboundfax:1] NoOp("Zap/8-1", "FAXOPT(ecm) : yes") in new stack
[Apr  2 11:56:42] VERBOSE[8963] logger.c:     -- Hungup 'Zap/8-1'
[Apr  2 11:56:42] NOTICE[8963] pbx_spool.c: Call completed to
Zap/8/2442836
[Apr  2 11:56:43] DEBUG[8946] chan_zap.c: Message status for 6001 changed
from -1 to 0 on 1
[Apr  2 11:56:44] DEBUG[8946] chan_zap.c: Message status for 6002 changed
from -1 to 0 on 2
[Apr  2 11:56:45] DEBUG[8946] chan_zap.c: Message status for 6003 changed
from -1 to 0 on 3
[Apr  2 11:56:45] VERBOSE[8996] logger.c:   == Parsing
'/etc/asterisk/manager.conf': [Apr  2 11:56:45] VERBOSE[8996] logger.c:
Found
[Apr  2 11:56:45] VERBOSE[8996] logger.c:   == Parsing
'/etc/asterisk/manager_additional.conf': [Apr  2 11:56:45] VERBOSE[8996]
logger.c: Found
[Apr  2 11:56:45] VERBOSE[8996] logger.c:   == Parsing
'/etc/asterisk/manager_custom.conf': [Apr  2 11:56:45] VERBOSE[8996]
logger.c: Found
[Apr  2 11:56:45] VERBOSE[8996] logger.c:   == Manager 'admin' logged on
from 127.0.0.1
[Apr  2 11:56:46] DEBUG[8946] chan_zap.c: Message status for 6004 changed
from -1 to 0 on 4


====================================================================== 

---------------------------------------------------------------------- 
 (0120092) dpack (reporter) - 2010-04-02 11:44
 https://issues.asterisk.org/view.php?id=17131#c120092 
---------------------------------------------------------------------- 
What is the problem? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-02 11:44 dpack          Note Added: 0120092                          
======================================================================




More information about the asterisk-bugs mailing list