AsterFax the Email to Fax Gateway for Asterisk.
---------------   We have moved -----------------


AsterFax and Asterisk IT have both been renamed.

Asterfax is now known as Noojee Fax

Asterisk IT is now known as Noojee Telephony Solutions.

Noojee Fax documentation and support can now be obtained via:
http://www.noojee.com.au/Page/NoojeeFax
https://wiki.noojee.com.au/Noojee_Fax
http://forums.noojee.com.au

---------------   We have moved -----------------

Asterisk IT is the primary developer and sponsor of AsterFax the Open Source Email to Fax Gateway for Asterisk.
Asterisk I.T. offer a range of support options for AsterFax as well as general Asterisk consulting services.  Contact sales@asteriskit.com.au for more information.
You can also receive support from the Asterfax and Asterisk communities by by posting at the relevant forum.
Asterisk
trixbox

AsterFax - Asterisk Fax

SourceForge.net Logo

AsterFax/OpenOffice configuration


AsterFax used OpenOffice to convert a number of popular file formats such as MS-Word into PDF files.
If you plan on sending faxes from MS-Word, MS-Excel or OpenOffice its self then you need to install OpenOffice on your AsterFax server.

For a complete list of file formats which require OpenOffice to be installed look here.
If you have installed OpenOffice you will now need to configure AsterFax to utilise it. AsterFax uses an OpenOffice Basic macro to perform file conversion. The required macros live in bin/AsterFax.xba from the AsterFax install but it must be installed into OpenOffice in order to work.

If you look in the 'bin' directory under where you installed AsterFax (usually /usr/lib/asterfax) you will find two files ooconvert.sh and AsterFax.xba.
Start by changing the mode of ooconvert.sh so that it is executable by running the command ' chmod a+x ooconvert.sh'.
For OpenOffice 1.x
Note: I have yet to test the following with OpenOffice 2.0 under *nix but under windows the changes are identical except for the root directory.

Next determine the location of the OpenOffice lib directory. This is usually /usr/lib/ooo-1.1

Find the directory /usr/lib/ooo-1.1/share/basic/Tools
Copy the file AsterFax.xba into the Tools directory

edit the scripts.xlb from the same directory and you should see a file with contents as follows:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="Tools" library:readonly="false" library:passwordprotected="false">
 <library:element library:name="ModuleControls"/>
 <library:element library:name="Strings"/>
 <library:element library:name="Misc"/>
 <library:element library:name="UCB"/>
 <library:element library:name="Listbox"/>
 <library:element library:name="Debug"/>
</library:library>

Add the following line just before the closing </library:library> element.

<library:element library:name="AsterFax"/>

after which your scripts.xlb should look like:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="Tools" library:readonly="false" library:passwordprotected="false">
 <library:element library:name="ModuleControls"/>
 <library:element library:name="Strings"/>
 <library:element library:name="Misc"/>
 <library:element library:name="UCB"/>
 <library:element library:name="Listbox"/>
 <library:element library:name="Debug"/>
<library:element library:name="AsterFax"/>
</library:library>


If OpenOffice is currently running then you must restart it for the changes to take affect.
Note: OpenOffice often runs a background process (the Quick Starter) which must also be restarted.
Hint: use 'ps -A' to find the process and 'kill <pid>' to shut it down.  But be careful!!!!
If you are uncertain how to do this then it may be simpler just to reboot the server.


If you are having problems with the OpenOffice converters you can turn on debugging by setting the following two values from False to True:
<AsterFax><Settings><Debug><Enabled>False</Enabled>
<AsterFax><Settings><Debug><Converter>False</Converter>
When enabled OpenOffice will write debug information to:
/usr/lib/asterfax/logs/ooconvert.log

This path is currently hard coded if you need to change it you can edit the AsterFax.xba file.



Home
Downloads
Support
Licensing
News
FAQ
RoadMap
AsterFax UserGuide
Configuring Email Clients
Supported File Formats
Installing AsterFax
Configuring AsterFax
Testing AsterFax
Trouble Shooting AsterFax
Running AsterFax
Configuring SendMail
Configuring GhostScript
Configuring OpenOffice
SpanDSP
Add your own File format
Web2Fax

AsterFax is Sponsored by Asterisk I.T.
©2006  Asterisk I.T. all rights reserved. Some parts of this site may be the copyright of other authors. If you want to copy parts of this page you may do so provided you have gained permission from Asterisk I.T. first. Email asterfax@asteriskit.com.au
AsterFax™ is a trade mark of Asterisk I.T..
I'm not a great believer in Trade Marking Open Source software but unfortunately someone has been running a scam to redirect traffic to a bogus AsterFax web site. As such I've trade marked AsterFax's name to provide protection from such people.