Alright, Cool.

 

I’ve followed the directions but the java application is erroring out with some funky issues relating to directories/permissions/broken components.

 

---

14 Aug 2006 21:57:01,821 DEBUG FaxManagerOutBound passed message to channel Zap/g0 Both from-internal priority(1) count(1) for delivery.

14 Aug 2006 21:57:01,842 ERROR

java.lang.NullPointerException

        at au.com.noojee.asterfax.outbound.Fax.getFrom(Fax.java:317)

        at au.com.noojee.asterfax.outbound.Fax.toString(Fax.java:411)

        at au.com.noojee.asterfax.outbound.Channel.run(Channel.java:95)

14 Aug 2006 21:57:01,897 ERROR Error attempting to send error response

java.lang.NullPointerException

        at au.com.noojee.asterfax.Responses.toString(Responses.java:344)

        at au.com.noojee.asterfax.Responses.sendError(Responses.java:205)

        at au.com.noojee.asterfax.Responses.sendError(Responses.java:121)

        at au.com.noojee.asterfax.outbound.Channel.run(Channel.java:129)

14 Aug 2006 21:57:01,899 DEBUG Preserving spool file: fax

14 Aug 2006 21:57:01,908 ERROR Error attempting to preserve spool file

java.io.FileNotFoundException: /var/spool/asterfax/tmp/fax (No such file or directory)

        at java.io.FileOutputStream.open(Native Method)

        at java.io.FileOutputStream.<init>(Unknown Source)

        at java.io.FileOutputStream.<init>(Unknown Source)

        at au.com.noojee.asterfax.util.FileSystem.copyFile(FileSystem.java:75)

        at au.com.noojee.asterfax.util.FileSystem.moveFile(FileSystem.java:108)

        at au.com.noojee.asterfax.messagestore.FileMimeMessage.moveFile(FileMimeMessage.java:306)

        at au.com.noojee.asterfax.outbound.Fax.moveToTemp(Fax.java:192)

        at au.com.noojee.asterfax.outbound.Channel.run(Channel.java:151)

14 Aug 2006 21:57:01,909 DEBUG Making channel Zap/g0 Both from-internal priority(1) count(1) available.

14 Aug 2006 21:57:03,181 ERROR Authentication failed

org.asteriskjava.manager.AuthenticationFailedException: Authentication failed

        at org.asteriskjava.manager.DefaultManagerConnection.login(DefaultManagerConnection.java:471)

        at org.asteriskjava.manager.DefaultManagerConnection.login(DefaultManagerConnection.java:365)

        at au.com.noojee.asterfax.inbound.FaxManagerInbound.connect(FaxManagerInbound.java:166)

        at au.com.noojee.asterfax.inbound.FaxManagerInbound.<init>(FaxManagerInbound.java:85)

        at au.com.noojee.asterfax.inbound.FaxManagerInbound.getInstance(FaxManagerInbound.java:71)

        at au.com.noojee.asterfax.AsterFax.startThreads(AsterFax.java:190)

        at au.com.noojee.asterfax.AsterFax.<init>(AsterFax.java:114)

        at au.com.noojee.asterfax.AsterFax.main(AsterFax.java:297)

14 Aug 2006 21:57:03,182 INFO Shutting down AsterFax due to unexpected exception. Check logs/AsterFax.log for details.

14 Aug 2006 21:57:03,183 INFO Outbound FaxManager Stopping

14 Aug 2006 21:57:03,184 INFO AsterFax has shutdown.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Warrick Zedi
Sent: Monday, August 14, 2006 9:43 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [asterisk-users] Asterfax and Gentoo

 

There are instructions to install from source packages at http://asterfax.sourceforge.net/Installing%20AsterFax.html in the Manual section. Those instructions do refer to installing trixbox and using yum but you can ignore the trixbox instruction and use your favourite package manager. If you can’t locate appropriate versions of packages such as Java, ghostscript and openoffice.org using your package manager then manually locate them, download and install them.

 

When you get to the AsterFax install get the zip file (which I only just made available for rc5) and unzip the file to /usr/lib/asterfax then edit config/AsterFax.xml and bin/ooconvert.sh checking that the paths to ghostscript and openoffice are correct for you install.

 

Most of this is relatively straightforward. The only tricky part is getting spandsp patched.If you use spandsp0.0.2pre26 then AsterFax comes with an already patched app_txfax.c that you can just copy over the existing file and that should work.

 

Let me know how you go.

 

We are planning on providing debs and I’ll add gentoo to that list.

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Fanning
Sent: Tuesday, 15 August 2006 2:10 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Asterfax and Gentoo

 

Greetings List,

 

Anyone got this working with Gentoo?  Or at least a howto to run it on systems NOT running trixbox?

 

Thanks,

Don

 


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
--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

Reply via email to