[asterisk-users] TxFax works only with one of 2 PRI
Hi there, I'm Using TxFAX to send faxes via Zaptel PRI. I have 2 PSTN PRI Providers, with the first provider, all faxes are trasmited fine. With the second provider, faxes can't be sent, we suspect about the setting of this PRI provider, perhaps is doing some compression somewhere. Any suggestion welcome. I've tried these txfax calls with these results: txfax(${FAXFILE}): Fax receive not successful - result (50) Disconnected after permitted retries txfax(${FAXFILE}|||ecm): Fax send not successful - result (51) The call dropped prematurely. txfax(${FAXFILE}|caller|debug|): Fax receive not successful - result (13) Unexpected message received. For detailed logs please take a look of http://www.pastebin.ca/1634790 Cordialmente, Martin Cabrera ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] txfax/rxfax fun
Hi Gang, I'm trying to make an application to upload a tiff via a web interface, slap a cover page onto it, merge the two into a new tiff and send it out via txfax. I'm able to get it out to a fax machine using this sequence: /usr/bin/tiff2pdf /tmp/faxout/1229978819_filea.tif -o /tmp/faxout/1229978819_filea.pdf /usr/bin/gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -OutputFile=/srv/www/htdocs/faxout/1229978819_fin.pdf /srv/www/htdocs/faxout/1229978819_faxout.pdf /tmp/faxout/1229978819_filea.pdf cp /srv/www/htdocs/faxout/1229978819_fin.pdf /srv/www/htdocs/faxout/1229978819_faxout.pdf convert -compress group4 -monochrome -negate -units pixelsperinch -page 1758x1075 /srv/www/htdocs/faxout/1229978819_fin.pdf /srv/www/htdocs/faxout/1229978819_out.tif Call file Channel: Zap/2/ww205xxx,60 CallerID: SIP/108 MaxRetries: 1 WaitTime: 60 retryTime: 5 SetVar: LOCALHEADERINFO=Asterisk Fax Application: txfax Data: /srv/www/htdocs/faxout/1229978108_out.tif|caller|debug|ecm The problems I'm having are: 1. RXFax won't receive the fax 2. I can't change the page resolution or TXFax will fail to send the fax. Any Ideas? ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing
AGX-Addons crashes Asterisk for us. Working solution (on 100+ servers we installed): - apt-get -y install g++ libtiff4 libtiff4-dev patch autoconf automake libtiff-tools cd /usr/src wget http://www.soft-switch.org/downloads/snapshots/spandsp/spandsp-20080402.tar. gz tar xzvf spandsp-20080402.tar.gz cd /usr/src/spandsp-0.0.4 ./configure make make install echo /usr/local/lib /etc/ld.so.conf ldconfig cd /usr/src wget http://193.138.191.205/packets/fax_apps_asterisk14.tgz tar xzvf fax_apps_asterisk14.tgz cd /usr/src/fax_apps make make install Restart Asterisk. Voila! Regards, Mindaugas Kezys http://www.kolmisoft.com MOR PRO - Advanced Billing for Asterisk From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Sent: Wednesday, April 16, 2008 5:07 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing No progress at all. Version from Debian/Lenny repository still crashes and I'm not able to compile AGX. It gives out a long list of error messages. Some unsatisfied dependencies...? I Can't experiment for a while after unwanted night-time visit of fire-fighters :-( I have to let everything dry and clean out of sand and drywall pieces :-( Martin - Original Message - From: Justin Newman mailto:[EMAIL PROTECTED] To: asterisk-users@lists.digium.com Cc: [EMAIL PROTECTED] Sent: 11. dubna 2008 13:00 Subject: Re: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing Did this just start happening with the 1.4 tree? Have you made any progress on getting it resolved? Justin Newman Matt Riddell wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tzafrir Cohen wrote: Let's be more specific here, folks: What version numbers? Asterisk, spandsp, agx-addons / rx-tx-fax? Asterisk: yesterday's 1.4 SVN SpanDSP: tried with pre 15, 16 and 18 AGX-Addons: tried with 1.4.5 and svn trunk rx/txfax: supplied by AGX Addons - although they seem to build the files and stick them into the modules directory, rather than adding to the apps directory and modifying the Makefile. i have Asterisk 1.4.18, SpanDSP 0.0.4pre16, AGX addons 1.4.5 linux kernel 2.6.18 AMD64. it (Asterisk) segfault on rxfax when i enable faxdetect in zapata.conf. since then it disabled faxdetect and use nvfaxdetect function in dialplan, it works fine afterward. also it seems to works fine using regular 32bit kernel. -- Edwin Lam [EMAIL PROTECTED] Systems Engineer, Office General, Inc. Ph: +1 415 439 4988 Fax: +1 415 283 3370 http://pgpkeys.mit.edu:11371/pks/lookup?op=get http://pgpkeys.mit.edu:11371/pks/lookup?op=getsearch=0xD6506D20 search=0xD6506D20 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _ ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing
No progress at all. Version from Debian/Lenny repository still crashes and I'm not able to compile AGX. It gives out a long list of error messages. Some unsatisfied dependencies...? I Can't experiment for a while after unwanted night-time visit of fire-fighters :-( I have to let everything dry and clean out of sand and drywall pieces :-( Martin - Original Message - From: Justin Newman To: asterisk-users@lists.digium.com Cc: [EMAIL PROTECTED] Sent: 11. dubna 2008 13:00 Subject: Re: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing Did this just start happening with the 1.4 tree? Have you made any progress on getting it resolved? Justin Newman Matt Riddell wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tzafrir Cohen wrote: Let's be more specific here, folks: What version numbers? Asterisk, spandsp, agx-addons / rx-tx-fax? Asterisk: yesterday's 1.4 SVN SpanDSP: tried with pre 15, 16 and 18 AGX-Addons: tried with 1.4.5 and svn trunk rx/txfax: supplied by AGX Addons - although they seem to build the files and stick them into the modules directory, rather than adding to the apps directory and modifying the Makefile. i have Asterisk 1.4.18, SpanDSP 0.0.4pre16, AGX addons 1.4.5 linux kernel 2.6.18 AMD64. it (Asterisk) segfault on rxfax when i enable faxdetect in zapata.conf. since then it disabled faxdetect and use nvfaxdetect function in dialplan, it works fine afterward. also it seems to works fine using regular 32bit kernel. -- Edwin Lam [EMAIL PROTECTED] Systems Engineer, Office General, Inc. Ph: +1 415 439 4988 Fax: +1 415 283 3370 http://pgpkeys.mit.edu:11371/pks/lookup?op=getsearch=0xD6506D20 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing
Did this just start happening with the 1.4 tree? Have you made any progress on getting it resolved? Justin Newman Matt Riddell wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tzafrir Cohen wrote: Let's be more specific here, folks: What version numbers? Asterisk, spandsp, agx-addons / rx-tx-fax? Asterisk: yesterday's 1.4 SVN SpanDSP: tried with pre 15, 16 and 18 AGX-Addons: tried with 1.4.5 and svn trunk rx/txfax: supplied by AGX Addons - although they seem to build the files and stick them into the modules directory, rather than adding to the apps directory and modifying the Makefile. i have Asterisk 1.4.18, SpanDSP 0.0.4pre16, AGX addons 1.4.5 linux kernel 2.6.18 AMD64. it (Asterisk) segfault on rxfax when i enable faxdetect in zapata.conf. since then it disabled faxdetect and use nvfaxdetect function in dialplan, it works fine afterward. also it seems to works fine using regular 32bit kernel. -- Edwin Lam [EMAIL PROTECTED] Systems Engineer, Office General, Inc. Ph: +1 415 439 4988 Fax: +1 415 283 3370 http://pgpkeys.mit.edu:11371/pks/lookup?op=getsearch=0xD6506D20 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] TxFax in asterisk 1.4
Hi guys, I installed asterisk 1.4.17 and mISDN 1.1.7 with AGX addons to test the faxs. If I receive i do not have any problem, but i'm not able to send put any fax, i get always the same error: txfax_exec: transmission done with ast_read(chan) == NULL Anyone has txfax working with asterisk 1.4? I try to download app_rxfax.c and app_txfax.c with the asterisk.patch file but without success. On HYPERLINK http://www.soft-switch.orgwww.soft-switch.org is not longer available. Anyone can help me please ? TIA Giordano No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.21.7/1335 - Release Date: 19/03/2008 9.54 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] TxFax in asterisk 1.4
No, Steve removed it from his site. I have a copy of it @ http://www.taylortelephone.com/asterisk/ Jonn _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giordano Grandis Sent: Friday, March 21, 2008 10:13 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] TxFax in asterisk 1.4 Hi guys, I installed asterisk 1.4.17 and mISDN 1.1.7 with AGX addons to test the faxs. If I receive i do not have any problem, but i'm not able to send put any fax, i get always the same error: txfax_exec: transmission done with ast_read(chan) == NULL Anyone has txfax working with asterisk 1.4? I try to download app_rxfax.c and app_txfax.c with the asterisk.patch file but without success. On www.soft-switch.org is not longer available. Anyone can help me please ? TIA Giordano No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.21.7/1335 - Release Date: 19/03/2008 9.54 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing
Matt Riddell wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tzafrir Cohen wrote: Let's be more specific here, folks: What version numbers? Asterisk, spandsp, agx-addons / rx-tx-fax? Asterisk: yesterday's 1.4 SVN SpanDSP: tried with pre 15, 16 and 18 AGX-Addons: tried with 1.4.5 and svn trunk rx/txfax: supplied by AGX Addons - although they seem to build the files and stick them into the modules directory, rather than adding to the apps directory and modifying the Makefile. i have Asterisk 1.4.18, SpanDSP 0.0.4pre16, AGX addons 1.4.5 linux kernel 2.6.18 AMD64. it (Asterisk) segfault on rxfax when i enable faxdetect in zapata.conf. since then it disabled faxdetect and use nvfaxdetect function in dialplan, it works fine afterward. also it seems to works fine using regular 32bit kernel. -- Edwin Lam [EMAIL PROTECTED] Systems Engineer, Office General, Inc. Ph: +1 415 439 4988 Fax: +1 415 283 3370 http://pgpkeys.mit.edu:11371/pks/lookup?op=getsearch=0xD6506D20 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing
Matt Riddell wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tzafrir Cohen wrote: Let's be more specific here, folks: What version numbers? Asterisk, spandsp, agx-addons / rx-tx-fax? Asterisk: yesterday's 1.4 SVN SpanDSP: tried with pre 15, 16 and 18 AGX-Addons: tried with 1.4.5 and svn trunk rx/txfax: supplied by AGX Addons - although they seem to build the files and stick them into the modules directory, rather than adding to the apps directory and modifying the Makefile. If I had to point a finger at something I'd say it was because the modules don't seem to be compiled against Asterisk. I'd love to use Asterisk 1.6, but this is a 300 seat hotel in production and its bad enough that faxing doesn't work - installing 1.6 beta in this environment would probably get my head bitten off :) It seems that SpanDSP no longer includes rx/txfax and that the accepted place to get them is that AGX-Addons package. - -- Kind Regards, Matt Riddell Director ___ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2DY1DQNt8rg0Kp4RAod1AJ0UAL+d1u7XyCtsyLlemoZPYw629wCfSIR4 SliiIjwHapNlvTWHBNYTMFM= =Rk/y -END PGP SIGNATURE- ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users It seems that SpanDSP no longer includes rx/txfax and that the accepted place to get them is that AGX-Addons package. I have faxing working reliably using 1.4.18 and pre16 on * 1.4.18. I noticed to that Steve doesn't provide rx/txfax and I mailed hime about it but never received a response. I used the above sources and compiled with those. I can provide you with the pre16 sources if you would like. Jeremy ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing
My asterisk crashes after fax is received using app_rxfax. But its not svn version, its binary from Debian/Lenny ... Martin - Original Message - From: Matt Riddell [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: 11. brezna 2008 21:02 Subject: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, anyone else seen RX/TXFax crashing Asterisk on latest Asterisk SVN? I've now seen it on two machines I tried to set up - one it seems because the tiff file was malformed, but the other is doing: tiff - tx fax - zaptel - pstn - ddi - zaptel - rx fax - tiff The above crashes every time. If no one else has seen it/has a fix for it I can do a back trace. - -- Kind Regards, Matt Riddell Director ___ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH1yudDQNt8rg0Kp4RAtpyAKCkh6AQgHWYtW6gB8NgMnm/E2RoUgCgmvsx lVnVU5Bd8Wwk1b8GAaLyhxY= =4997 -END PGP SIGNATURE- ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing
On Wed, Mar 12, 2008 at 08:18:25AM -0400, Martin wrote: - Original Message - From: Matt Riddell [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: 11. brezna 2008 21:02 Subject: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, anyone else seen RX/TXFax crashing Asterisk on latest Asterisk SVN? I've now seen it on two machines I tried to set up - one it seems because the tiff file was malformed, but the other is doing: tiff - tx fax - zaptel - pstn - ddi - zaptel - rx fax - tiff The above crashes every time. If no one else has seen it/has a fix for it I can do a back trace. My asterisk crashes after fax is received using app_rxfax. But its not svn version, its binary from Debian/Lenny ... Let's be more specific here, folks: What version numbers? Asterisk, spandsp, agx-addons / rx-tx-fax? -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tzafrir Cohen wrote: Let's be more specific here, folks: What version numbers? Asterisk, spandsp, agx-addons / rx-tx-fax? Asterisk: yesterday's 1.4 SVN SpanDSP: tried with pre 15, 16 and 18 AGX-Addons: tried with 1.4.5 and svn trunk rx/txfax: supplied by AGX Addons - although they seem to build the files and stick them into the modules directory, rather than adding to the apps directory and modifying the Makefile. If I had to point a finger at something I'd say it was because the modules don't seem to be compiled against Asterisk. I'd love to use Asterisk 1.6, but this is a 300 seat hotel in production and its bad enough that faxing doesn't work - installing 1.6 beta in this environment would probably get my head bitten off :) It seems that SpanDSP no longer includes rx/txfax and that the accepted place to get them is that AGX-Addons package. - -- Kind Regards, Matt Riddell Director ___ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2DY1DQNt8rg0Kp4RAod1AJ0UAL+d1u7XyCtsyLlemoZPYw629wCfSIR4 SliiIjwHapNlvTWHBNYTMFM= =Rk/y -END PGP SIGNATURE- ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing
My asterisk crashes after fax is received using app_rxfax. But its not svn version, its binary from Debian/Lenny ... Let's be more specific here, folks: What version numbers? Asterisk, spandsp, agx-addons / rx-tx-fax? Asterisk 1.4.17 libspandsp3 0.0.4 pre16-1 I don't know how to tell version of rxfax/txfax (probably most important :-) ) core show file version app_rxfax is empty... It comes as package in Debian/Lenny, I had no time to compile from latest svn yet... This is all I've found in log...: [2008-03-07 19:04:44] WARNING[12700] channel.c: Unable to find a codec translation path from unknown to unknown [2008-03-07 19:04:44] WARNING[12700] app_rxfax.c: Unable to restore read format on 'Zap/1-1' After second line it crashes with segfault... Mar 7 19:04:44 moonstone kernel: asterisk[12700]: segfault at 0011 eip b7df079b esp b5fe0ae0 error 4 Fax is received just fine, it crashes after transfer is complete Martin -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] TXFax/RXFax/AGX-Addons/SpanDSP Crashing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, anyone else seen RX/TXFax crashing Asterisk on latest Asterisk SVN? I've now seen it on two machines I tried to set up - one it seems because the tiff file was malformed, but the other is doing: tiff - tx fax - zaptel - pstn - ddi - zaptel - rx fax - tiff The above crashes every time. If no one else has seen it/has a fix for it I can do a back trace. - -- Kind Regards, Matt Riddell Director ___ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH1yudDQNt8rg0Kp4RAtpyAKCkh6AQgHWYtW6gB8NgMnm/E2RoUgCgmvsx lVnVU5Bd8Wwk1b8GAaLyhxY= =4997 -END PGP SIGNATURE- ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] txfax not working with spandsp
On Fri, 21 Dec 2007 08:50:28 -0500, David Boyd wrote: On Fri, 2007-12-21 at 18:41 +0800, Dinesh Nair wrote: the attached log with verbose=6 and debug=6 refers. we've got a sangoma A104 (no hwec) with PRI ports 1 3 loopbacked to each other. we're trying to have txfax send out on one of those pri ports with rxfax listening on the other side, hence having asterisk send a fax to itself. we however have bad, and i mean really bad (10%) success rates. we're currently using asterisk 1.2.24 with spandsp 0.0.4-20071214 (snapshot of 14/12/07) and we keep getting Fax send not successful - result (25) No response after sending a page. errors. ECM is turned on in both app_txfax.c and app_rxfax.c. from what we gather just reading the code, time T4 expires in txfax because apparently rxfax is not sending a response back out, and thus after the maximum message retries (3) txfax just drops the call, leading rxfax to say that the call was dropped prematurely. does anyone know what's going on here, and if there is a version of spandsp which could work in this scenario ? timing issues on the PRI you mean ? none that we can see clearly. anything specific we need to investigate ? zttest returns 100% all of the time. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0) http://www.openmalaysiablog.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] txfax not working with spandsp
the attached log with verbose=6 and debug=6 refers. we've got a sangoma A104 (no hwec) with PRI ports 1 3 loopbacked to each other. we're trying to have txfax send out on one of those pri ports with rxfax listening on the other side, hence having asterisk send a fax to itself. we however have bad, and i mean really bad (10%) success rates. we're currently using asterisk 1.2.24 with spandsp 0.0.4-20071214 (snapshot of 14/12/07) and we keep getting Fax send not successful - result (25) No response after sending a page. errors. ECM is turned on in both app_txfax.c and app_rxfax.c. from what we gather just reading the code, time T4 expires in txfax because apparently rxfax is not sending a response back out, and thus after the maximum message retries (3) txfax just drops the call, leading rxfax to say that the call was dropped prematurely. does anyone know what's going on here, and if there is a version of spandsp which could work in this scenario ? -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0) http://www.openmalaysiablog.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ Dec 21 18:32:05 VERBOSE[205] logger.c: -- Attempting call on Zap/g1/1002 for [EMAIL PROTECTED]:1 (Retry 1) Dec 21 18:32:05 DEBUG[205] chan_zap.c: Using channel 1 Dec 21 18:32:05 VERBOSE[205] logger.c: -- Requested transfer capability: 0x00 - SPEECH Dec 21 18:32:05 DEBUG[205] devicestate.c: Changing state for Zap/1 - state 2 (In use) Dec 21 18:32:05 DEBUG[205] devicestate.c: Changing state for Zap/1 - state 2 (In use) Dec 21 18:32:05 DEBUG[205] app_queue.c: Device 'Zap/1' changed to state '2' (In use) but we don't care because they're not a member of any queue. Dec 21 18:32:05 DEBUG[205] app_queue.c: Device 'Zap/1' changed to state '2' (In use) but we don't care because they're not a member of any queue. Dec 21 18:32:05 VERBOSE[205] logger.c: -- Accepting call from '' to '1002' on channel 0/1, span 2 Dec 21 18:32:05 DEBUG[205] chan_zap.c: No echo cancellation requested Dec 21 18:32:05 DEBUG[205] devicestate.c: Changing state for Zap/32 - state 2 (In use) Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'Answer' Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing Answer(Zap/32-1, ) in new stack Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'Wait' Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing Wait(Zap/32-1, ) in new stack Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'Set' Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing Set(Zap/32-1, FAXFILE=/tmp/FAX-1198233125.1.tiff) in new stack Dec 21 18:32:05 DEBUG[205] pbx.c: Function result is '1002' Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'Set' Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing Set(Zap/32-1, NEWFAXFILE=/var/spool/asterisk/fax/FAX-1002--11982331251198233125.1.tiff) in new stack Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'RxFAX' Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing RxFAX(Zap/32-1, /tmp/FAX-1198233125.1.tiff|debug) in new stack Dec 21 18:32:05 DEBUG[205] app_queue.c: Device 'Zap/32' changed to state '2' (In use) but we don't care because they're not a member of any queue. Dec 21 18:32:05 DEBUG[205] devicestate.c: Changing state for Zap/32 - state 2 (In use) Dec 21 18:32:05 DEBUG[205] channel.c: Set channel Zap/32-1 to read format slin Dec 21 18:32:05 DEBUG[205] channel.c: Set channel Zap/32-1 to write format slin Dec 21 18:32:05 DEBUG[205] app_queue.c: Device 'Zap/32' changed to state '2' (In use) but we don't care because they're not a member of any queue. Dec 21 18:32:05 DEBUG[205] chan_zap.c: Queuing frame from PRI_EVENT_PROCEEDING on channel 0/1 span 1 Dec 21 18:32:05 DEBUG[205] chan_zap.c: No echo cancellation requested Dec 21 18:32:05 VERBOSE[205] logger.c: Channel Zap/1-1 was answered. Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'Answer' Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing Answer(Zap/1-1, ) in new stack Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'Set' Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing Set(Zap/1-1, CDR(userfield)=FAX-1) in new stack Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'TxFAX' Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing TxFAX(Zap/1-1, /var/spool/asterisk/outgoing_fax/page.1.1.tiff|caller|debug) in new stack Dec 21 18:32:05 DEBUG[205] channel.c: Set channel Zap/1-1 to read format slin Dec 21 18:32:05 DEBUG[205] channel.c: Set channel Zap/1-1 to write format slin Dec 21 18:32:05 DEBUG[205] devicestate.c: Changing state for Zap/1 - state 2 (In use) Dec 21 18:32:05
Re: [asterisk-users] txfax not working with spandsp
On Fri, 2007-12-21 at 18:41 +0800, Dinesh Nair wrote: the attached log with verbose=6 and debug=6 refers. we've got a sangoma A104 (no hwec) with PRI ports 1 3 loopbacked to each other. we're trying to have txfax send out on one of those pri ports with rxfax listening on the other side, hence having asterisk send a fax to itself. we however have bad, and i mean really bad (10%) success rates. we're currently using asterisk 1.2.24 with spandsp 0.0.4-20071214 (snapshot of 14/12/07) and we keep getting Fax send not successful - result (25) No response after sending a page. errors. ECM is turned on in both app_txfax.c and app_rxfax.c. from what we gather just reading the code, time T4 expires in txfax because apparently rxfax is not sending a response back out, and thus after the maximum message retries (3) txfax just drops the call, leading rxfax to say that the call was dropped prematurely. does anyone know what's going on here, and if there is a version of spandsp which could work in this scenario ? ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Do you have any timing issues such as slips or bi-polar violations taking place. It sounds like there are dropped packets or something. dave ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] (txfax+spandsp) fax is successfully sent, but Asterisk keeps sending DelayedRetries.
Hello my current test is to send a fax to an analog fax (# is 5656) using the Asterisk spooler. I created this file which I copied into /var/spool/asterisk/outgoing directory: # fax_out.call Channel: Zap/4/5656 MaxRetries: 50 RetryTime: 60 WaitTime: 45 Application: txfax Data: /tmp/test.tif|caller The fax was successfully sent, immediately. But after this successfully sending, Asterisk keeps retrying to send this file. The fax_out.call file do not disappear from the spool directory, but some messages are added to the end of the .call file, like this: Channel: Zap/4/5656 MaxRetries: 50 RetryTime: 60 WaitTime: 45 Application: txfax Data: /tmp/test.tif|caller StartRetry: 13740 1 (1189086695) DelayedRetry: 13740 0 (1189086756) DelayedRetry: 13740 0 (1189086817) Any idea how to correct that? The fact that the call file is removed from the spool/outgoing directory, does it automatically means that the sending was successful? _Pirlouwi ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] txfax and result
Hi, I have created mail to fax with txfax. I send faxes successfully. But I want to know, is it possible to get result from txfax and what are solutions to do this? For example, if fax send is unsuccessfully, the user will get email, that fax was unsuccessfully. Thanks ___ --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
[asterisk-users] txfax only getting 1 page of 3.
Steve and everyone... I am using spandsp snapshot from oct 12, 2006. I am using asterisk 1.2.13. When I am sending faxes I am only getting partial pages. Internally using an IAXY connected to the fax machine I get 1 page of 3. Extenally to a fax service using TDM2401E card I get the same results. Only partial pages for my fax. 1 or 2 pages of my 3 page fax. exten = smvoice_faxout,1,txfax(${SMFAXFILE},caller,debug) This is my fax line and I am not getting any debug information that I see. Why am I only getting partial pages? My machine is 97% idle. Thanks, Jerry ___ --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
[asterisk-users] txfax reliability on TDM cards
Hi all, What is the reliability of sending faxes with txfax? I am sending a 4 page fax. I have received 1 and 2 pages but never the whole thing? Do I have to have T1 or something different to reliably send faxes with a TDM card? Jerry ___ --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
SV: [asterisk-users] txfax reliability on TDM cards
Hello Use IAXmodem+hylafax instead. It works a lot more stable than rxfax and txfax. Probably something to do with hylafax being more accepting of errors. Jon Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Jerry Geis Sendt: 28. september 2006 15:51 Til: asterisk-users@lists.digium.com Emne: [asterisk-users] txfax reliability on TDM cards Hi all, What is the reliability of sending faxes with txfax? I am sending a 4 page fax. I have received 1 and 2 pages but never the whole thing? Do I have to have T1 or something different to reliably send faxes with a TDM card? Jerry -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.9/457 - Release Date: 26-09-2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.9/457 - Release Date: 26-09-2006 ___ --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
[asterisk-users] txfax question
I am playing with txfax. I have gotten a fax to send which is great. However now I am creating a multipage fax, I can view all the pages with viewfax (mgetty-viewfax package) but when I fax it with txfax I only get 1 page Any ideas there? Jerry I basically do: gs -q -sDEVICE=tiffg3 -sPAPERSIZE=a4 -r204x196 -dNOPAUSE -dBATCH -sOutputFile=/tmp/file.g3 file1.pdf file2.pdf when I viewfax /tmp/file.g3 I see all the pages. ___ --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
[asterisk-users] TxFax
Hi all, I'm using spandsp 0.0.2pre21 with tiff 3.7.1 and asterisk 1.0.9 With rxfax application, everythinghs is ok, but when i try to send a fax whit txfax applicationthe channel got hangup. I'm testing send fax towards an ATA grandstrem 488, but if i sent it to a normal fax i got the same error. This is what happen: -- Executing TxFAX("Zap/1-1", "/fax07182006190657.tif|caller|debug") in new stackFLOW Slow carrier upFLOW Slow carrier downFLOW Slow carrier upFLOW NSF: 20 ad 00 36 20 00 00 00 00FLOW NSF without final frame tagFLOW The remote was made by 'HP'FLOW CSI: 40 37 37 34 39 35 34 34 20 35 38 30 20 39 33 2b 20 20 20 20 20FLOW CSI without final frame tagFLOW Remote fax gave CSI as: "+39 085 4459477"FLOW DIS: 80 00 ee f8 c4 80 92 80 80 98 00FLOW DIS with final frame tagFLOW In state 10FLOW ???:FLOW 3rd generation mobile networkFLOW V.8 capableFLOW Prefer 64 octet blocksFLOW Reserved: 0x98FLOW Supported data signalling rates: V.29FLOW R8x7.7lines/mm and/or 200x200pels/25.4mmFLOW 2D codingFLOW Scan line length: 215mmFLOW Recording length: A4 (297mm)FLOW Receiver's minimum scan line time: 20ms at 3.85 l/mm: T7.7 = T3.85FLOW Uncompressed modeFLOW Reserved: 0x10FLOW Minimum scan line time for higher resolutions: T15.4 = T7.7FLOW Binary file transfer (BFT)FLOW Reserved: 1FLOW ???:FLOW Prefer 256 octet blocksFLOW Reserved: 0x80FLOW Supported data signalling rates: V.27ter fallback modeFLOW 2D codingFLOW Scan line length: 215mmFLOW Recording length: A4 (297mm)FLOW Receiver's minimum scan line time: 20ms at 3.85 l/mm: T7.7 = T3.85FLOW Start sending documentTIFFOpen: /fax07182006190657.tif: Cannot open.FLOW Cannot open source TIFF file '/fax07182006190657.tif'FLOW DIS nothing to send [0]FLOW ???:FLOW Real-time Internet fax (T.38)FLOW V.8 capableFLOW Prefer 64 octet blocksFLOW Reserved: 0x90FLOW Supported data signalling rates: V.27ter fallback modeFLOW 2D codingFLOW Scan line length: 215mmFLOW Recording length: A4 (297mm)FLOW Receiver's minimum scan line time: 20ms at 3.85 l/mm: T7.7 = T3.85FLOW Reserved: 0x1FLOW Minimum scan line time for higher resolutions: T15.4 = T7.7FLOW Character modeFLOW Reserved: 0x10FLOW DIS nothing to receive [0]FLOW Changed from phase 2 to 4FLOW DCN: fbFLOW HDLC underflow in state 2FLOW DisconnectingFLOW Changed from phase 4 to 7FLOW Changed from phase 7 to 8 == Spawn extension (incoming, X, 2) exited non-zero on 'Zap/2-1' -- Hungup 'Zap/2-1' -- Channel 0/1, span 1 got hangup -- Hungup 'Zap/1-1' I'm going to check it towards several fax, but i think i will get the same problem. Anyone can help me? Thanks very much Giordano ___ --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
[Asterisk-Users] txfax tiff file format
Dear folks, I got a problem sending faxes using spandsp. Primerily, when the tiff file made using GIMP 2 with different compresions the fax app break downs whole *. Moreover when i made a tiff file using Microsoft mdi, everything works fine but on the other end of the call, the received fax is shrinked in size. Anyone has any idea whats the right file format and compression type for it? PS. Im using libtiff-3.7.1-2 and spandsp-0.0.2-pre25 Regards. --- M. Shokuie Nia _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ --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
[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
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 application problem
I wonder if anyone can tell me which version of spandsp is used in iaxmodem? I would like to use the app_rxfax application WITH iaxmodem. Regards Allan Gee Phone: +27 21 4644400 Ext. 103 www.equation.co.za -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Philip Edelbrock Sent: 26 January 2006 02:32 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] txfax application problem Jeff Herring wrote: would you care to share with the list your installation procedure and configuration files associated with your iaxmodem and hylafax installation alongside asterisk? Sure! Some things, I'm sure, could use improvement, but this is working for me: Get iaxmodem: https://sourceforge.net/projects/iaxmodem You need libiax2 and spandsp-0.0.3 (yes, the devel one not the other installed. Both are included in iaxmodem (in the lib directory), however I grabbed a slightly newer spandsp-0.0.3 from the spandsp site. Make sure spandsp and libiax2 are found by your system (usually by doing a 'ldconfig'). Build and install iaxmodem. iaxmodem wants a config file at /etc/iaxmode-cfg.something. Mine looks something like: # cat /etc/iaxmodem-cfg.ttyIAX device /dev/ttyIAX port4569 refresh 60 server YOUR.SERVER.IP.HERE peernameiaxmodem secret YOUR_SECRET_HERE cidname John Doe cidnumber 8005551212 codec slinear swapbytes true Now, create an entry for the iax channel in your Asterisk config. Mine looks something like this (in iax.conf): [iaxmodem] type=friend username=iaxmodem secret=YOUR_SECRET_HERE context=faxout host=dynamic auth=md5,plaintext,rsa Notice that the context is 'faxout' in my extensions.conf. Here's what the relevent contexts are in my extensions.conf: [fax] exten = s,1,Dial(IAX2/iaxmodem) [faxout] exten = _.,1,Dial(Zap/g2/${EXTEN}) Notice I also have 'fax' which is incoming. That's a context for my zap channel (a dedicated fax line). From zapata.conf: group = 2 faxdetect=both faxdetect=incoming faxdetect=outgoing faxdetect=yes rxgain=0.0 txgain=0.0 context=fax channel = 4 OK, what this all does thus far: It sets up a serial port, /dev/ttyIAX in this case, which looks like a fax-modem that is connected to the provided iax channel. You can point minicom at it and play with it if you want. Calls coming into Zap-4 will automaticly go to iaxmodem and 'ring' on the /dev/ttyIAX serial device. Faxes going out on iaxmodem automatically go our on the same Zap channel (although doesn't have to). Now, run iaxmodem (e.g. iaxmodem ttyIAX), after you've already got asterisk going, to get it registered. Make sure it registers and things look OK (iax2 show peers). You could even try to call it or dial out w/ minicom (using /dev/ttyIAX as the modem device). Now, you can set up hylafax. I installed from RPM, which was pretty easy following the directions. Run through its set up and get the email addresses and those relevent things set. Instead of setting up a new modem config, however, I edited and then copied the supplied one out of the iaxmodex distro (config.ttyIAX). Get hylafax going (/etc/rc.d/init.d/hylafax start). Now, here's the only stumbling block that I had: In order for things to work, faxgetty needs to be running! The hylafax service doesn't do this for you, you need to set it up yourself. The easiest way is to add it to your /etc/inittab. I added it to mine like this (the new line is the last here, the rest were already there and included for context): # Run gettys in standard runlevels 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 7:2345:respawn:/usr/sbin/faxgetty ttyIAX You may need to restart or 'telinit q' or something to get the changes noticed by init. Now you can try sending and receiving faxes. For fun, I created a new account on the Asterisk server and put a .procmailrc file there which passes emails to that account to hylafax: SUBJECT=`formail -xSubject:` :0 c * ^Subject: [EMAIL PROTECTED] |/usr/bin/faxmail -d $SUBJECT How it works: send a mail to the account and in the subject line put [EMAIL PROTECTED], and it will fax the email to 555-1234 with 'attn Joe' on the cover page. Slick... although it seems to take more work to convert non-text (e.g. images), which I haven't attempted yet. OK, so there's the crash course. I hope it helps. Phil ___ --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 ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list
Re: [Asterisk-Users] txfax application problem
Allan Gee wrote: I wonder if anyone can tell me which version of spandsp is used in iaxmodem? IAXmodem version 0.0.8 uses spandsp development snapshot 20051220... so it's 0.0.3, more recent than pre6. I would like to use the app_rxfax application WITH iaxmodem. This will be possible so long as you can get both app_rxfax and iaxmodem to function properly with the same spandsp installation... or unless you can get each to use a different installation of spandsp. That said, there should be no functionality in app_rxfax that you would miss in using IAXmodem+HylaFAX. Lee. ___ --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 application problem
would you care to share with the list your installation procedure and configuration files associated with your iaxmodem and hylafax installation alongside asterisk? At 01:07 PM 1/24/2006, Philip Edelbrock wrote: iaxmodem + hylafax worked much better for me. Seems solid where txfax/rxfax was very iffy. Thus far, I'm just using it with Zap lines, though. Phil Technical Support wrote: Downgrade your spandsp. Do some reading on spandsp first! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allan Gee Sent: Tuesday, January 24, 2006 10:36 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] txfax application problem Nobody seems to use txfax or does nobody have any problems with it? I have sent mails to most lists and get no reply. I cannot get a fax to go through with txfax. I use a call file as a test and all I get on the receiving fax is a bunch of vertical lines. my call file is: Channel:Srx/gout/4658158 MaxRetries: 0 WaitTime: 20 Application:txfax Data:/etc/asterisk/testfax.tif|caller|debug FYI tiffinfo on file is: TIFF Directory at offset 0x733e Image Width: 1728 Image Length: 1161 Resolution: 77, 38.5 pixels/cm Bits/Sample: 1 Compression Scheme: CCITT Group 3 Photometric Interpretation: min-is-white FillOrder: lsb-to-msb Date Time: 2006/01/11 18:06:14 Host Computer: asterisk.equation.co.za Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: (infinite) Planar Configuration: single image plane Page Number: 0-1 Software: spandsp Group 3 Options: 2-d encoding+EOL padding (5 = 0x5) Fax Data: clean (0 = 0x0) Fax Receive Time: 29 secs what is going on here? I have used latest spandsp-0.0.3pre23 with it's app_txfax.c and tiff-3.7.1 from source I have also used just about every other spandsp and libtiff combo but no joy with sending the faxes. PLEASE HELP!! Regards Allan Gee Phone: +27 21 4644400 Ext. 103 www.equation.co.za ___ --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 ___ --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 ___ --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 application problem
Jeff Herring wrote: would you care to share with the list your installation procedure and configuration files associated with your iaxmodem and hylafax installation alongside asterisk? Sure! Some things, I'm sure, could use improvement, but this is working for me: Get iaxmodem: https://sourceforge.net/projects/iaxmodem You need libiax2 and spandsp-0.0.3 (yes, the devel one not the other installed. Both are included in iaxmodem (in the lib directory), however I grabbed a slightly newer spandsp-0.0.3 from the spandsp site. Make sure spandsp and libiax2 are found by your system (usually by doing a 'ldconfig'). Build and install iaxmodem. iaxmodem wants a config file at /etc/iaxmode-cfg.something. Mine looks something like: # cat /etc/iaxmodem-cfg.ttyIAX device /dev/ttyIAX port4569 refresh 60 server YOUR.SERVER.IP.HERE peernameiaxmodem secret YOUR_SECRET_HERE cidname John Doe cidnumber 8005551212 codec slinear swapbytes true Now, create an entry for the iax channel in your Asterisk config. Mine looks something like this (in iax.conf): [iaxmodem] type=friend username=iaxmodem secret=YOUR_SECRET_HERE context=faxout host=dynamic auth=md5,plaintext,rsa Notice that the context is 'faxout' in my extensions.conf. Here's what the relevent contexts are in my extensions.conf: [fax] exten = s,1,Dial(IAX2/iaxmodem) [faxout] exten = _.,1,Dial(Zap/g2/${EXTEN}) Notice I also have 'fax' which is incoming. That's a context for my zap channel (a dedicated fax line). From zapata.conf: group = 2 faxdetect=both faxdetect=incoming faxdetect=outgoing faxdetect=yes rxgain=0.0 txgain=0.0 context=fax channel = 4 OK, what this all does thus far: It sets up a serial port, /dev/ttyIAX in this case, which looks like a fax-modem that is connected to the provided iax channel. You can point minicom at it and play with it if you want. Calls coming into Zap-4 will automaticly go to iaxmodem and 'ring' on the /dev/ttyIAX serial device. Faxes going out on iaxmodem automatically go our on the same Zap channel (although doesn't have to). Now, run iaxmodem (e.g. iaxmodem ttyIAX), after you've already got asterisk going, to get it registered. Make sure it registers and things look OK (iax2 show peers). You could even try to call it or dial out w/ minicom (using /dev/ttyIAX as the modem device). Now, you can set up hylafax. I installed from RPM, which was pretty easy following the directions. Run through its set up and get the email addresses and those relevent things set. Instead of setting up a new modem config, however, I edited and then copied the supplied one out of the iaxmodex distro (config.ttyIAX). Get hylafax going (/etc/rc.d/init.d/hylafax start). Now, here's the only stumbling block that I had: In order for things to work, faxgetty needs to be running! The hylafax service doesn't do this for you, you need to set it up yourself. The easiest way is to add it to your /etc/inittab. I added it to mine like this (the new line is the last here, the rest were already there and included for context): # Run gettys in standard runlevels 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 7:2345:respawn:/usr/sbin/faxgetty ttyIAX You may need to restart or 'telinit q' or something to get the changes noticed by init. Now you can try sending and receiving faxes. For fun, I created a new account on the Asterisk server and put a .procmailrc file there which passes emails to that account to hylafax: SUBJECT=`formail -xSubject:` :0 c * ^Subject: [EMAIL PROTECTED] |/usr/bin/faxmail -d $SUBJECT How it works: send a mail to the account and in the subject line put [EMAIL PROTECTED], and it will fax the email to 555-1234 with 'attn Joe' on the cover page. Slick... although it seems to take more work to convert non-text (e.g. images), which I haven't attempted yet. OK, so there's the crash course. I hope it helps. Phil ___ --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
[Asterisk-Users] txfax application problem
Nobody seems to use txfax or does nobody have any problems with it? I have sent mails to most lists and get no reply. I cannot get a fax to go through with txfax. I use a call file as a test and all I get on the receiving fax is a bunch of vertical lines. my call file is: Channel:Srx/gout/4658158 MaxRetries: 0 WaitTime: 20 Application:txfax Data:/etc/asterisk/testfax.tif|caller|debug FYI tiffinfo on file is: TIFF Directory at offset 0x733e Image Width: 1728 Image Length: 1161 Resolution: 77, 38.5 pixels/cm Bits/Sample: 1 Compression Scheme: CCITT Group 3 Photometric Interpretation: min-is-white FillOrder: lsb-to-msb Date Time: 2006/01/11 18:06:14 Host Computer: asterisk.equation.co.za Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: (infinite) Planar Configuration: single image plane Page Number: 0-1 Software: spandsp Group 3 Options: 2-d encoding+EOL padding (5 = 0x5) Fax Data: clean (0 = 0x0) Fax Receive Time: 29 secs what is going on here? I have used latest spandsp-0.0.3pre23 with it's app_txfax.c and tiff-3.7.1 from source I have also used just about every other spandsp and libtiff combo but no joy with sending the faxes. PLEASE HELP!! Regards Allan Gee Phone: +27 21 4644400 Ext. 103 www.equation.co.za ___ --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 application problem
Downgrade your spandsp. Do some reading on spandsp first! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allan Gee Sent: Tuesday, January 24, 2006 10:36 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] txfax application problem Nobody seems to use txfax or does nobody have any problems with it? I have sent mails to most lists and get no reply. I cannot get a fax to go through with txfax. I use a call file as a test and all I get on the receiving fax is a bunch of vertical lines. my call file is: Channel:Srx/gout/4658158 MaxRetries: 0 WaitTime: 20 Application:txfax Data:/etc/asterisk/testfax.tif|caller|debug FYI tiffinfo on file is: TIFF Directory at offset 0x733e Image Width: 1728 Image Length: 1161 Resolution: 77, 38.5 pixels/cm Bits/Sample: 1 Compression Scheme: CCITT Group 3 Photometric Interpretation: min-is-white FillOrder: lsb-to-msb Date Time: 2006/01/11 18:06:14 Host Computer: asterisk.equation.co.za Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: (infinite) Planar Configuration: single image plane Page Number: 0-1 Software: spandsp Group 3 Options: 2-d encoding+EOL padding (5 = 0x5) Fax Data: clean (0 = 0x0) Fax Receive Time: 29 secs what is going on here? I have used latest spandsp-0.0.3pre23 with it's app_txfax.c and tiff-3.7.1 from source I have also used just about every other spandsp and libtiff combo but no joy with sending the faxes. PLEASE HELP!! Regards Allan Gee Phone: +27 21 4644400 Ext. 103 www.equation.co.za ___ --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 application problem
iaxmodem + hylafax worked much better for me. Seems solid where txfax/rxfax was very iffy. Thus far, I'm just using it with Zap lines, though. Phil Technical Support wrote: Downgrade your spandsp. Do some reading on spandsp first! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allan Gee Sent: Tuesday, January 24, 2006 10:36 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] txfax application problem Nobody seems to use txfax or does nobody have any problems with it? I have sent mails to most lists and get no reply. I cannot get a fax to go through with txfax. I use a call file as a test and all I get on the receiving fax is a bunch of vertical lines. my call file is: Channel:Srx/gout/4658158 MaxRetries: 0 WaitTime: 20 Application:txfax Data:/etc/asterisk/testfax.tif|caller|debug FYI tiffinfo on file is: TIFF Directory at offset 0x733e Image Width: 1728 Image Length: 1161 Resolution: 77, 38.5 pixels/cm Bits/Sample: 1 Compression Scheme: CCITT Group 3 Photometric Interpretation: min-is-white FillOrder: lsb-to-msb Date Time: 2006/01/11 18:06:14 Host Computer: asterisk.equation.co.za Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: (infinite) Planar Configuration: single image plane Page Number: 0-1 Software: spandsp Group 3 Options: 2-d encoding+EOL padding (5 = 0x5) Fax Data: clean (0 = 0x0) Fax Receive Time: 29 secs what is going on here? I have used latest spandsp-0.0.3pre23 with it's app_txfax.c and tiff-3.7.1 from source I have also used just about every other spandsp and libtiff combo but no joy with sending the faxes. PLEASE HELP!! Regards Allan Gee Phone: +27 21 4644400 Ext. 103 www.equation.co.za ___ --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 ___ --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 application problem
i second the iaxmodem + hylafax... It has worked from day 1 with no problems. I have been using Cypheus as the client to send things out and they make their way. Hylafax handles the res-schedule and notification. I saw an update to asterfax, that would be good as an email-fax gateway. I haven't dove down far enough if there is a link with hylafax with asterfax ben iaxmodem + hylafax worked much better for me. Seems solid where txfax/rxfax was very iffy. Thus far, I'm just using it with Zap lines, though. Phil Technical Support wrote: Downgrade your spandsp. Do some reading on spandsp first! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allan Gee Sent: Tuesday, January 24, 2006 10:36 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] txfax application problem Nobody seems to use txfax or does nobody have any problems with it? I have sent mails to most lists and get no reply. I cannot get a fax to go through with txfax. I use a call file as a test and all I get on the receiving fax is a bunch of vertical lines. my call file is: Channel:Srx/gout/4658158 MaxRetries: 0 WaitTime: 20 Application:txfax Data:/etc/asterisk/testfax.tif|caller|debug FYI tiffinfo on file is: TIFF Directory at offset 0x733e Image Width: 1728 Image Length: 1161 Resolution: 77, 38.5 pixels/cm Bits/Sample: 1 Compression Scheme: CCITT Group 3 Photometric Interpretation: min-is-white FillOrder: lsb-to-msb Date Time: 2006/01/11 18:06:14 Host Computer: asterisk.equation.co.za Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: (infinite) Planar Configuration: single image plane Page Number: 0-1 Software: spandsp Group 3 Options: 2-d encoding+EOL padding (5 = 0x5) Fax Data: clean (0 = 0x0) Fax Receive Time: 29 secs what is going on here? I have used latest spandsp-0.0.3pre23 with it's app_txfax.c and tiff-3.7.1 from source I have also used just about every other spandsp and libtiff combo but no joy with sending the faxes. PLEASE HELP!! Regards Allan Gee Phone: +27 21 4644400 Ext. 103 www.equation.co.za ___ --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 ___ --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 ___ --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 application problem
The docs for spandsp say that 0.0.3 is purely experimental/developmental. Don't expect it to work! (I would be surprised if you got everything to compile without warnings). Stick with the latest in the 0.0.2 family. After that, you would have to follow a logical diagnostic process and post relevant data. Based on your previous posts, I don't even know if asterisk is complaining about the call file during fax out (no debug logs) etc. Post all the relevant details and you'll find the list very helpful! If you have not paid attention to compile warnings, mixed library versions, etc., you may have to pay someone to go onto your system to untangle the mess (or post your problems and analysis one step at a time). Michelle -Original Message- From: Allan Gee [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 12:06 PM To: Technical Support Subject: RE: [Asterisk-Users] txfax application problem Thanks for the tip but if I am using Asterisk 1.2.X I can ONLY use spandsp-0.0.2pre21 and up. The earlier ones don't compile against 1.2.X I have done reading spandsp docs and nowhere does it say what works and what does not. Which version of spandsp/asterisk works for you? Regards Allan Gee Phone: +27 21 4644400 Ext. 103 www.equation.co.za -Original Message- From: Technical Support [mailto:[EMAIL PROTECTED] Sent: 24 January 2006 06:16 PM To: [EMAIL PROTECTED]; 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] txfax application problem Downgrade your spandsp. Do some reading on spandsp first! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allan Gee Sent: Tuesday, January 24, 2006 10:36 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] txfax application problem Nobody seems to use txfax or does nobody have any problems with it? I have sent mails to most lists and get no reply. I cannot get a fax to go through with txfax. I use a call file as a test and all I get on the receiving fax is a bunch of vertical lines. my call file is: Channel:Srx/gout/4658158 MaxRetries: 0 WaitTime: 20 Application:txfax Data:/etc/asterisk/testfax.tif|caller|debug FYI tiffinfo on file is: TIFF Directory at offset 0x733e Image Width: 1728 Image Length: 1161 Resolution: 77, 38.5 pixels/cm Bits/Sample: 1 Compression Scheme: CCITT Group 3 Photometric Interpretation: min-is-white FillOrder: lsb-to-msb Date Time: 2006/01/11 18:06:14 Host Computer: asterisk.equation.co.za Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: (infinite) Planar Configuration: single image plane Page Number: 0-1 Software: spandsp Group 3 Options: 2-d encoding+EOL padding (5 = 0x5) Fax Data: clean (0 = 0x0) Fax Receive Time: 29 secs what is going on here? I have used latest spandsp-0.0.3pre23 with it's app_txfax.c and tiff-3.7.1 from source I have also used just about every other spandsp and libtiff combo but no joy with sending the faxes. PLEASE HELP!! Regards Allan Gee Phone: +27 21 4644400 Ext. 103 www.equation.co.za ___ --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 and rxfax problem with spandsp 0.0.2pre21c and 1.2rc1
I am getting the same with cvs head as of today. on Thu, 10 Nov 2005 15:29:05 -0600 Anton Krall [EMAIL PROTECTED] wrote: Hi Steve! I tried compiling the recent spandsp 0.0.2pre21c with 1.2rc1 and I also compiled unicall for r2mfc support. R2mfc seems to be working great! But when I load everything up I get this on the CLI: Nov 10 15:28:49 WARNING[26895]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined symbol: fax_set_phase_d_handler And rxfax/txfax doesn't load and coredumps asterisk. Any ideas? Is there any relation or problem if you use unicall and txfax at the same time? ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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 -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] txfax and rxfax problem with spandsp 0.0.2pre21c and 1.2rc1
Hi Steve! I tried compiling the recent spandsp 0.0.2pre21c with 1.2rc1 and I also compiled unicall for r2mfc support. R2mfc seems to be working great! But when I load everything up I get this on the CLI: Nov 10 15:28:49 WARNING[26895]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/app_rxfax.so: undefined symbol: fax_set_phase_d_handler And rxfax/txfax doesn't load and coredumps asterisk. Any ideas? Is there any relation or problem if you use unicall and txfax at the same time? ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] txfax (app_txfax) sending issue
Hi All, With spandsp.0.0.2 pre20 installed I can't seem to send faxes with tx_fax over a Zap channel (POTS). rx_fax works just fine so no issues with libtiff and (presumably) libxml2. Basically I get 'slow carrier up' and 'slow carrier down' together with accompanying beeping noises until tx_fax times out and hangs up. This could quite possibly be a PEBKAC or n00b problem since I'm relatively new to Asterisk. - snippet: extensions.conf - exten = _8NXX,1,Set(FAXFILE=/var/spool/asterisk/fax/sendfax.tif) exten = _8NXX,2,Set(LOCALHEADERINFO=Company name and department) exten = _8NXX,3,Set(LOCALSTATIONID=Company name) exten = _8NXX,4,TXFAX(${FAXFILE}|caller) - // extensions.conf - - snippet: * console - *CLI -- Executing Set(SIP/rec1pub1-af67, FAXFILE=/var/spool/asterisk/fax/sendfax.tif) in new stack -- Executing Set(SIP/rec1pub1-af67, LOCALHEADERINFO=Company name and department) in new stack -- Executing Set(SIP/rec1pub1-af67, LOCALSTATIONID=Company name) in new stack -- Executing TxFAX(SIP/rec1pub1-af67, /var/spool/asterisk/fax/sendfax.tif|caller) in new stack Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down ... - // * console - Could anyone tell me what I might be missing or what I have to look for? Thanks in advance. ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] TXFAX
Hi, do you know what it means the following: Call failed to go through, reason 3 I received it when I try to send a FAX and no one answer it. Thank you ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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
This is a wild guess, but maybe it means no one answered! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Il Neofita Sent: Monday, September 19, 2005 8:22 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] TXFAX Hi, do you know what it means the following: Call failed to go through, reason 3 I received it when I try to send a FAX and no one answer it. Thank you ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] TxFAX don't work
As subject, (i've updated spandsp to latest version) and this is the log: Sep 15 13:06:50 VERBOSE[14085]: -- Attempting call on Zap/g0/2479 for application txfax(/var/tmp/ast_fax-1126782409.10240.1804289383.0|caller) (Retry 1) Sep 15 13:06:50 DEBUG[14085]: Using channel 1 Sep 15 13:06:50 DEBUG[14085]: Dialing '2479' Sep 15 13:06:50 DEBUG[14085]: Deferring dialing... Sep 15 13:06:50 DEBUG[14085]: Exception on 18, channel 1 Sep 15 13:06:50 DEBUG[14085]: Got event Hook Transition Complete(12) on channel 1 (index 0) Sep 15 13:06:51 DEBUG[14085]: Exception on 18, channel 1 Sep 15 13:06:51 DEBUG[14085]: Got event Dial Complete(9) on channel 1 (index 0) Sep 15 13:06:51 DEBUG[14085]: Enabled echo cancellation on channel 1 Sep 15 13:06:51 DEBUG[14085]: Engaged echo training on channel 1 Sep 15 13:06:53 DEBUG[14085]: Exception on 18, channel 1 Sep 15 13:06:53 DEBUG[14085]: Got event Dial Complete(9) on channel 1 (index 0) Sep 15 13:06:53 DEBUG[14085]: Echo cancellation already on Sep 15 13:06:53 DEBUG[14085]: Dropping duplicate answer! Sep 15 13:06:53 VERBOSE[14085]: Channel Zap/1-1 was answered. Sep 15 13:06:53 VERBOSE[14085]: Launching txfax(/var/tmp/ast_fax-1126782409.10240.1804289383.0|caller) on Zap/1-1 Sep 15 13:06:53 DEBUG[14085]: Set channel Zap/1-1 to read format slin Sep 15 13:06:53 DEBUG[14085]: Set channel Zap/1-1 to write format slin Sep 15 13:07:27 DEBUG[14085]: Set channel Zap/1-1 to read format ulaw Sep 15 13:07:27 DEBUG[14085]: Set channel Zap/1-1 to write format ulaw Sep 15 13:07:27 DEBUG[14085]: Hanging up channel 'Zap/1-1' Sep 15 13:07:27 DEBUG[14085]: zt_hangup(Zap/1-1) Sep 15 13:07:27 DEBUG[14085]: Hangup: channel: 1 index = 0, normal = 18, callwait = -1, thirdcall = -1 Sep 15 13:07:27 DEBUG[14085]: disabled echo cancellation on channel 1 Sep 15 13:07:27 DEBUG[14085]: Set option TDD MODE, value: OFF(0) on Zap/1-1 Sep 15 13:07:27 DEBUG[14085]: Updated conferencing on 1, with 0 conference users Sep 15 13:07:27 VERBOSE[14085]: -- Hungup 'Zap/1-1' Sep 15 13:07:27 NOTICE[14085]: Call completed to Zap/g0/2479 or remote FAX machine say Error receiving fax and line remaing stale. Any help ? -- O-Zone ! No (C) 2005 WEB @ http://www.zerozone.it HOBBY @ http://peggy.altervista.org Call me with FWD: 692329 ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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
Chris Shipman schrieb: What build of SpanDSP did you use? spandsp-0.0.2pre18 I'm working on a windows program so users can print to a local printer which will be forwarded to the asterisk server to be faxed. So far the program FTPs a Tiff to the Asterisk server to be faxed with a Sample.Call file.(For lack of a better method thus far) I don't understand, what you are telling or asking us with this information. Has it something to do with your question? If not, please avoid confusing with additional infos which are not relevant! Roger. ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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
I don't understand, what you are telling or asking us with this information. Has it something to do with your question? But others might understand... I do. Yes, it's related. Essentially it's the equivalent of WHFC for Hylafax -- a Windows client that will allow Windows users print from any program to a virtual fax printer; Chris's program will then submit the job as a TIFF to the asterisk server along with a call file. Here's the relevant part: it's quite important to know if the fax went through or not, and if it should be rescheduled for resending without (Windows) user intervention. Anyway, IMO Roger's hack is useful regardless and I'd be interested in trying Chris's solution out once it's ready (and if he chooses to share it). --Luki ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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
Thanks Luki, Maybe it was the wrong place to mention it. Back to the other matter: The program will create a PDF or tif. It can submit the fax by FTP or by AstFax. If someone is willing to develop a CGI/PERL script for HTTP submissions I will integrate that into the program as well. Since my program uses a lot of Open source programs I will release it under the GPL as well. I plan to test the faxing portions next week.After I have some of the bugs worked out I will release the program. Regards, Chris - Original Message - From: Luki [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Friday, September 09, 2005 6:20 PM Subject: Re: [Asterisk-Users] Txfax I don't understand, what you are telling or asking us with this information. Has it something to do with your question? But others might understand... I do. Yes, it's related. Essentially it's the equivalent of WHFC for Hylafax -- a Windows client that will allow Windows users print from any program to a virtual fax printer; Chris's program will then submit the job as a TIFF to the asterisk server along with a call file. Here's the relevant part: it's quite important to know if the fax went through or not, and if it should be rescheduled for resending without (Windows) user intervention. Anyway, IMO Roger's hack is useful regardless and I'd be interested in trying Chris's solution out once it's ready (and if he chooses to share it). --Luki ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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 ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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
This is the script I do not remeber the name of the author For me is working On 9/9/05, Chris Shipman [EMAIL PROTECTED] wrote: Thanks Luki,Maybe it was the wrong place to mention it.Back to the other matter: The program will create a PDF or tif. Itcan submit the fax by FTP or by AstFax.If someone is willing to develop a CGI/PERL script for HTTP submissions I will integrate that into the program as well.Since my program uses a lot of Open source programs I will release itunder the GPL as well.I plan to test the faxing portionsnext week.After I have some of the bugs worked out I will release the program.Regards,Chris- Original Message -From: Luki [EMAIL PROTECTED]To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.comSent: Friday, September 09, 2005 6:20 PMSubject: Re: [Asterisk-Users] Txfax I don't understand, what you are telling or asking us with this information. Has it something to do with your question? But others might understand... I do. Yes, it's related. Essentially it's the equivalent of WHFC for Hylafax -- a Windows client that will allow Windows users print from any program to a virtual fax printer; Chris's program will then submit the job as a TIFF to the asterisk server along with a call file. Here's the relevant part: it's quite important to know if the fax went through or not, and if it should be rescheduled for resending without (Windows) user intervention. Anyway, IMO Roger's hack is useful regardless and I'd be interested in trying Chris's solution out once it's ready (and if he chooses to share it). --Luki ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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 ___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing list Asterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users asterfax.0.22.tar.gz Description: GNU Zip compressed data ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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
It doesn't say how to use it. Chris - Original Message - From: Il Neofita To: Asterisk Users Mailing List - Non-Commercial Discussion Sent: Friday, September 09, 2005 8:30 PM Subject: Re: [Asterisk-Users] Txfax This is the script I do not remeber the name of the authorFor me is working On 9/9/05, Chris Shipman [EMAIL PROTECTED] wrote: Thanks Luki,Maybe it was the wrong place to mention it.Back to the other matter: The program will create a PDF or tif. Itcan submit the fax by FTP or by AstFax.If someone is willing to develop a CGI/PERL script for HTTP submissions I will integrate that into the program as well.Since my program uses a lot of Open source programs I will release itunder the GPL as well.I plan to test the faxing portionsnext week.After I have some of the bugs worked out I will release the program.Regards,Chris- Original Message -From: "Luki" [EMAIL PROTECTED]To: "Asterisk Users Mailing List - Non-Commercial Discussion" asterisk-users@lists.digium.comSent: Friday, September 09, 2005 6:20 PMSubject: Re: [Asterisk-Users] Txfax I don't understand, what you are telling or asking us with this information. Has it something to do with your question? But others might understand... I do. Yes, it's related. Essentially it's the equivalent of WHFC for Hylafax -- a Windows client that will allow Windows users print from any program to a virtual fax printer; Chris's program will then submit the job as a TIFF to the asterisk server along with a call file. Here's the relevant part: it's quite important to know if the fax went through or not, and if it should be rescheduled for resending without (Windows) user intervention. Anyway, IMO Roger's hack is useful regardless and I'd be interested in trying Chris's solution out once it's ready (and if he chooses to share it). --Luki ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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 ___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] Txfax
Is theresome way to know if the fax was received correctly or not? ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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
Il Neofita schrieb: Is there some way to know if the fax was received correctly or not? Hi, after also having asked here some days ago without an answer, I assume, there is currently no way. Thus, I started to study a little bit the source code. Maybe I found a solution, which will work. I haven't yet understood the whole souce, so I don't know, whether my solution was silly or not or whether my solution is reliable or not. For me it is working great, but use with care! Roger. My proposal for a fax-send-success-feedback: 1. Look in txfax.c (approx line 60) for the function static void phase_e_handler(t30_state_t *s 2. Add some code, which writes the number of successfully sent pages to an channel variable: static void phase_e_handler(t30_state_t *s, void *user_data, int result) { struct ast_channel *chan; char far_ident[21]; char minibuf[11];new line chan = (struct ast_channel *) user_data; if (result) { fax_get_far_ident(s, far_ident); pbx_builtin_setvar_helper(chan, REMOTESTATIONID, far_ident); sprintf(minibuf, %d, s-t4.pages_transferred); new pbx_builtin_setvar_helper(chan, FAX_PAGES_TRANSFERRED, minibuf); new Then you'll find the variable ${FAX_PAGES_TRANSFERRED} accessible from the dialplan. If you know the number of pages to be sent, you can compare and see if complete. ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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
What build of SpanDSP did you use? I'm working on a windows program so users can print to a local printer which will be forwarded to the asterisk server to be faxed. So far the program FTPs a Tiff to the Asterisk server to be faxed with a Sample.Call file.(For lack of a better method thus far) Regards, Chris - Original Message - From: Roger Schreiter [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Thursday, September 08, 2005 5:43 PM Subject: Re: [Asterisk-Users] Txfax Il Neofita schrieb: Is there some way to know if the fax was received correctly or not? Hi, after also having asked here some days ago without an answer, I assume, there is currently no way. Thus, I started to study a little bit the source code. Maybe I found a solution, which will work. I haven't yet understood the whole souce, so I don't know, whether my solution was silly or not or whether my solution is reliable or not. For me it is working great, but use with care! Roger. My proposal for a fax-send-success-feedback: 1. Look in txfax.c (approx line 60) for the function static void phase_e_handler(t30_state_t *s 2. Add some code, which writes the number of successfully sent pages to an channel variable: static void phase_e_handler(t30_state_t *s, void *user_data, int result) { struct ast_channel *chan; char far_ident[21]; char minibuf[11];new line chan = (struct ast_channel *) user_data; if (result) { fax_get_far_ident(s, far_ident); pbx_builtin_setvar_helper(chan, REMOTESTATIONID, far_ident); sprintf(minibuf, %d, s-t4.pages_transferred); new pbx_builtin_setvar_helper(chan, FAX_PAGES_TRANSFERRED, minibuf); new Then you'll find the variable ${FAX_PAGES_TRANSFERRED} accessible from the dialplan. If you know the number of pages to be sent, you can compare and see if complete. ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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 ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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() status
hum... may be you could try to connect a real fax device at the other end ??On 8/29/05, Il Neofita [EMAIL PROTECTED] wrote:Hi,I'm usinga script in order to send out my faxes with the application txfax, therefore, I do not know how to see if the faxes are sent.Any idea?___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] TXFAX() status
Hi, I'm using a script in order to send out my faxes with the application txfax, therefore, I do not know how to see if the faxes are sent. Any idea? ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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 - RxFax on same machine hangs
Am Mittwoch, 17. August 2005 17:06 schrieb Craig Guy: Hi Bartek, I posted the exact same problem last week - I found that if I connected two Asterisk systems together via a PRI crossover cable and talk txfax to rxfax then you get a T4 state timeout. I tried connecting ports one and two together on a TE410p and also connecting a TE410p to a TE110p, and a TE110p to a TE110p on different machines. I also found this when looping back via the PSTN. I read up a bit on what T4 actually is, and it seems to be a pretty high level state, where the faxes are transferring or about to transfer the tiff image data between themselves. The faxes will eventually hangup on each other - if you do a zap destroy channel to force hangup then you will sometimes get a segfault and asterisk will crash. I haven't found a solution for it, but it's not a big problem for me as I was only going txfax to rxfax as part of testing something else and I am using a hardfax attached to a SIP ata instead that works just fine against both rxfax and txfax. Craig - Original Message - From: Bartek Kania [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Wednesday, August 17, 2005 9:57 PM Subject: Re: [Asterisk-Users] TxFax - RxFax on same machine hangs -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 17 Aug 2005, Steve Underwood wrote: Bartek Kania wrote: If the call really dialed out through a PSTN port and back in it should work. It is was a pure internal connection between 2 processes it will not. The timing for these programs comes from the received data. No data, no work. I can confirm that this problem appears on a call through the PSTN. My setup is: TxFax - Asterisk - E1 - Asterisk (same box) -RxFax Asterisk version 1.0.9 and spandsp version 0.0.2pre18 on debian woody (3.0). I sent you an email about it with some debug information a week or so ago. If you need it again, or need some other info I'll be happy to provide it. Did you put txfax in caller mode? Yes I did. This is a snippet from 'show channel' for the two channels: Name: Zap/3-1 Type: Zap ... Frames in: 5249 Frames out: 265 Time to Hangup: 0 Elapsed Time: 0h1m45s ... Application: RxFAX Data: /tmp/1123753288.12.tif Stack: 1 Blocking in: ast_waitfor_nandfds and Name: Zap/28-1 Type: Zap ... Frames in: 3123 Frames out: 430 Time to Hangup: 0 Elapsed Time: 0h1m3s ... Application: TxFAX Data: /usr/local/asterisk/var/spool/asterisk/faxspool//ff-psbj1x.tif|caller|deb ug Stack: 0 Blocking in: ast_waitfor_nandfds The console seems to indicate that the faxes start to communicate using the slow modems, and then hang after switching to a fast modem. Log is attached. /B - -- * GPG-Key: http://evil.gnarf.org/mrbk.pgp A: Because we read from top to bottom, left to right. Q: Why should i start my reply below the quoted text? - -- http://www.i-hate-computers.demon.co.uk/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDA0I5ckvkFeO3ANARAjLJAJ0eXELd2WjzGOy59ptkFEE3kiUJcQCgxF9P 3WgYpTG5b1BfA3yOVk3w9wc= =lNab -END PGP SIGNATURE- --- - ___ 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 -- - Dipl. Ing. Eckhard Rothfuchs Felix-Klein-Str. 1a 37083 Göttingen Fon:+49.(0)551.37075860 Fax:+49.(0)551.37075861 mobil: +49.(0) 163.8760443 mail: [EMAIL PROTECTED] ___ 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 - RxFax on same machine hangs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 17 Aug 2005, Steve Underwood wrote: Roger Schreiter wrote: How can I enable asterisk to fax to itsself? Well, it won't be the normal operation, but when allowing clients to fax, it can happen by chance, that someone faxes to another user on the same machine without knowing it. Thanks for any hints! If the call really dialed out through a PSTN port and back in it should work. It is was a pure internal connection between 2 processes it will not. The timing for these programs comes from the received data. No data, no work. I can confirm that this problem appears on a call through the PSTN. My setup is: TxFax - Asterisk - E1 - Asterisk (same box) -RxFax Asterisk version 1.0.9 and spandsp version 0.0.2pre18 on debian woody (3.0). I sent you an email about it with some debug information a week or so ago. If you need it again, or need some other info I'll be happy to provide it. /B - -- * GPG-Key: http://evil.gnarf.org/mrbk.pgp A: Because we read from top to bottom, left to right. Q: Why should i start my reply below the quoted text? - -- http://www.i-hate-computers.demon.co.uk/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDAui2ckvkFeO3ANARAuJPAKC00b+lEeHz+mOfb8J/zOF7+YAwggCeLFrG KGkJxLFGCeBY6foyDqC1xGM= =J6zk -END PGP SIGNATURE- ___ 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 - RxFax on same machine hangs
Bartek Kania wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 17 Aug 2005, Steve Underwood wrote: Roger Schreiter wrote: How can I enable asterisk to fax to itsself? Well, it won't be the normal operation, but when allowing clients to fax, it can happen by chance, that someone faxes to another user on the same machine without knowing it. Thanks for any hints! If the call really dialed out through a PSTN port and back in it should work. It is was a pure internal connection between 2 processes it will not. The timing for these programs comes from the received data. No data, no work. I can confirm that this problem appears on a call through the PSTN. My setup is: TxFax - Asterisk - E1 - Asterisk (same box) -RxFax Asterisk version 1.0.9 and spandsp version 0.0.2pre18 on debian woody (3.0). I sent you an email about it with some debug information a week or so ago. If you need it again, or need some other info I'll be happy to provide it. Did you put txfax in caller mode? Steve ___ 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 - RxFax on same machine hangs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 17 Aug 2005, Steve Underwood wrote: Bartek Kania wrote: If the call really dialed out through a PSTN port and back in it should work. It is was a pure internal connection between 2 processes it will not. The timing for these programs comes from the received data. No data, no work. I can confirm that this problem appears on a call through the PSTN. My setup is: TxFax - Asterisk - E1 - Asterisk (same box) -RxFax Asterisk version 1.0.9 and spandsp version 0.0.2pre18 on debian woody (3.0). I sent you an email about it with some debug information a week or so ago. If you need it again, or need some other info I'll be happy to provide it. Did you put txfax in caller mode? Yes I did. This is a snippet from 'show channel' for the two channels: Name: Zap/3-1 Type: Zap ... Frames in: 5249 Frames out: 265 Time to Hangup: 0 Elapsed Time: 0h1m45s ... Application: RxFAX Data: /tmp/1123753288.12.tif Stack: 1 Blocking in: ast_waitfor_nandfds and Name: Zap/28-1 Type: Zap ... Frames in: 3123 Frames out: 430 Time to Hangup: 0 Elapsed Time: 0h1m3s ... Application: TxFAX Data: /usr/local/asterisk/var/spool/asterisk/faxspool//ff-psbj1x.tif|caller|debug Stack: 0 Blocking in: ast_waitfor_nandfds The console seems to indicate that the faxes start to communicate using the slow modems, and then hang after switching to a fast modem. Log is attached. /B - -- * GPG-Key: http://evil.gnarf.org/mrbk.pgp A: Because we read from top to bottom, left to right. Q: Why should i start my reply below the quoted text? - -- http://www.i-hate-computers.demon.co.uk/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDA0I5ckvkFeO3ANARAjLJAJ0eXELd2WjzGOy59ptkFEE3kiUJcQCgxF9P 3WgYpTG5b1BfA3yOVk3w9wc= =lNab -END PGP SIGNATURE-Slow carrier up Slow carrier down Slow carrier up CSI: 40 35 38 33 20 30 30 30 36 2d 30 34 2d 36 34 2b 20 20 20 20 20 CSI without final frame tag Remote fax gave CSI as: +xx-xx- xxx DIS: 80 00 ce f4 80 80 81 80 80 80 18 DIS with final frame tag In state 10 DIS: Prefer 256 octet blocks Can receive fax Supported data signalling rates: V.27ter and V.29 R8x7.7lines/mm and/or 200x200pels/25.4mm 2D coding Scan line length: 215mm Recording length: Unlimited Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 R8x15.4lines/mm Minimum scan line time for higher resolutions: T15.4 = T7.7 North American Letter (215.9mm x 279.4mm) North American Legal (215.9mm x 355.6mm) 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 DCS with final frame tag In state 9 Coarse carrier frequency 1699.85 (66) Training error 0.506731 Training succeeded (constellation mismatch 0.703194) Changed from phase 6 to 3 Slow carrier up T4 timeout in state 4 Start rx document Start rx page - compression 2 ___ 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 - RxFax on same machine hangs
Hi Bartek, I posted the exact same problem last week - I found that if I connected two Asterisk systems together via a PRI crossover cable and talk txfax to rxfax then you get a T4 state timeout. I tried connecting ports one and two together on a TE410p and also connecting a TE410p to a TE110p, and a TE110p to a TE110p on different machines. I also found this when looping back via the PSTN. I read up a bit on what T4 actually is, and it seems to be a pretty high level state, where the faxes are transferring or about to transfer the tiff image data between themselves. The faxes will eventually hangup on each other - if you do a zap destroy channel to force hangup then you will sometimes get a segfault and asterisk will crash. I haven't found a solution for it, but it's not a big problem for me as I was only going txfax to rxfax as part of testing something else and I am using a hardfax attached to a SIP ata instead that works just fine against both rxfax and txfax. Craig - Original Message - From: Bartek Kania [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Wednesday, August 17, 2005 9:57 PM Subject: Re: [Asterisk-Users] TxFax - RxFax on same machine hangs -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 17 Aug 2005, Steve Underwood wrote: Bartek Kania wrote: If the call really dialed out through a PSTN port and back in it should work. It is was a pure internal connection between 2 processes it will not. The timing for these programs comes from the received data. No data, no work. I can confirm that this problem appears on a call through the PSTN. My setup is: TxFax - Asterisk - E1 - Asterisk (same box) -RxFax Asterisk version 1.0.9 and spandsp version 0.0.2pre18 on debian woody (3.0). I sent you an email about it with some debug information a week or so ago. If you need it again, or need some other info I'll be happy to provide it. Did you put txfax in caller mode? Yes I did. This is a snippet from 'show channel' for the two channels: Name: Zap/3-1 Type: Zap ... Frames in: 5249 Frames out: 265 Time to Hangup: 0 Elapsed Time: 0h1m45s ... Application: RxFAX Data: /tmp/1123753288.12.tif Stack: 1 Blocking in: ast_waitfor_nandfds and Name: Zap/28-1 Type: Zap ... Frames in: 3123 Frames out: 430 Time to Hangup: 0 Elapsed Time: 0h1m3s ... Application: TxFAX Data: /usr/local/asterisk/var/spool/asterisk/faxspool//ff-psbj1x.tif|caller|debug Stack: 0 Blocking in: ast_waitfor_nandfds The console seems to indicate that the faxes start to communicate using the slow modems, and then hang after switching to a fast modem. Log is attached. /B - -- * GPG-Key: http://evil.gnarf.org/mrbk.pgp A: Because we read from top to bottom, left to right. Q: Why should i start my reply below the quoted text? - -- http://www.i-hate-computers.demon.co.uk/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDA0I5ckvkFeO3ANARAjLJAJ0eXELd2WjzGOy59ptkFEE3kiUJcQCgxF9P 3WgYpTG5b1BfA3yOVk3w9wc= =lNab -END PGP SIGNATURE- ___ 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
[Asterisk-Users] TxFax - RxFax on same machine hangs
Hi, I noticed a strange behaviour: Faxing using spandsp (TxFax) from my asterisk box to my old, common fax machine at home works fine. Faxing from the same box to my office pc-fax (Hylafax) also worke fine. Receveiving faxes on my asterisk box using spandsp (RxFax) also works fine. It is a PSTN number connected to the digium card of that asterisk box. Then I faxed from my asterisk box (TxFax) to that PSTN number, my asterisk box answers the call, TxFax and RxFax, both start, but no tif file is created in the directory, where normally the fax files are created. Using show channel I can still see both apps, TxFax and RxFax, even after half an hour. Then I stopped using soft hangup, and tried again several times: Same result. So, do I have to avoid to fax to myself in any case, because I risk to produce those never terminating jobs, which probably consume some resources? How can I enable asterisk to fax to itsself? Well, it won't be the normal operation, but when allowing clients to fax, it can happen by chance, that someone faxes to another user on the same machine without knowing it. Thanks for any hints! Roger. ___ 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 - RxFax on same machine hangs
Roger Schreiter wrote: Hi, I noticed a strange behaviour: Faxing using spandsp (TxFax) from my asterisk box to my old, common fax machine at home works fine. Faxing from the same box to my office pc-fax (Hylafax) also worke fine. Receveiving faxes on my asterisk box using spandsp (RxFax) also works fine. It is a PSTN number connected to the digium card of that asterisk box. Then I faxed from my asterisk box (TxFax) to that PSTN number, my asterisk box answers the call, TxFax and RxFax, both start, but no tif file is created in the directory, where normally the fax files are created. Using show channel I can still see both apps, TxFax and RxFax, even after half an hour. Then I stopped using soft hangup, and tried again several times: Same result. So, do I have to avoid to fax to myself in any case, because I risk to produce those never terminating jobs, which probably consume some resources? How can I enable asterisk to fax to itsself? Well, it won't be the normal operation, but when allowing clients to fax, it can happen by chance, that someone faxes to another user on the same machine without knowing it. Thanks for any hints! If the call really dialed out through a PSTN port and back in it should work. It is was a pure internal connection between 2 processes it will not. The timing for these programs comes from the received data. No data, no work. Regards, Steve ___ 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 - RxFax on same machine hangs
Steve Underwood schrieb: ... If the call really dialed out through a PSTN port and back in it should work. It is was a pure internal connection between 2 processes it will Hi, the setup is: TxFax (Box A) Dial(Zap...) (Box A, Digium Card) v PSTN v Box B, Digium Card Dial(IAX2...) (Box B) v RxFax (Box A) TxFax and RxFax ran on Box A. The PSTN call was accepted at Box B and then forwarded via IAX2 to Box A. RxFax and TxFax did nothing, and were never terminated, and thus needed an expicit Hangup command. Regards, Roger. ___ 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] txfax on strike while rxfax works flawlessly
Hello, I have installed SpanDSP and the apps txfax an rxfax. Unfortunately I am having problems sending faxes. I only get cancelled transfers. I am trying to send a fax to a ISDN card connected to a zap channel. I am using following call file: --- Channel: ZAP/g1/25 MaxRetries: 0 WaitTime: 20 Application: txfax Data: /tmp/lVD3wy.tiff|caller Asterisk shows: --- -- Attempting call on ZAP/g1/25 for application txfax(/tmp/EmailToFax-lVD3wy.tiff|caller) (Retry 1) -- Requested transfer capability: 0x00 - SPEECH == Primary D-Channel on span 2 up for TEI 64 Channel Zap/2-1 was answered. Lauching txfax(/tmp/lVD3wy.tiff|caller) on Zap/2-1 Urgent handler DIS with final frame tag In state 10 Start tx document CFR with final frame tag In state 4 Start tx page 0 Start tx page 1 XCN with final frame tag In state 14 -- Hungup 'Zap/2-1' Aug 13 13:43:55 NOTICE[11332]: pbx_spool.c:239 attempt_thread: Call completed to ZAP/g1/25 The tiff file I am using I have received and saved with rxfax... So I am reasonably sure that it has nothing to do with the image file. Unfortunatly the messages txfax prints do not tell me anything at all. Can anybody help me with this? Cheers, Arik ___ 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] txfax spandsp
I've been using spandsp and rxfax to receive faxes for a while now and over the past few days I've looked into the other side of things - txfax. I can't seem to get it working properly. I've included debug logs below of both the tx and rx side of things. I've tried three different servers, asterisk v1.0.6, 1.0.9 and CVS, FC2 and FC4, libtiff 3.5.7 and 3.7.1, TE405P and TE110P cards, connected to each other via crossover cable (with rxfax as a fax client), the TE405P connected to itself (ports one and two crossover cable), and also connected to the PSTN with a hardfax on the other end. I always get the same errors. Would be very grateful if someone could give me some pointers or otherwise shed some light. The logs below are from spandsp 0.0.2 pre18 on CVS Head txfax talking to 0.0.2 pre18 on v1.0.9 stable rxfax. Doesn't matter though as the last debug entry is always the same (T4 timeout in state 4) * TXFAX Debug * -- Executing TxFAX(Zap/1-1, /tmp/11236686843.tif|caller|debug) in new stack Slow carrier up Urgent handler Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up DIS: 80 00 ce f4 80 80 81 80 80 80 18 DIS with final frame tag In state 10 DIS: Prefer 256 octet blocks Can receive fax Supported data signalling rates: V.27ter and V.29 R8x7.7lines/mm and/or 200x200pels/25.4mm 2D coding Scan line length: 215mm Recording length: Unlimited Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 R8x15.4lines/mm Minimum scan line time for higher resolutions: T15.4 = T7.7 North American Letter (215.9mm x 279.4mm) North American Legal (215.9mm x 355.6mm) 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 86 80 80 80 00 HDLC underflow in state 3 Changed from phase 4 to 6 Changed from phase 6 to 3 Slow carrier up T4 timeout in state 4 * End of txfax debug * * RXFAX debug * Aug 12 11:00:12 DEBUG[11937]: pbx.c:1274 pbx_extension_helper: Launching 'RxFAX'-- Executing RxFAX(Zap/1-1, /var/mbox/msgs/1123815612.2.tif|debug) in new stack Urgent handler Aug 12 11:00:12 DEBUG[11937]: channel.c:1752 ast_set_read_format: Set channel Zap/1-1 to read format slin Aug 12 11:00:12 DEBUG[11937]: channel.c:1719 ast_set_write_format: Set channel Zap/1-1 to write format slin Slow carrier up Slow carrier down Aug 12 11:00:12 DEBUG[11937]: chan_zap.c:4138 my_zt_write: Write returned -1 (Resource temporarily unavailable) on channel 1 Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Changed from phase 1 to 4 DIS: Prefer 256 octet blocks Can receive fax Supported data signalling rates: V.27ter and V.29 R8x7.7lines/mm and/or 200x200pels/25.4mm 2D coding Scan line length: 215mm Recording length: Unlimited Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 R8x15.4lines/mm Minimum scan line time for higher resolutions: T15.4 = T7.7 North American Letter (215.9mm x 279.4mm) North American Legal (215.9mm x 355.6mm) DIS: 80 00 ce f4 80 80 81 80 80 80 18 Aug 12 11:00:16 DEBUG[11937]: chan_zap.c:4053 zt_read: DTMF digit: f on Zap/1-1 Aug 12 11:00:16 DEBUG[11937]: chan_zap.c:4095 zt_read: Fax already handled HDLC underflow in state 9 Changed from phase 4 to 3 Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up DCS: 83 00 86 80 80 80 00 DCS with final frame tag In state 9 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 Get at 9600bps, modem 1 Changed from phase 3 to 5 Fast carrier up Fast carrier down Fast carrier up Coarse carrier frequency 1699.90 (68) Training error 0.294910 Training succeeded (constellation mismatch 0.636352) Fast carrier trained Craig ___ 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] TxFax: can't get a fax to destination (log inside)
Can someone explain me what's going on and why the receiver of this fax guives up saying communication error? Slow carrier up Slow carrier down Slow carrier up CSI: 40 20 20 20 20 20 20 20 34 39 34 35 36 34 39 35 30 20 39 33 2b CSI without final frame tag Remote fax gave CSI as: +39 059465494 DIS: 80 00 ee f8 c4 00 DIS with final frame tag In state 10 DIS: 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 Recording length: A4 (297mm) and B4 (364mm) Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 Error correction mode T.6 coding 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 86 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 0 Slow carrier down Changed from phase 3 to 6 Changed from phase 6 to 4 Start tx page 1 EOP: 2f HDLC underflow in state 14 Changed from phase 4 to 3 Slow carrier up RTN: 4c RTN with final frame tag In state 14 Changed from phase 3 to 4 DCN: fb HDLC underflow in state 2 Disconnecting Changed from phase 4 to 7 Changed from phase 7 to 8 ___ 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: can't get a fax to destination (log inside)
Marco Parmeggiani wrote: Can someone explain me what's going on and why the receiver of this fax guives up saying communication error? Start tx page 1 EOP: 2f RTN: 4c DCN: fb Disconnecting The receiver says communication error because txfax's response to the receiver's RTN signal was a DCN (disconnect) signal instead of a usual Phase B signal (i.e. DCS), also known as retraining. In non-ECM mode a receiver analyzes the quality of the incoming image data and determines whether or not it is of an acceptable quality. Then, after the sender transmits the post-page signal (EOP in this case, meaning last page), the receiver transmits either MCF (confirmation, meaning the received page quality was acceptable) or RTN (meaning the page quality was unacceptable and that retraining is required before the next page is received). My understanding of T.30 (and I'm not alone in this thought) was that RTN is meant to be the antithesis of MCF. So not only does it mean that retraining is required for the next page, but it also means that the previous page was *not* received properly (i.e. not printed). So, basically the page will need to get resent for the page to get through. However, many fax senders (especially old fax machines) were incapable of retransmitting a page because they didn't have the memory to store a full page of image data and so they sent data as they scanned it. So of necessity these senders had to treat RTN as a confirmation and they left it up to the receiver to call back and request a retransmission of whatever pages came through uncleanly. Some senders may have even produced a transmission report indicating to the sender which pages should be retransmitted in a new call. Ultimately what this did for the fax community, though, was that it gave us a very confused understanding of an RTN signal. And so various things were programmed with this confusing understanding programmed-in, and this programming often persists in modern fax machines because manufacturers don't rewrite their fax code very often if ever. So txfax is behaving as many fax senders out there behave, although my opinion is that it is behaving incorrectly... and apparently this receiver that you are working with shares that opinion. Lee. ___ 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: can't get a fax to destination (log inside)
Lee Howard wrote: Marco Parmeggiani wrote: Can someone explain me what's going on and why the receiver of this fax guives up saying communication error? Start tx page 1 EOP: 2f RTN: 4c DCN: fb Disconnecting The receiver says communication error because txfax's response to the receiver's RTN signal was a DCN (disconnect) signal instead of a usual Phase B signal (i.e. DCS), also known as retraining. In non-ECM mode a receiver analyzes the quality of the incoming image data and determines whether or not it is of an acceptable quality. Then, after the sender transmits the post-page signal (EOP in this case, meaning last page), the receiver transmits either MCF (confirmation, meaning the received page quality was acceptable) or RTN (meaning the page quality was unacceptable and that retraining is required before the next page is received). My understanding of T.30 (and I'm not alone in this thought) was that RTN is meant to be the antithesis of MCF. So not only does it mean that retraining is required for the next page, but it also means that the previous page was *not* received properly (i.e. not printed). So, basically the page will need to get resent for the page to get through. However, many fax senders (especially old fax machines) were incapable of retransmitting a page because they didn't have the memory to store a full page of image data and so they sent data as they scanned it. So of necessity these senders had to treat RTN as a confirmation and they left it up to the receiver to call back and request a retransmission of whatever pages came through uncleanly. Some senders may have even produced a transmission report indicating to the sender which pages should be retransmitted in a new call. Ultimately what this did for the fax community, though, was that it gave us a very confused understanding of an RTN signal. And so various things were programmed with this confusing understanding programmed-in, and this programming often persists in modern fax machines because manufacturers don't rewrite their fax code very often if ever. So txfax is behaving as many fax senders out there behave, although my opinion is that it is behaving incorrectly... and apparently this receiver that you are working with shares that opinion. TxFAX is doing the right thing, according to the spec. If you don't know how to handle RTN you should disconect. spandsp has not yet been taught how to retrain and retransmit properly. However, this is largely irrelevant. On modern lines a retransmit should be rare. Lately lots of people are reporting this problem to me, and I have not had time to investigate why it happens. Some say it happens with specific machines, and some with all machines. Regards, Steve ___ 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: can't get a fax to destination (log inside)
Steve Underwood wrote: TxFAX is doing the right thing, according to the spec. If you don't know how to handle RTN you should disconect. spandsp has not yet been taught how to retrain and retransmit properly. Okay, so it's not an error. It's an unimplemented feature. :-) However, this is largely irrelevant. On modern lines a retransmit should be rare. Yes, agreed. On a digital receiver I've seen it only 5 times in the last week of 672 applicable (non-ECM) faxes... although those statistics may be skewed due to the receiver supporting ECM (the vast majority of faxes - - were received with ECM). Lately lots of people are reporting this problem to me, and I have not had time to investigate why it happens. Some say it happens with specific machines, and some with all machines. One of the nice things about ECM is that it generally gives a very accurate picture of any Phase C data corruption, and that can help lead to an understanding as to the nature of any problems. It's helped me find modem flow-control problems as well as modulator flaws that were causing the modulator itself to generate interference. You may want to try running some faxes through your unicall T.31 modem to/from HylaFAX to see if the error lies within the common underlying interfaces, or whether or not it is something specific to txfax or libtiff. Lee. ___ 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] txfax 18Kb file problem
Hi ALL. I have a problem with TxFax application. (RxFax is working properly) Txfax does not work when sending tiff files bigger than approx. 18Kb. If tiff file smaller than 18Kb everything is OK. Tested in LAN with Panasonic UF-E1 fax machine (tiff files was created by the rxfax from that machine) and SAP-3000. Also tested with some remote fax machines (connected to PSTN and via VoIP). Results are same. Small file in most cases is OK, bigger is FAILED. Environment: Fedora Core 2 and 3, spandsp 0.0.2pre18, libtiff 3.5.7-20.2 and 3.7.1-6, Asterisk 20050427CVS ___ 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] txfax return code
I needed a system to allow my windows clients to hit print and eventually result in a fax being sent via asterisk. I used smbfax and modified it to allow the phone number to be supplied by means of an email and it all works fine ...except I do not know how to read off the TxFAX application exit code to determine if the fax was successfully sent or not. I'm currently using .call files to auto dial the fax out. Any ideas? ___ 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] TxFax and Tiffs
I am trying to use TxFax and I'm running into a few issues with it. The problems seem to come from the format of the tiff I am sending. Does anyone know what the correct format to be sending in? I'm using Ghostscript to create the tiff, and I've tried quite a few different settings. Right now the Tiff comes through pretty clear, but gets cut off after about 570pixels of height. I've tried tiffg3 tiffg4 tiffg32d (which is best?) I've tried various resolutions(what should the resolution be?) I've tried various paper sizes (Should I be using letter?, A4?, something else? Does it matter?) Is there some other setting i should be changing? Thanks ___ 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 and Ghostscript 8.51
If the problem is with libtiff, its a problem with every version i've tried (3.5.7, 3.6.0, 3.6.1, 3.7.1 and 3.7.2) On 4/30/05, Steve Underwood [EMAIL PROTECTED] wrote: Me wrote: Hi all, I'm trying to use spandsp and asterisk to send faxes. To do so I am creating tiffs with Ghostscript. When I use Ghostscript 6.50 it seems to work fine, but when I create the tiff using Ghostscript 8.51 (or 7.06) txfax garbles the tiff and it comes through all messed up. First of all is this a known problem or is it just me. More importantly does anyone know of a way to fix this, I'd like to use 8.51 instead of 6.50. By the way, if it makes a differnece i'm currently running [EMAIL PROTECTED] but I've encountered the same problem with all the other asterisk builds i've tried It is really a change to Ghostscript or a related change to libtiff causing you problems. Libtiff is the usual suspect when FAX images go wrong. Regards, Steve ___ 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 and Ghostscript 8.51
Send an example TIFF file, and I will investigate. Regards, Steve Me wrote: If the problem is with libtiff, its a problem with every version i've tried (3.5.7, 3.6.0, 3.6.1, 3.7.1 and 3.7.2) On 4/30/05, Steve Underwood [EMAIL PROTECTED] wrote: Me wrote: Hi all, I'm trying to use spandsp and asterisk to send faxes. To do so I am creating tiffs with Ghostscript. When I use Ghostscript 6.50 it seems to work fine, but when I create the tiff using Ghostscript 8.51 (or 7.06) txfax garbles the tiff and it comes through all messed up. First of all is this a known problem or is it just me. More importantly does anyone know of a way to fix this, I'd like to use 8.51 instead of 6.50. By the way, if it makes a differnece i'm currently running [EMAIL PROTECTED] but I've encountered the same problem with all the other asterisk builds i've tried It is really a change to Ghostscript or a related change to libtiff causing you problems. Libtiff is the usual suspect when FAX images go wrong. Regards, Steve ___ 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 and Ghostscript 8.51
Me wrote: Hi all, I'm trying to use spandsp and asterisk to send faxes. To do so I am creating tiffs with Ghostscript. When I use Ghostscript 6.50 it seems to work fine, but when I create the tiff using Ghostscript 8.51 (or 7.06) txfax garbles the tiff and it comes through all messed up. First of all is this a known problem or is it just me. More importantly does anyone know of a way to fix this, I'd like to use 8.51 instead of 6.50. By the way, if it makes a differnece i'm currently running [EMAIL PROTECTED] but I've encountered the same problem with all the other asterisk builds i've tried It is really a change to Ghostscript or a related change to libtiff causing you problems. Libtiff is the usual suspect when FAX images go wrong. Regards, Steve ___ 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] txfax and Ghostscript 8.51
Hi all, I'm trying to use spandsp and asterisk to send faxes. To do so I am creating tiffs with Ghostscript. When I use Ghostscript 6.50 it seems to work fine, but when I create the tiff using Ghostscript 8.51 (or 7.06) txfax garbles the tiff and it comes through all messed up. First of all is this a known problem or is it just me. More importantly does anyone know of a way to fix this, I'd like to use 8.51 instead of 6.50. By the way, if it makes a differnece i'm currently running [EMAIL PROTECTED] but I've encountered the same problem with all the other asterisk builds i've tried thanks ___ 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] TxFAX problem
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
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
[Asterisk-Users] txfax failure
Hi list, Just installed spandsp. In my limiting testing, I have an issue on a Philips fax machine (HFC21) directly connected to my * server through TDM400, reception with rxfax works fine, but txfax always fails. Below is a transcript of failed transmit. This is with asterisk-1.0.3 (with native moh patch but I don't think it is the source of the problem). I already tried libtiff 3.5.7, 3.6.0, 3.6.1 (with hylafax patch), with same results. Echo cancel is off on the zap channel, though I dont think this is still needed. I have read the wiki, scott's faxing with asterisk, the mailing list, found nothing on bug tracker. On a test to a Sagem fax (through the PSTN via TDM400 on my side) txfax worked flawlessly, so this is obviously related to the Philips fax, but maybe there is something in the logs below that shows the source of the problem, and a help fix it. I'm available for more testing. Thanks, Jean-Denis Girard -- Starting simple switch on 'Zap/1-1' Urgent handler Dec 17 11:22:32 DEBUG[3600]: chan_zap.c:4031 zt_read: DTMF digit: 9 on Zap/1-1 Dec 17 11:22:32 DEBUG[3600]: chan_zap.c:4031 zt_read: DTMF digit: 7 on Zap/1-1 Dec 17 11:22:32 DEBUG[3600]: chan_zap.c:1221 zt_enable_ec: No echocancellation requested Dec 17 11:22:32 DEBUG[3600]: pbx.c:1261 pbx_extension_helper: Launching 'Answer' -- Executing Answer(Zap/1-1, ) in new stack Dec 17 11:22:32 DEBUG[3600]: chan_zap.c:2288 zt_answer: Took Zap/1-1 off hook Dec 17 11:22:32 DEBUG[3600]: pbx.c:1261 pbx_extension_helper: Launching 'BackGround' -- Executing BackGround(Zap/1-1, Sysnux/bonjour1) in new stack Dec 17 11:22:32 DEBUG[3600]: channel.c:1710 ast_set_write_format: Set channel Zap/1-1 to write format slin Dec 17 11:22:32 DEBUG[3600]: channel.c:1131 ast_settimeout: Scheduling timer at 160 sample intervals -- Playing 'Sysnux/bonjour1' (language 'fr') Urgent handler Dec 17 11:22:40 DEBUG[3600]: channel.c:1131 ast_settimeout: Scheduling timer at 97 sample intervals Dec 17 11:22:40 DEBUG[3600]: channel.c:1131 ast_settimeout: Scheduling timer at 0 sample intervals Dec 17 11:22:40 DEBUG[3600]: channel.c:1131 ast_settimeout: Scheduling timer at 0 sample intervals Dec 17 11:22:40 DEBUG[3600]: channel.c:1710 ast_set_write_format: Set channel Zap/1-1 to write format ulaw Dec 17 11:22:40 DEBUG[3600]: pbx.c:1261 pbx_extension_helper: Launching 'TxFAX' -- Executing TxFAX(Zap/1-1, ) in new stack Dec 17 11:22:40 DEBUG[3600]: channel.c:1743 ast_set_read_format: Set channel Zap/1-1 to read format slin Dec 17 11:22:40 DEBUG[3600]: channel.c:1710 ast_set_write_format: Set channel Zap/1-1 to write format slin Changed from phase 0 to 1 Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Urgent handler Slow carrier up Slow carrier down Slow carrier up Changed from phase 1 to 4 Sending ident CSI: 40 37 32 35 33 38 34 20 39 38 36 2b 20 20 20 20 20 20 20 20 20 DIS: Prefer 256 octet blocks Supported data signalling rates: V.27ter and V.29 R8x7.7lines/mm and/or 200x200pels/25.4mm 2D coding Scan line length: 215mm Recording length: Unlimited Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 R8x15.4lines/mm Minimum scan line time for higher resolutions: T15.4 = T7.7 North American Letter (215.9mm x 279.4mm) North American Legal (215.9mm x 355.6mm) DIS: 80 00 cc f4 80 80 81 80 80 80 18 HDLC underflow in state 9 Changed from phase 4 to 3 Slow carrier up Slow carrier down Slow carrier up NSF: 20 50 80 00 da 00 00 02 00 60 00 00 00 00 00 00 00 00 00 00 00 NSF without final frame tag CSI: 40 37 32 35 33 38 34 20 20 20 20 20 20 20 20 20 20 20 20 20 20 CSI without final frame tag Remote fax gave CSI as: 483527 T4 timeout in state 9 Changed from phase 3 to 4 Sending ident CSI: 40 37 32 35 33 38 34 20 39 38 36 2b 20 20 20 20 20 20 20 20 20 DIS: Prefer 256 octet blocks Supported data signalling rates: V.27ter and V.29 R8x7.7lines/mm and/or 200x200pels/25.4mm 2D coding Scan line length: 215mm Recording length: Unlimited Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 R8x15.4lines/mm Minimum scan line time for higher resolutions: T15.4 = T7.7 North American Letter (215.9mm x 279.4mm) North American Legal (215.9mm x 355.6mm) DIS: 80 00 cc f4 80 80 81 80 80 80 18 HDLC underflow in state 9 Changed from phase 4 to 3 Slow carrier up Slow carrier down Slow carrier up XCN: fa XCN with final frame tag In state 9 Disconnecting Changed from phase 3 to 7 -- Setting global variable 'REMOTESTATIONID' to '483527' Changed from phase 7 to 8 Urgent handler Dec 17 11:22:52 DEBUG[3600]: channel.c:1743 ast_set_read_format: Set channel Zap/1-1 to read format ulaw Dec 17 11:22:52 DEBUG[3600]: channel.c:1710 ast_set_write_format: Set channel Zap/1-1 to write format ulaw Dec 17 11:22:59 DEBUG[3600]: chan_zap.c:3764 __zt_exception: Exception on 19, channel 1 Dec 17 11:22:59 DEBUG[3600]: chan_zap.c:3076 zt_handle_event: Got event On hook(1) on channel 1
Re: [Asterisk-Users] txfax failure
Hi Jean Denis, I think you are using spandsp-0.0.1 It has this problem with some Philips, Canon, and a few other machines. Try spandsp-0.0.2pre6. That fixes the problem, and has various other improvements. Regards, Steve Jean-Denis Girard wrote: Hi list, Just installed spandsp. In my limiting testing, I have an issue on a Philips fax machine (HFC21) directly connected to my * server through TDM400, reception with rxfax works fine, but txfax always fails. Below is a transcript of failed transmit. This is with asterisk-1.0.3 (with native moh patch but I don't think it is the source of the problem). I already tried libtiff 3.5.7, 3.6.0, 3.6.1 (with hylafax patch), with same results. Echo cancel is off on the zap channel, though I dont think this is still needed. I have read the wiki, scott's faxing with asterisk, the mailing list, found nothing on bug tracker. On a test to a Sagem fax (through the PSTN via TDM400 on my side) txfax worked flawlessly, so this is obviously related to the Philips fax, but maybe there is something in the logs below that shows the source of the problem, and a help fix it. I'm available for more testing. Thanks, Jean-Denis Girard ___ 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 failure
Steve Underwood a écrit : Hi Jean Denis, I think you are using spandsp-0.0.1 It has this problem with some Philips, Canon, and a few other machines. Try spandsp-0.0.2pre6. That fixes the problem, and has various other improvements. Sorry for forgetting that important info in my first message, but I am already using spandsp-0.0.2pre6. Thanks, Jean-Denis ___ 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] txfax
Trying to send a fax using a call file and txfax. Phone dials the remote fax answers but * gives me: Call failed to go through, reason 3 And hangs up. Any help. Thanks --John ___ 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
Re: [Asterisk-Users] txfax
John Hill wrote: Trying to send a fax using a call file and txfax. Phone dials the remote fax answers but * gives me: Call failed to go through, reason 3 And hangs up. Any help. Thanks --John Did you add |caller to the command? 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
[Asterisk-Users] txfax problem?
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: 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 Thanks, Mike -- Michael Welter Introspect Telephony Corp. Denver, Colorado US +1.303.674.2575 [EMAIL PROTECTED] www.introspect.com ___ 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
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
[Asterisk-Users] txfax: Trainability test failed
Hi all, I'm using txfax and rxfax to send and receive faxes. I find that txfax performs very well when sending to an old fax machine. However, when trying to send to a Mac (OS X) that accepts faxes, I get a Trainability test failed message on the * console (full console log below). I'm OK with being unable to fax to Mac, as I'm just using it to test. For future reference, I'd like to know what causes this problem, and what steps (if any) I can take to correct it. Thanks Ryan exten = out_fax,1,txfax(${TXFAX_NAME}|caller) ---SNIP--- -- Attempting call on Zap/g1/2442790 for [EMAIL PROTECTED]:1 (Retry 1) Channel Zap/1-1 was answered. -- Executing Wait(Zap/1-1, 7) in new stack -- Executing TxFAX(Zap/1-1, /var/spool/asterisk/fax/test.tif|caller) in new stack File name is '/var/spool/asterisk/fax/test.tif' Changed from phase 0 to 2 Slow carrier up Slow carrier down Slow carrier up CSI: 40 30 39 37 32 20 34 34 32 20 33 30 34 20 20 20 20 20 20 20 20 CSI without final frame tag Remote fax gave CSI as: 403 244 2790 DIS: 80 00 6e 78 DIS with final frame tag In state 10 DIS: Preferred octets: 256 Can receive fax Supported data signalling rates: V.27ter, V.29 and V.17 R8x7.7lines/mm and/or 200x200pels/25.4mm OK Scan line length: 215mm Recording length: A4 (297mm) and B4 (364mm) Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 DCS: Selected data signalling rate: V.29, 9600bps Scan line length: 215mm Recording length: A4 (297mm) Minimum scan line time: 0ms Start sending document Start tx document - compression 1 Fine mode Changed from phase 2 to 4 Sending ident TSI: 43 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 DCS: 83 00 44 70 HDLC underflow in state 3 Changed from phase 4 to 6 Changed from phase 6 to 3 T4 timeout in state 4 Slow carrier up FTT: 44 FTT with final frame tag In state 4 Trainability test failed Changed from phase 3 to 6 Changed from phase 6 to 3 T4 timeout in state 4 ---SNIP--- ___ 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
Re: [Asterisk-Users] TxFax/SpanDSP problems
Most Canon models seem to be working OK. Serge's Canon drops the line every time during negotiation, as though it has decided spandsp doesn't support compatible capabilities. It is not clear why this is happening, though. The modes which spandsp is asking to use are the most widely used ones. I think this must be a model specific issue. Regards, Steve Eric Wieling wrote: Almost all of our fax machines are Canon, so it's kinda tough to test TxFax. On Wed, 2004-04-21 at 11:35, Serge Oleinikov wrote: Hi Eric ! I have the same problem with Canon fax mashine as you have. I have wrote an email to Steve (developer of spandsp) some weeks ago and got no answer how to fix the problem :( Looks like connection was dropped by fax mashine without any reason ___ 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
Re: [Asterisk-Users] TxFax/SpanDSP problems
On Sat, 2004-04-24 at 12:38, Steve Underwood wrote: Most Canon models seem to be working OK. Serge's Canon drops the line every time during negotiation, as though it has decided spandsp doesn't support compatible capabilities. It is not clear why this is happening, though. The modes which spandsp is asking to use are the most widely used ones. I think this must be a model specific issue. I can give you the number to our Cannon fax machines that have problems if you want. Or I can give you the audio files generated by spandsp, or anything else you need to get this fixed. I might even be able to find an older machine that exhibits the problem we I can ship to you for testing. I don't suppose a bribe would help? 8-) --Eric -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss. ___ 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
Re: [Asterisk-Users] TxFax/SpanDSP problems
Hi Eric and Steve :) My fax numbers (both Canon faxes) 3717201651 3726062501 - Original Message - From: Eric Wieling [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 24, 2004 8:46 PM Subject: Re: [Asterisk-Users] TxFax/SpanDSP problems On Sat, 2004-04-24 at 12:38, Steve Underwood wrote: Most Canon models seem to be working OK. Serge's Canon drops the line every time during negotiation, as though it has decided spandsp doesn't support compatible capabilities. It is not clear why this is happening, though. The modes which spandsp is asking to use are the most widely used ones. I think this must be a model specific issue. I can give you the number to our Cannon fax machines that have problems if you want. Or I can give you the audio files generated by spandsp, or anything else you need to get this fixed. I might even be able to find an older machine that exhibits the problem we I can ship to you for testing. I don't suppose a bribe would help? 8-) --Eric -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss. ___ 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 ___ 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
[Asterisk-Users] TxFax/SpanDSP problems
I'm getting the following when sending to a specific fax machine. Any ideas? File name is '/var/spool/asterisk/email2fax/7F2SOeYJiU.tif' Changed from phase 0 to 2 Slow carrier up Slow carrier down Slow carrier up NSF: 20 00 00 11 80 00 8a 49 10 53 54 49 52 4c 49 4e 47 20 43 4f 56 49 4e 47 54 00 67 00 80 80 80 0c 01 02 NSF without final frame tag The remote is made by 'Canon' DIS: 80 20 ee 88 c4 80 95 80 80 80 38 DIS with final frame tag In state 10 DIS: V.8 capable Preferred octets: 256 Can receive fax Supported data signalling rates: V.27ter, V.29 and V.17 R8x7.7lines/mm and/or 200x200pels/25.4mm OK 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) and B4 (364mm) Receiver's minimum scan line time: 20ms at 3.85 l/mm: T7.7 = T3.85 Error correction mode T.6 coding R8x15.4lines/mm OK R16x15.4lines/mm and/or 400x400pels/25.4 mm OK Metric-based resolution preferred Minimum scan line time for higher resolutions: T15.4 = T7.7 North American Letter (215.9mm x 279.4mm) North American Legal (215.9mm x 355.6mm) Single-progression sequential coding (Rec. T.85) basic DCS: Selected data signalling rate: V.29, 9600bps 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Minimum scan line time: 20ms Start sending document Start tx document - compression 2 Fine mode Changed from phase 2 to 4 Sending ident TSI: 43 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 DCS: 83 00 c4 00 HDLC underflow in state 3 Changed from phase 4 to 6 Changed from phase 6 to 3 Slow carrier up XCN: fa XCN with final frame tag In state 4 Disconnecting Changed from phase 3 to 7 Changed from phase 7 to 8 -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss. ___ 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
Re: [Asterisk-Users] TxFax/SpanDSP problems
Hi Eric ! I have the same problem with Canon fax mashine as you have. I have wrote an email to Steve (developer of spandsp) some weeks ago and got no answer how to fix the problem :( Looks like connection was dropped by fax mashine without any reason - Original Message - From: Eric Wieling [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 6:19 PM Subject: [Asterisk-Users] TxFax/SpanDSP problems I'm getting the following when sending to a specific fax machine. Any ideas? File name is '/var/spool/asterisk/email2fax/7F2SOeYJiU.tif' Changed from phase 0 to 2 Slow carrier up Slow carrier down Slow carrier up NSF: 20 00 00 11 80 00 8a 49 10 53 54 49 52 4c 49 4e 47 20 43 4f 56 49 4e 47 54 00 67 00 80 80 80 0c 01 02 NSF without final frame tag The remote is made by 'Canon' DIS: 80 20 ee 88 c4 80 95 80 80 80 38 DIS with final frame tag In state 10 DIS: V.8 capable Preferred octets: 256 Can receive fax Supported data signalling rates: V.27ter, V.29 and V.17 R8x7.7lines/mm and/or 200x200pels/25.4mm OK 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) and B4 (364mm) Receiver's minimum scan line time: 20ms at 3.85 l/mm: T7.7 = T3.85 Error correction mode T.6 coding R8x15.4lines/mm OK R16x15.4lines/mm and/or 400x400pels/25.4 mm OK Metric-based resolution preferred Minimum scan line time for higher resolutions: T15.4 = T7.7 North American Letter (215.9mm x 279.4mm) North American Legal (215.9mm x 355.6mm) Single-progression sequential coding (Rec. T.85) basic DCS: Selected data signalling rate: V.29, 9600bps 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Minimum scan line time: 20ms Start sending document Start tx document - compression 2 Fine mode Changed from phase 2 to 4 Sending ident TSI: 43 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 DCS: 83 00 c4 00 HDLC underflow in state 3 Changed from phase 4 to 6 Changed from phase 6 to 3 Slow carrier up XCN: fa XCN with final frame tag In state 4 Disconnecting Changed from phase 3 to 7 Changed from phase 7 to 8 -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss. ___ 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 ___ 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
Re: [Asterisk-Users] TxFax/SpanDSP problems
Almost all of our fax machines are Canon, so it's kinda tough to test TxFax. On Wed, 2004-04-21 at 11:35, Serge Oleinikov wrote: Hi Eric ! I have the same problem with Canon fax mashine as you have. I have wrote an email to Steve (developer of spandsp) some weeks ago and got no answer how to fix the problem :( Looks like connection was dropped by fax mashine without any reason - Original Message - From: Eric Wieling [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 6:19 PM Subject: [Asterisk-Users] TxFax/SpanDSP problems I'm getting the following when sending to a specific fax machine. Any ideas? File name is '/var/spool/asterisk/email2fax/7F2SOeYJiU.tif' Changed from phase 0 to 2 Slow carrier up Slow carrier down Slow carrier up NSF: 20 00 00 11 80 00 8a 49 10 53 54 49 52 4c 49 4e 47 20 43 4f 56 49 4e 47 54 00 67 00 80 80 80 0c 01 02 NSF without final frame tag The remote is made by 'Canon' DIS: 80 20 ee 88 c4 80 95 80 80 80 38 DIS with final frame tag In state 10 DIS: V.8 capable Preferred octets: 256 Can receive fax Supported data signalling rates: V.27ter, V.29 and V.17 R8x7.7lines/mm and/or 200x200pels/25.4mm OK 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) and B4 (364mm) Receiver's minimum scan line time: 20ms at 3.85 l/mm: T7.7 = T3.85 Error correction mode T.6 coding R8x15.4lines/mm OK R16x15.4lines/mm and/or 400x400pels/25.4 mm OK Metric-based resolution preferred Minimum scan line time for higher resolutions: T15.4 = T7.7 North American Letter (215.9mm x 279.4mm) North American Legal (215.9mm x 355.6mm) Single-progression sequential coding (Rec. T.85) basic DCS: Selected data signalling rate: V.29, 9600bps 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Minimum scan line time: 20ms Start sending document Start tx document - compression 2 Fine mode Changed from phase 2 to 4 Sending ident TSI: 43 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 DCS: 83 00 c4 00 HDLC underflow in state 3 Changed from phase 4 to 6 Changed from phase 6 to 3 Slow carrier up XCN: fa XCN with final frame tag In state 4 Disconnecting Changed from phase 3 to 7 Changed from phase 7 to 8 -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss. ___ 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 ___ 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 -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss. ___ 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
Re: [Asterisk-Users] TxFax/SpanDSP problems
It would be VERY nice if TxFax exited with a non-zero return code if the fax was not actually sent. In the case of the problem with sending to the Canon fax machine, this always returns 0: $status = $AGI-exec(TxFAX, $fax_filename|caller); On Wed, 2004-04-21 at 12:46, Eric Wieling wrote: Almost all of our fax machines are Canon, so it's kinda tough to test TxFax. On Wed, 2004-04-21 at 11:35, Serge Oleinikov wrote: Hi Eric ! I have the same problem with Canon fax mashine as you have. I have wrote an email to Steve (developer of spandsp) some weeks ago and got no answer how to fix the problem :( Looks like connection was dropped by fax mashine without any reason - Original Message - From: Eric Wieling [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 6:19 PM Subject: [Asterisk-Users] TxFax/SpanDSP problems I'm getting the following when sending to a specific fax machine. Any ideas? File name is '/var/spool/asterisk/email2fax/7F2SOeYJiU.tif' Changed from phase 0 to 2 Slow carrier up Slow carrier down Slow carrier up NSF: 20 00 00 11 80 00 8a 49 10 53 54 49 52 4c 49 4e 47 20 43 4f 56 49 4e 47 54 00 67 00 80 80 80 0c 01 02 NSF without final frame tag The remote is made by 'Canon' DIS: 80 20 ee 88 c4 80 95 80 80 80 38 DIS with final frame tag In state 10 DIS: V.8 capable Preferred octets: 256 Can receive fax Supported data signalling rates: V.27ter, V.29 and V.17 R8x7.7lines/mm and/or 200x200pels/25.4mm OK 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) and B4 (364mm) Receiver's minimum scan line time: 20ms at 3.85 l/mm: T7.7 = T3.85 Error correction mode T.6 coding R8x15.4lines/mm OK R16x15.4lines/mm and/or 400x400pels/25.4 mm OK Metric-based resolution preferred Minimum scan line time for higher resolutions: T15.4 = T7.7 North American Letter (215.9mm x 279.4mm) North American Legal (215.9mm x 355.6mm) Single-progression sequential coding (Rec. T.85) basic DCS: Selected data signalling rate: V.29, 9600bps 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Minimum scan line time: 20ms Start sending document Start tx document - compression 2 Fine mode Changed from phase 2 to 4 Sending ident TSI: 43 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 DCS: 83 00 c4 00 HDLC underflow in state 3 Changed from phase 4 to 6 Changed from phase 6 to 3 Slow carrier up XCN: fa XCN with final frame tag In state 4 Disconnecting Changed from phase 3 to 7 Changed from phase 7 to 8 -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss. ___ 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 ___ 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 -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss. ___ 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