Summary: | ASTERISK-15908: SENDFAX is not working for me | ||
Reporter: | dealpack (dpack) | Labels: | |
Date Opened: | 2010-04-02 11:43:25 | Date Closed: | 2011-06-07 14:05:13 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_fax |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
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 #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@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@outboundfax:1] NoOp("Zap/8-1", "send a fax") in new stack [Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@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@outboundfax:3] Set("Zap/8-1", "FAXOPT(ecm)=yes") in new stack [Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@outboundfax:4] Set("Zap/8-1", "FAXOPT(headerinfo)=Fax from MYCOMPANY #2442963") in new stack [Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@outboundfax:5] Set("Zap/8-1", "FAXOPT(localstationid)=2442963") in new stack [Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@outboundfax:6] Set("Zap/8-1", "FAXOPT(maxrate)=14400") in new stack [Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@outboundfax:7] Set("Zap/8-1", "FAXOPT(minrate)=2400") in new stack [Apr 2 11:56:42] VERBOSE[8963] logger.c: -- Executing [s@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@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 | ||
Comments: | By: dealpack (dpack) 2010-04-02 11:44:03 What is the problem? By: Ronald Chan (loloski) 2010-04-02 12:07:16 you are still using zaptel don't you?, can you try reproducing it with chan_dahdi? By: Jason Parker (jparker) 2010-04-02 12:34:49 Please contact Digium support. We will be unable to help you with that module here. |