Joined: Mon 22 of Jun, 2009


Posted:Mon 22 of Jun, 2009 (23:51 UTC)
Hello. I'm trying to send/receive fax through Asterisk, the version of Asterfax that I'm using is "asterfax-1.1-freeb4.i386" and the Asterisk version is "asterisk-1.4.22-3". The problem that I'm having is that I did install Asterfax and configured it according to its manual ( but when I try to send a fax it may send it or not, I mean, the first time I run asterfax and compose a fax, the first time it's like this:

18:46:50,774 DEBUG Starting SMTP Processor
18:46:50,775 DEBUG Started SMTP Processor
18:46:50,779 DEBUG Accepted connection from localhost.localdomain<>
18:46:50,782 DEBUG Writing: 220 Welcome to AsterFax version 1.1freeb4.
18:46:50,786 DEBUG Read Input: EHLO
18:46:50,786 DEBUG read: EHLO
18:46:50,787 DEBUG Writing: 500 Command Unrecognized: EHLO
18:46:50,788 DEBUG Read Input: HELO
18:46:50,788 DEBUG read: HELO
18:46:50,788 DEBUG Writing: 250 Hello
18:46:50,789 DEBUG Read Input: MAIL From:<>
18:46:50,789 DEBUG read: MAIL From:<>
18:46:50,790 DEBUG MAIL FROM:
18:46:50,790 DEBUG Writing: 250 OK
18:46:50,791 DEBUG Read Input: RCPT To:<>
18:46:50,791 DEBUG read: RCPT To:<>
18:46:50,791 DEBUG Writing: 250 OK
18:46:50,792 DEBUG RCTP TO: accepted.
18:46:50,792 DEBUG Read Input: DATA
18:46:50,793 DEBUG read: DATA
18:46:50,793 DEBUG Writing: 354 Start data input; end with <CRLF>.<CRLF>
18:46:50,794 DEBUG Read Data: Received: (from root@localhost)
18:46:50,795 DEBUG Read Data: 	by (8.13.8/8.13.8/Submit) id n5MNkoK1011565
18:46:50,795 DEBUG Read Data: 	for; Mon, 22 Jun 2009 18:46:50 -0500
18:46:50,795 DEBUG Read Data: Date: Mon, 22 Jun 2009 18:46:50 -0500
18:46:50,796 DEBUG Read Data: From: root <>
18:46:50,796 DEBUG Read Data: Message-Id: <>
18:46:50,796 DEBUG Read Data: To:
18:46:50,797 DEBUG Read Data: Subject: Errorrrrrr
18:46:50,799 DEBUG Read Data: 
18:46:50,800 DEBUG Read Data: Otrooo error
18:46:50,833 DEBUG Data Input Complete.
18:46:50,836 DEBUG Writing: 250 OK
18:46:50,837 INFO Message /var/spool/asterfax/spool/tmp48159.eml From: [] accepted for delivery.
18:46:50,838 DEBUG FaxManagerOutBound message recieved for delivery.
18:46:50,841 DEBUG Read Input: QUIT
18:46:50,841 DEBUG read: QUIT
18:46:50,841 DEBUG User has QUIT the session.
18:46:50,842 DEBUG Quit recieved; disconnecting from localhost.localdomain<>
18:46:50,842 DEBUG Writing: 221 AsterFax Goodbye.
18:46:50,844 DEBUG SMTPProcessor shut down gracefully

Just a normal SMTP server log....

The second time (This is the last part):

18:48:47,164 DEBUG input> ESP Ghostscript 815.02 (2006-04-19)
18:48:47,165 DEBUG input> Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
18:48:47,165 DEBUG input> This software comes with NO WARRANTY: see the file PUBLIC for details.
18:48:47,346 DEBUG input> Processing pages 1 through 1.
18:48:47,347 DEBUG input> Page 1
18:48:47,356 DEBUG input> Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 2432496 1126316 1918880 614466 4 done.
18:48:47,357 DEBUG input> Using NimbusSansL-Regu font for NimbusSanL-Regu.
18:48:47,485 DEBUG Converter for mimeType: image/pdf completed result=0
18:48:47,485 DEBUG Body saved as TIFF
18:48:47,498 DEBUG Merging tiff files into single multipage tiff: [/var/spool/asterfax/tmp/QWWWxx29142.tif]
18:48:47,499 DEBUG Loading Multipage Tiff /var/spool/asterfax/tmp/QWWWxx29142.tif
18:48:47,575 DEBUG Number of images in /var/spool/asterfax/tmp/QWWWxx29142.tif: 1
18:48:48,254 DEBUG Saving multipage TIFF
18:48:48,268 DEBUG Encoding image
18:48:48,468 DEBUG Merge inputfile(1) /var/spool/asterfax/tmp/QWWWxx29142.tif length(k)=4
18:48:48,469 DEBUG Merge outputfile /var/spool/asterfax/tmp/QWWWxx29144.tif length(k)=5
18:48:48,469 DEBUG Moving tiff output file to /var/spool/asterfax/fax/QWWWxx29146.tif
18:48:48,471 DEBUG Sending Action: Channel(SIP/fax/100) ActionId(1) Context(from-internal) Application (txfax) Data(/var/spool/asterfax/fax/QWWWxx29146.tif|caller|debug) Vars({RetryTime=40, WaitTime=60, MaxRetries=1})
18:48:48,477 DEBUG Response:org.asteriskjava.manager.response.ManagerResponse: actionId='1'; message='Originate successfully queued'; response='Success'; uniqueId='null'; systemHashcode=7634850 resp:Successmsg: Originate successfully queued
18:48:48,801 INFO AsterFax startup complete.
Type QUIT then hit enter to shutdown AsterFax

Asterisk CLI:

== Parsing '/etc/asterisk/asterisk.conf': Found
Connected to Asterisk 1.4.22-3 RPM by currently running on asterisk (pid = 2983)
Verbosity was 3 and is now 50
  == Manager 'admin' logged off from
  == Manager 'admin' logged off from
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from

And it doesn't do anything... I configured it to be used with postfix running on port 28.

Thanks for your help. I really need this to work.