RE: [Asterisk-Users] txfax problem
James, Which fax application are you using? MD From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James HawksSent: Monday, March 27, 2006 5:29 PMTo: asterisk-users@lists.digium.comSubject: [Asterisk-Users] txfax problem I can not get txfax to work with a multiple page tiff image. It works fine with a single page tiff image. Has anyone had this problem before and if so is there a fix? Thank You,James HawksCTO CustomerFunding.com Inc.(877) 784-1030 x206 ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] txfax problem
I am using Asterfax but I also tried the following with the same results: [macro-testfax]exten = s,1,Set(FAXFILE=/var/spool/asterisk/fax/QWWWxx1.tif))exten = s,2,txfax(${FAXFILE}|caller) [default]exten = 7001,1,Answerexten = 7001,n,Dial(ZAP/97/94805175098|30|gM(testfax))exten = 7001,n,Hangupexten = 7001,102,Congestion I did this to see if Asterfax was the problem or it was txfax. It seems to be txfax or the tif file. I also tried using a fax machine attached to my asterisk server and the fax went through with no problems so that eliminated a hardware issue with my Digium cards. Thank You,James HawksCTO CustomerFunding.com Inc.(877) 784-1030 x206 - Original Message - From: Technical Support To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Sent: Monday, March 27, 2006 4:31 PM Subject: RE: [Asterisk-Users] txfax problem James, Which fax application are you using? MD From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James HawksSent: Monday, March 27, 2006 5:29 PMTo: asterisk-users@lists.digium.comSubject: [Asterisk-Users] txfax problem I can not get txfax to work with a multiple page tiff image. It works fine with a single page tiff image. Has anyone had this problem before and if so is there a fix? Thank You,James HawksCTO CustomerFunding.com Inc.(877) 784-1030 x206 ___--Bandwidth and Colocation provided by Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] TxFAX problem
Hi Vladyslav, Use 0.0.2pre1, but add the line fax.verbose = TRUE; just after fax_init(fax, calling_party, NULL); That will turn on the detailed logging. Is the listing you posted the entire log? It looks like there should be more. One common mistake people make - Did you use the |caller parameter when running txfax? Regards, Steve Vladyslav wrote: Hi Ppl. Once, couple weeks ago when I have updated * from CVS-HEAD something happen and I could not send a fax anymore. After that I have tried previous * CVS versions with different versions of spandsp (0.0.1, 0.0.2pre4, 0.0.2pre10) but without any changes. I have tried that on Fedora Core 2 with libtiff-3.5.7-16.1 and libtiff-devel-3.5.7-16.1. Everything compiles smoothly, but when I try to send a fax it tries to negotiate and than hangup (on fax machine - incomplete), also tried to send to another fax machine (but result was the same). I get back to spandsp-0.0.1 because that one has at least a bit more debug output than 0.0.2pre10. and here what I got: Slow carrier down Slow carrier up NSF: 20 00 00 79 00 00 00 82 0f 09 03 10 10 00 02 95 80 9c f8 80 40 01 49 02 41 52 41 59 4f 5a 20 55 4b 52 41 49 4e 45 23 20 03 NSF without final frame tag The remote is made by 'Panasonic' DIS: 80 20 ee 99 84 80 11 DIS with final frame tag In state 4 Slow carrier down Slow carrier up XCN: fa XCN with final frame tag In state 4 Disconnecting Changed from phase 3 to 7 Does anyone have a clue what it could be ? ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] TxFAX problem
Thx for your reply. On Wed, 2005-03-16 at 17:35, Steve Underwood wrote: Hi Vladyslav, Use 0.0.2pre1, but add the line fax.verbose = TRUE; just after fax_init(fax, calling_party, NULL); That will turn on the detailed logging. Added, recompiled and tested again. Is the listing you posted the entire log? It looks like there should be more. Yes, before there was some additional information One common mistake people make - Did you use the |caller parameter when running txfax? yes I use that one. Regards, Steve Here is new one : (but it's spandsp-0.0.2pre10) *CLI -- Executing NoOp(SIP/103-dfb6, ) in new stack -- Executing AGI(SIP/103-dfb6, set-timestamp.agi) in new stack -- Executing System(SIP/103-dfb6, echo 16032005-18:15:06 - VladK 103 - SIP/103-dfb6 - 901 /var/log/asterisk/calls) in new stack -- Executing DBput(SIP/103-dfb6, RepeatDial/103=901) in new stack -- DBput: family=RepeatDial, key=103, value=901 -- Executing DBget(SIP/103-dfb6, recv=Record/103) in new stack -- DBget: varname=recv, family=Record, key=103 -- DBget: set variable recv to on -- Executing GotoIf(SIP/103-dfb6, 1?7:9) in new stack -- Goto (from-sip,901,7) -- Executing SetVar(SIP/103-dfb6, CALLFILENAME=20050316-181506-103-901) in new stack -- Executing Monitor(SIP/103-dfb6, wav|20050316-181506-103-901) in new stack -- Executing Goto(SIP/103-dfb6, from-sip-post|901|1) in new stack -- Goto (from-sip-post,901,1) -- Executing Answer(SIP/103-dfb6, ) in new stack -- Executing TxFAX(SIP/103-dfb6, /tmp/testfax.tif|caller) in new stack Slow carrier up Mar 16 18:15:10 NOTICE[10168]: rtp.c:540 ast_rtp_read: Unknown RTP codec 100 received Slow carrier down Slow carrier up Slow carrier down Slow carrier up NSF: 20 00 00 79 00 00 00 82 0f 09 03 10 10 00 02 95 80 9c f8 80 40 01 49 02 41 52 41 59 4f 5a 20 55 4b 52 41 49 4e 45 23 20 03 NSF without final frame tag The remote was made by 'Panasonic' DIS: 80 20 ee 99 84 80 11 DIS with final frame tag In state 10 DIS: V.8 capable Prefer 256 octet blocks Can receive fax Supported data signalling rates: V.27ter, V.29 and V.17 R8x7.7lines/mm and/or 200x200pels/25.4mm 2D coding Scan line length: 215mm or 255mm Recording length: A4 (297mm) and B4 (364mm) Receiver's minimum scan line time: 5ms at 3.85 l/mm: T7.7 = T3.85 Error correction mode R8x15.4lines/mm Metric-based resolution preferred Minimum scan line time for higher resolutions: T15.4 = T7.7 DCS: Can receive fax Selected data signalling rate: V.29, 9600bps 2D coding Scan line length: 215mm Recording length: A4 (297mm) Minimum scan line time: 20ms Minimum scan line time for higher resolutions: T15.4 = T7.7 Start sending document Start tx document Changed from phase 2 to 4 DCS: 83 00 c6 80 80 80 00 HDLC underflow in state 3 Changed from phase 4 to 6 Changed from phase 6 to 3 Slow carrier up CFR: 84 CFR with final frame tag In state 4 Trainability test succeeded Start tx page Slow carrier down Changed from phase 3 to 6 *CLI show ch channel channels channeltypes *CLI show channels Channel (ContextExtensionPri ) State Appl. Data 0 active channel(s) ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] TxFAX problem
Hi Vladyslav, The log looks good so far. The far end has negotiated. The fast modem has been tested. Transmission of the first page has been. What happens next. I don't think the log really stopped at that point. Did you wait long enough for the page transmission to complete? Regards, Steve Vladyslav wrote: Here is new one : (but it's spandsp-0.0.2pre10) *CLI -- Executing NoOp(SIP/103-dfb6, ) in new stack -- Executing AGI(SIP/103-dfb6, set-timestamp.agi) in new stack -- Executing System(SIP/103-dfb6, echo 16032005-18:15:06 - VladK 103 - SIP/103-dfb6 - 901 /var/log/asterisk/calls) in new stack -- Executing DBput(SIP/103-dfb6, RepeatDial/103=901) in new stack -- DBput: family=RepeatDial, key=103, value=901 -- Executing DBget(SIP/103-dfb6, recv=Record/103) in new stack -- DBget: varname=recv, family=Record, key=103 -- DBget: set variable recv to on -- Executing GotoIf(SIP/103-dfb6, 1?7:9) in new stack -- Goto (from-sip,901,7) -- Executing SetVar(SIP/103-dfb6, CALLFILENAME=20050316-181506-103-901) in new stack -- Executing Monitor(SIP/103-dfb6, wav|20050316-181506-103-901) in new stack -- Executing Goto(SIP/103-dfb6, from-sip-post|901|1) in new stack -- Goto (from-sip-post,901,1) -- Executing Answer(SIP/103-dfb6, ) in new stack -- Executing TxFAX(SIP/103-dfb6, /tmp/testfax.tif|caller) in new stack Slow carrier up Mar 16 18:15:10 NOTICE[10168]: rtp.c:540 ast_rtp_read: Unknown RTP codec 100 received Slow carrier down Slow carrier up Slow carrier down Slow carrier up NSF: 20 00 00 79 00 00 00 82 0f 09 03 10 10 00 02 95 80 9c f8 80 40 01 49 02 41 52 41 59 4f 5a 20 55 4b 52 41 49 4e 45 23 20 03 NSF without final frame tag The remote was made by 'Panasonic' DIS: 80 20 ee 99 84 80 11 DIS with final frame tag In state 10 DIS: V.8 capable Prefer 256 octet blocks Can receive fax Supported data signalling rates: V.27ter, V.29 and V.17 R8x7.7lines/mm and/or 200x200pels/25.4mm 2D coding Scan line length: 215mm or 255mm Recording length: A4 (297mm) and B4 (364mm) Receiver's minimum scan line time: 5ms at 3.85 l/mm: T7.7 = T3.85 Error correction mode R8x15.4lines/mm Metric-based resolution preferred Minimum scan line time for higher resolutions: T15.4 = T7.7 DCS: Can receive fax Selected data signalling rate: V.29, 9600bps 2D coding Scan line length: 215mm Recording length: A4 (297mm) Minimum scan line time: 20ms Minimum scan line time for higher resolutions: T15.4 = T7.7 Start sending document Start tx document Changed from phase 2 to 4 DCS: 83 00 c6 80 80 80 00 HDLC underflow in state 3 Changed from phase 4 to 6 Changed from phase 6 to 3 Slow carrier up CFR: 84 CFR with final frame tag In state 4 Trainability test succeeded Start tx page Slow carrier down Changed from phase 3 to 6 *CLI show ch channel channels channeltypes *CLI show channels Channel (ContextExtensionPri ) State Appl. Data 0 active channel(s) ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] TxFAX problem
On Wed, 2005-03-16 at 18:25, Steve Underwood wrote: Hi Vladyslav, The log looks good so far. The far end has negotiated. The fast modem has been tested. Transmission of the first page has been. What happens next. I don't think the log really stopped at that point. Did you wait long enough for the page transmission to complete? After that point Changed from phase 3 to 6 fax machine says Incomplete + error code. And that's all. BTW, Fax machine connected via SIPURA-2000 (which registered directly on * and use ulaw) But I could receive fax from PSTN via *-SIPURA-Fax machine Regards, Steve Vladyslav wrote: Here is new one : (but it's spandsp-0.0.2pre10) *CLI -- Executing NoOp(SIP/103-dfb6, ) in new stack -- Executing AGI(SIP/103-dfb6, set-timestamp.agi) in new stack -- Executing System(SIP/103-dfb6, echo 16032005-18:15:06 - VladK 103 - SIP/103-dfb6 - 901 /var/log/asterisk/calls) in new stack -- Executing DBput(SIP/103-dfb6, RepeatDial/103=901) in new stack -- DBput: family=RepeatDial, key=103, value=901 -- Executing DBget(SIP/103-dfb6, recv=Record/103) in new stack -- DBget: varname=recv, family=Record, key=103 -- DBget: set variable recv to on -- Executing GotoIf(SIP/103-dfb6, 1?7:9) in new stack -- Goto (from-sip,901,7) -- Executing SetVar(SIP/103-dfb6, CALLFILENAME=20050316-181506-103-901) in new stack -- Executing Monitor(SIP/103-dfb6, wav|20050316-181506-103-901) in new stack -- Executing Goto(SIP/103-dfb6, from-sip-post|901|1) in new stack -- Goto (from-sip-post,901,1) -- Executing Answer(SIP/103-dfb6, ) in new stack -- Executing TxFAX(SIP/103-dfb6, /tmp/testfax.tif|caller) in new stack Slow carrier up Mar 16 18:15:10 NOTICE[10168]: rtp.c:540 ast_rtp_read: Unknown RTP codec 100 received Slow carrier down Slow carrier up Slow carrier down Slow carrier up NSF: 20 00 00 79 00 00 00 82 0f 09 03 10 10 00 02 95 80 9c f8 80 40 01 49 02 41 52 41 59 4f 5a 20 55 4b 52 41 49 4e 45 23 20 03 NSF without final frame tag The remote was made by 'Panasonic' DIS: 80 20 ee 99 84 80 11 DIS with final frame tag In state 10 DIS: V.8 capable Prefer 256 octet blocks Can receive fax Supported data signalling rates: V.27ter, V.29 and V.17 R8x7.7lines/mm and/or 200x200pels/25.4mm 2D coding Scan line length: 215mm or 255mm Recording length: A4 (297mm) and B4 (364mm) Receiver's minimum scan line time: 5ms at 3.85 l/mm: T7.7 = T3.85 Error correction mode R8x15.4lines/mm Metric-based resolution preferred Minimum scan line time for higher resolutions: T15.4 = T7.7 DCS: Can receive fax Selected data signalling rate: V.29, 9600bps 2D coding Scan line length: 215mm Recording length: A4 (297mm) Minimum scan line time: 20ms Minimum scan line time for higher resolutions: T15.4 = T7.7 Start sending document Start tx document Changed from phase 2 to 4 DCS: 83 00 c6 80 80 80 00 HDLC underflow in state 3 Changed from phase 4 to 6 Changed from phase 6 to 3 Slow carrier up CFR: 84 CFR with final frame tag In state 4 Trainability test succeeded Start tx page Slow carrier down Changed from phase 3 to 6 *CLI show ch channel channels channeltypes *CLI show channels Channel (ContextExtensionPri ) State Appl. Data 0 active channel(s) ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] txfax problem?
Michael Welter wrote: In my dial plan, I have exten = 160,1,txfax(${FILENAME}) When I dial 160 from a fax machine, I hear a broken dial tone. The processor utilization goes to 100%, and the following pair of messages is displayed at the console: 100% CPU utilisation is not normal, unless you have a 16MHz 386 processor. :-) Slow carrier up Slow carrier down This pair of messages repeats until I push the Start key on the fax. At this point things return to normal and the fax is sent to the machine. Is this how it should work? I'm using asterisk-1.0.2 and spandsp-0.0.1k It may be the settings of your FAX machine. Some won't go into receive mode when they are the caller, unless special action is taken. Was there any document in the FAX machine's send tray? Some refuse to receive until they have finished sending. When I call into txfax with a fax machine the machine receives OK. Steve ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users