[asterisk-users] Asterfax and Gentoo
Don Fanning
don at 00100100.net
Mon Aug 14 21:58:25 MST 2006
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(FileMimeMes
sage.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(DefaultManagerCo
nnection.java:471)
at
org.asteriskjava.manager.DefaultManagerConnection.login(DefaultManagerCo
nnection.java:365)
at
au.com.noojee.asterfax.inbound.FaxManagerInbound.connect(FaxManagerInbou
nd.java:166)
at
au.com.noojee.asterfax.inbound.FaxManagerInbound.<init>(FaxManagerInboun
d.java:85)
at
au.com.noojee.asterfax.inbound.FaxManagerInbound.getInstance(FaxManagerI
nbound.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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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 <http://www.mailscanner.info/> , and is
believed to be clean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060814/968c2f7b/attachment.htm
More information about the asterisk-users
mailing list