Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: cbacani on January 29, 2007, 09:30:12 PM
-
Thank you everybody for all of you help and this install had made a LOT of progress. Below are the findings of all of the people that have suggested. Please note that the next phase (adding clients) - email to fax would seem to be the next issue.
1. How do you add users the correct way? (see below)
2. How do you change Hylafax to allow e-mail to fax?
1/25/07
Given the problems a few people seem to be having with the current Hylafax howto - I have done the following based on a new server I have built.
Download the most current version from here and place the file in the /usr/sbin folder.
Install via the following command and it will install all of the required packages for you.
# yum --enablerepo=base --enablerepo=updates localinstall hylafax-4.3.1-1rhel4.i386.rpm (as of 1/25/07)
Make sure that your modem is plugged into the serial port and turned on.
After the install, the system will ask you to reboot. Before you reboot the system, run the /usr/sbin/faxsetup command and answer the questions as required.
NOTE: When I answered the questions, I accepted the defaults on most everything except the area code and telephone number of the fax line.
Take note of your modem tty and substitute within the inittab template to suit your setup. My modem is on ttyS0. (The first serial port is ttyS0 and the second is ttyS1) Internal Modems most likely will not work.
Issue the commands:
signal-event post-upgrade
signal-event reboot
Run the following commands. Watch out for line wrapping.
Commands:
# mkdir -p /etc/e-smith/templates-custom/etc/inittab
# cd /etc/e-smith/templates-custom/etc/inittab
# echo 'fax:23457:respawn:/usr/sbin/faxgetty ttyS0' >> 85hylafax
# /sbin/e-smith/expand-template /etc/inittab
# ln -s /etc/rc.d/init.d/hylafax /etc/rc.d/rc7.d/S95hylafax
Reboot and you should be okay.
++++++++++++++++++++++++++++++++++++++++++
The above was tested on SME 7.1 as of 1/25/07 and seems to be working.
Now for the great unknown!
You will need to add a user to the system so your client software
will see you and let you use the fax server.
Use Putty to gain command line access (or what-ever you use) and from the command line, issue the following command ( enter your name and password instead of the X's)
useradd -u 100 XXXXXXX -p xxxxxxxxxx
or are you supposed to use;
faxadduser -a XXXXXXX -p XXXXXXXXXX -u 190 XXXXXXXX
Do we need to revise any scripts to alert the email program that .fax goes somewhere else?
I wish someone would (besides me ) write out what they did to make this fax program work. The server side is one thing but the client is YET another.
This is as far as I got!
If anyone wishes to add to this, please add away. I would like to hear from people that have install a client and what they did to do it.
Carl
-
Ok, I think I can you help, since I developed a Hylafax client.
Download the Client Software from:
http://www.hylafax-client.de
Login on your SME Server with putty and make a new faxuser:
faxadduser -p password username
Password is your Password and Username is your Username :wink:
Now install the HylaFAX-Client and restart the Windows Computer.
After this, you start the HylaFAX-Client and insert your Values:
Server IP: Your SME Server IP
Port: 4559
Username: Your Username
Passord: Your Password
That's it! :D
Now you can send faxes from all your windows application with a HylaFAX printer.
yythoss
-
I have it installed in 03 different locations and work without problems for me in every instance:
#!/bin/sh
wget -c ftp://ftp.hylafax.org/binary/linux/redhat/RPMS/i386/hylafax-4.2.5-1rhel4.i386.rpm
yum -y localinstall hylafax*
mv /etc/cron.daily/hylafax /etc/cron.weekly/
faxsetup
mkdir -p /etc/e-smith/templates-custom/etc/inittab
echo "fax:23457:respawn:/usr/sbin/faxgetty ttyS0" > /etc/e-smith/templates-custom/etc/inittab/S85hylafax
/sbin/e-smith/expand-template /etc/inittab
/sbin/init q
ln -s /etc/rc.d/init.d/hylafax /etc/rc.d/rc7.d/S92hylafax
echo "FILETYPE=pdf;
SENDTO=FaxMaster;" > /etc/hylafax/etc/FaxDispatch
echo "RETURNFILETYPE=pdf;" > /etc/hylafax/etc/FaxNotify
create user or group faxmaster
-
I have it installed in 03 different locations and work without problems for me in every instance:
#!/bin/sh
wget -c ftp://ftp.hylafax.org/binary/linux/redhat/RPMS/i386/hylafax-4.2.5-1rhel4.i386.rpm
yum -y localinstall hylafax*
mv /etc/cron.daily/hylafax /etc/cron.weekly/
faxsetup
mkdir -p /etc/e-smith/templates-custom/etc/inittab
echo "fax:23457:respawn:/usr/sbin/faxgetty ttyS0" > /etc/e-smith/templates-custom/etc/inittab/S85hylafax
/sbin/e-smith/expand-template /etc/inittab
/sbin/init q
ln -s /etc/rc.d/init.d/hylafax /etc/rc.d/rc7.d/S92hylafax
echo "FILETYPE=pdf;
SENDTO=FaxMaster;" > /etc/hylafax/etc/FaxDispatch
echo "RETURNFILETYPE=pdf;" > /etc/hylafax/etc/FaxNotify
create user or group faxmaster
First, let me say thanks to the both of you.
Next issue, anybody get the email to fax to work? I tried 4 different way to do this and it failed everytime.
Any ideas?
Carl
-
humm, that's different! You're trying the opposite to work?
I'm not sure how'd that be.
In fact I just downloaded and tried the client yythoss recommended and that works better that the WHCF I was using.
-
I have make a Test with this:
http://www.vangee.nl/sme/hylafax/
and that is OK. You can send faxes with your email programm:
Name@123456.fax
That's all.
yythoss
-
I have make a Test with this:
http://www.vangee.nl/sme/hylafax/
and that is OK. You can send faxes with your email programm:
Name@123456.fax
That's all.
yythoss
Hi,
The link for the install instructions is broken but I did manage to get the server to receive a fax and send it to my email in .pdf format.
The server will not send a fax but it will send me an email instead.
Any ideas as to what Iam doing wrong?
Thanks in advance.
Carl
-
All,
Forgot the instructions on the mailfax script, after that the system responded very well. I will do a clean install tomorrow and see what I get.
Thanks to ALL and I mean all of ya! You are the best!
Carl
-
The most problems of the HylaFAX Server is the modem config.
In the directory /var/spool/hylafax/config you can find a lot of samples.
I test the link above one more time, it is OK
yythoss
-
yythoss,
When viewing faxes I get permission denied from your application. I have created a group and my user is part of that group: faxmaster.
any ideas?
Thanks,
-
Change your permission in the /recvq directory of all tif files to 0644 or 0666.
Now you must change the permisson for the future in the config.MODEM file to
RecvFileMode: 0666
LogFileMode: 0666
DeviceMode: 0666
Change MODEM with you device Name ttyS0 for COM1 and ttyS1 for COM2.
yythoss
-
Thank you much, that did it!
-
All,
Forgot the instructions on the mailfax script, after that the system responded very well. I will do a clean install tomorrow and see what I get.
Thanks to ALL and I mean all of ya! You are the best!
Carl
I tested this 3 times with a clean install.
Hylafax on the SME Server 1/29/07
These instructions will install Hylfax on the SME Server version 7.1 as of 1/29/07.
The system will send a fax and e-mail the faxuser.
Download the most current version from here and place the file in the /usr/sbin folder.
# cd /usr/sbin
# wget ftp://ftp.hylafax.org/binary/linux/redhat/RPMS/i386/hylafax-4.3.1-1rhel4.i386.rpm
Install via the following command and it will install all of the required packages for you.
# yum --enablerepo=base --enablerepo=updates localinstall hylafax-4.3.1-1rhel4.i386.rpm
Make sure that your modem is plugged into the serial port and turned on.
After the install, the system will ask you to reboot the system, then run the
# /usr/sbin/faxsetup command and answer the questions as required.
NOTE: When I answered the questions, I accepted the defaults on most everything except
the area code and telephone number of the fax line.
Take note of your modems tty and substitute within the inittab template to suit your setup. My modem is on ttyS0. (The first serial port is ttyS0 and the second is ttyS1) Internal Modems most likely will not work.
Run the following commands. Watch out for line wrapping.
# mkdir -p /etc/e-smith/templates-custom/etc/inittab
# cd /etc/e-smith/templates-custom/etc/inittab
# echo 'fax:23457:respawn:/usr/sbin/faxgetty ttyS0' >> 85hylafax
# /sbin/e-smith/expand-template /etc/inittab
# ln -s /etc/rc.d/init.d/hylafax /etc/rc.d/rc7.d/S95hylafax
# signal-event post-upgrade; signal-event reboot
Setting up SME-Server using the server manager
Open your server-manager.
Create a new user account using the following data:
Account Name: faxuser
First Name: fax
Last Name: fax
E-Mail Delivery: Deliver e-mail locally
Forwarding Address: Leave Blank
Reset Password <9Gh08pV5O;
Create a new virtual domain:
Domain Name: fax
Brief Description: fax
Content: Primary Web Site
Domain DNS Servers Resolve Locally
*************************************************************
Changing SME-Server configuration
Next step is to redirect all mail for the domain .fax to the user faxuser.
We can do this by creating a custom template file in the appropriate folder.
Create the folder (if it doesn’t already exist).
# mkdir -p /etc/e-smith/templates-custom/var/qmail/control/virtualdomains
Create the custom template file.
# pico /etc/e-smith/templates-custom/var/qmail/control/virtualdomains/95faxmail
In this 95faxmail file we will enter the virtual domain, and connect it to the faxuser.
The only line in this file will look like this:
.fax:faxuser
Redirect mail for faxuser to mailfax script.
We will create a new file that tells qmail to pipe all mail to the (to be created) mailfax script.
In the users home directory /home/e-smith/files/users/faxuser. We create and edit the file
named .qmail-default:
# pico /home/e-smith/files/users/faxuser/.qmail-default
Containing only one line
| /etc/hylafax/etc/mailfax
Set the ownership and rights on .qmail-default to the user only:
# chown faxuser:faxuser /home/e-smith/files/users/faxuser/.qmail-default
# chmod 644 /home/e-smith/files/users/faxuser/.qmail-default
Restart the qmail Server.
First we'll have to rebuild the configuration files. Then we can restart qmail.
Rebuild the SME-Server configuration files by executing:
# /sbin/e-smith/signal-event console-save
This can take awhile, after that we restart qmail:
# service qmail restart
Creating the mailfax script
# pico /etc/hylafax/etc/mailfax
This file must contain:
#!/bin/sh
#
# mailfax - email to fax gateway for qmail.
#
# Original file from HylaFAX, updated for e-smith server.
#----------------------------------------------------------
# 4 more information see: http://www.vangee.nl/sme/hylafax
#
# 1.) Install HylaFAX
# 2.) In server-manager add a virtual domain named: fax
# 3.) In server-manager add a user named: faxuser
# 4.) Install this file as: /etc/hylafax/etc/mailfax
# 5.) Add the following file to your system:
# /etc/e-smith/templates-custom/var/qmail/control/virtualdomains/90aliases
# 6.) Put this line in the file:
# .fax:faxuser
# 7.) Add the following file to your system:
# /home/e-smith/files/users/faxuser/.qmail-default
# 8.) Put this line in the file:
# | /etc/hylafax/etc/mailfax
# 9.) Execute: /sbin/e-smith/signal-event console-save
# 10) Execute: service qmail restart
TMPVAR=${SENDER//\`/}
TMPVAR=${TMPVAR//\$\(/}
SENDER=${TMPVAR//\)/}
/usr/bin/faxmail -f Helvetica-Bold | /usr/bin/sendfax \
-f "$SENDER" \
-n -d "$EXT2@`/usr/bin/expr \"$HOST\" : '\(.*\)\.fax$'`"
Change the ownership and rights for the mailfax script:
# chown root:root /etc/hylafax/etc/mailfax
# chmod 755 /etc/hylafax/etc/mailfax
Add the following file to your system:
Receiving faxes by e-mail
We can also route all incoming faxes to the faxuser's e-mail box. To do this we must create a new
HylaFAX configuration file. It is possible to receive the incoming faxes in one of three formats. (.ps .pdf or .tif)
# pico /var/spool/hylafax/etc/FaxDispatch
This file must contain:
FILETYPE=pdf;
SENDTO=faxuser;
Substitute tif or ps for pdf as you desire.
+++++++++++++++++++++++++++++++++++++++++++++++
Hylafax e-mail to Fax Gateway
One of the main uses for Hylafax is as an e-mail to fax gateway. This gateway unifies a users
communications, so that faxing is as simple as using an e-mail client. The user can e-mail
john@08812345678.fax and know that the message typed, and any attachment will be faxed via Hylafax.
To setup an e-mail to fax gateway using hylafax, a few simple scripts are needed to convert attachments into postscript so that hylafax can then use them. You can send e-mails with pdf attachments, postscript attachments or tiff attachments. By default, hylafax will not decode any attachments, so you need to edit
Run the following commands.
# pico /etc/hylafax/hyla.conf
# This line tells hylafax(faxmail) to decode attachments using scripts
# located here.
MIMEConverters: /var/spool/hylafax/mimetype
#
Create the mimetype directory, then inside that, a directory for the attachment mime type, eg application or image, then create a script inside that. The script is passed $1 as the decoded attachments filename, and hylafax expects postscript on standard out. The tree looks like this
# cd /var/spool/hylafax
# mkdir /var/spool/hylafax/mimetype
# mkdir /var/spool/hylafax/mimetype/application pdf file goes here ps file goes here
# mkdir /var/spool/hylafax/mimetype/image tiff file goes here
+++++++++++++++++++++++++++++++++++++++++++++++
For PDF attachments:
cd /var/spool/hylafax/mimetype/application
pico pdf
Insert this code below in the pdf file;
#!/bin/sh
#/application/pdf
# convert PDF attachment to Postscript for Hylafax to send
pdf2ps $1 –
Save the file.
# chmod +x pdf
For PS attachments:
pico ps
Insert this code below in the ps file;
#!/bin/sh
#/application/ps
# convert PS attachment to Postscript for Hylafax to send
echo $1
Save the file.
# chmod +x ps
For TIF attachments:
cd /var/spool/hylafax/mimetype/image/
pico tif
Insert this code below in the tif file;
#!/bin/sh
#/image/tif
# convert TIF attachment to Postscript for Hylafax to send
/usr/bin/tiff2ps $1
Save the file.
# chmod +x tif
(make sure to chmod +x them to make them executable).
# signal-event post-upgrade; signal-event reboot
Testing
Send an e-mail from your favorite mailing software to the SME-Server. This means that the smtp server in your e-mail software must be set to the SME-Server. Because the e-mail address we are going to be using will only be known by our server. Then we will send an e-mail with the following recepeint: Name@FaxNumber.fax
e.g: John_Smith@5555551212.fax
+ The name can be any name.
+ The fax number is going to be used for faxing the document.
+ Mail can only be send as a plain text e-mail.
+ Mail can have a postscript attachment, this attachment will also be faxed. (filename.ps)
So don't expect your html formatted e-mails to be faxed! Sorry!
-
Thanks very much for putting this together!
Works for me.
G
-
Hi,
Getting the following error on 3x servers.
Warning: /usr/share/ghostscript/fonts does not exist or is not a directory!
The directory /usr/share/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
FATAL ERROR: No tiffg3 driver in /usr/bin/gs.
HylaFAX has been configured to use Ghostscript as the PostScript
imaging program but the output of /usr/bin/gs -h does not
list the tiffg3 driver as a configured driver (see below).
----------------------------------------------------------
% /usr/bin/gs -h
/usr/bin/gs: error while loading shared libraries: libgs.so.7: cannot open shared object file: No such file or directory
/usr/sbin/faxsetup: line 1334: ----------------------------------------------------------: command not found
The tiffg3 driver is required for HylaFAX to operate correctly.
Consult the documentation for information on building Ghostscript
with the necessary TIFF driver and then rerun faxsetup when a new
Ghostscript has been installed.
Was working on servers before, killed by upgrade.
Chris
-
After all the work that we all did, the upgrade broke the install and now nothing works.
Anybody out there willing to see if they can fix this? I do not have the skills to trouble shoot this complex of an issue.
Carl
P.S. The install olny lasted 2 weeks, oh well.
-
/home/e-smith/files/users/faxuser/.qmail-default
is usually a symlink, did it survive the reconfig, can't see why it would
-
Over the weekend I will attempt to re-install the Hylafax yet again and see what breaks. Anybody willing to try this with me?
Have a great weekend all.
Carl
-
yes,
add comments here
http://smeserver.sourceforge.net/howto/HylaFax
this is mostly a cut and past with no checking done so far
-
your howto is saying to edit files in /etc that belong to the hylafax rpm
they will be overwritten on an ungrade
you need to make templates and they need to be expanded after an upgrade
-
Could you tell us how to expand templates and I will rewrite the how to?
Carl
-
see the developers guide in the SME Server Manual
link at top of page
but I've rolled all your steps into a rpm that should survive upgrades
I'd appreciate testing
you can d/l it from the bugtracker soon
-
http://bugs.contribs.org/show_bug.cgi?id=2457
for testing,
I don't have the resources to test over the w/e
-
I have a rebuilt server us and ready for testing.
Carl
-
excellent,
second rpm is available, which is sending faxes from an email
-
Where can I find a suitable ghostscript >= 5.5 rpm?
Installing smeserver-hylafax and it demands hylafax, that demands ghostscript.
Can you help me ???
Thanks,
Pedro
-
Were we supposed to run YUM to resolve this issue? What would be the proper order to install?
-
yes,
it finds the dependencies automatically
see the instructions in the howto, see link above
I installed hylaxfax first, but you can try
yum localinstall smeserver-hylax hylafax
note the problems mentioned in the bugtracker, see link above
any other problems to the bugtracker
-
yes,
it finds the dependencies automatically
see the instructions in the howto, see link above
I installed hylaxfax first, but you can try
yum localinstall smeserver-hylax hylafax
note the problems mentioned in the bugtracker, see link above
any other problems to the bugtracker
I tried to install smeserver-hylafax-0.9-2.noarch
and got
error: Failed dependencies:
hylafax >= 4.3 is needed by smeserver-hylafax-0.9-2.noarch
If I install hylafax first, I get the error that one of the files is trying to overwrite a file that is already on the drive.
Please explain how this rpm is supposed to work please.
Carl
-
[root@cib hylacb]# yum --enablerepo=base --enablerepo=updates localinstall smeserver-hylafax-0.9-2.noarch.rpm
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Local Package Process
Examining smeserver-hylafax-0.9-2.noarch.rpm: smeserver-hylafax - 0.9-2.noarch
Marking smeserver-hylafax-0.9-2.noarch.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-hylafax.noarch 0:0.9-2 set to be updated
--> Running transaction check
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
--> Processing Dependency: hylafax >= 4.3 for package: smeserver-hylafax
--> Finished Dependency Resolution
Error: Missing Dependency: hylafax >= 4.3 is needed by package smeserver-hylafax
================================================================
No new rpms were installed. No additional commands are required.
================================================================
-
any other problems to the bugtracker
-
I have a website that is on the same server as hylafax (SME 7.1)
The website has a form on it that needs to be faxed when it is completed.
How do I do this?
I thought it could be done by taking the form information and having
the form mailer simply send it to the test@5551212.fax address but this
does not work.
Any Ideas?
Carl
-
hylafax.org are the experts
then add solutions to the howto
-
hylafax.org are the experts
then add solutions to the howto
They have no idea how the SME server works, how about that! Anybody have an idea on how to send a email from a web page using the faxsender account? I have tried it and I got the email but it failed to send a fax. The guys over at Hylafax said I should ask here!
Carl
-
how smeserver works is irrelevant
hylafax and faxsender is setup as per the hylafax documentation
but as the bug says there may be problems with how it is implemented
-
how smeserver works is irrelevant
hylafax and faxsender is setup as per the hylafax documentation
but as the bug says there may be problems with how it is implemented
Steve, you sound a little angry - are you? I don't mean to offend but all I need to know is what would be an idea as to how to do this that's all. If Iam offending someone please let me know. I thought we share ideas here not terse answers. God forgive me if I have offened you or anyone else. Cheer up.
Your Friend Carl
-
Sorry Carl
The answers were just brief, nothing more was intended
But answering forum questions feels like the least productive use of my time so perhaps it would be better if I didn't
-
SME is based on Centos 4, which is based on RedHat Enterprise Release 4. So ask on the hylafax forum how to make it work on Centos, then we can work to adapt it to SME 7.
John
-
Sorry Carl
The answers were just brief, nothing more was intended
But answering forum questions feels like the least productive use of my time so perhaps it would be better if I didn't
Hey - you are needed here. How do you expect me to become 'smart' about the SME server if you think it is a waste of time.? You have made my day helping me to feel like I have helped make the Hylafax project worth while. You put the rpm together I did a lot of the leg work with the scripts and all, Stephen, I thank you for all you have taught me and I will remember. We (together) brought this project together and I for one thnak you. God Bless
Carl
P.S. No it isn't a waste of time, you have helped to open my eyes.
-
SME is based on Centos 4, which is based on RedHat Enterprise Release 4. So ask on the hylafax forum how to make it work on Centos, then we can work to adapt it to SME 7.
John
Thanks John for helping. The real question was 'how do you send a email from an ibay to the fax software to have it (the server) send a fax? ie:
i have web form on the primary site, I want to send the form information to the fax software and have Hylafax send it.
I have tried a form email program and it doesn't seem to use the proper account to send the email - just uses a generic send.
My mind is shorting out and for the life of me cannot figure it out. I can get it to send the email but the fax part doesn't work.
Carl
-
SME is based on Centos 4, which is based on RedHat Enterprise Release 4. So ask on the hylafax forum how to make it work on Centos, then we can work to adapt it to SME 7.
John
Thanks John for helping. The real question was 'how do you send a email from an ibay to the fax software to have it (the server) send a fax? ie:
i have web form on the primary site, I want to send the form information to the fax software and have Hylafax send it.
I have tried a form email program and it doesn't seem to use the proper account to send the email - just uses a generic send.
My mind is shorting out and for the life of me cannot figure it out. I can get it to send the email but the fax part doesn't work.
Carl
OK, then I can't add any more to this. I haven't downloaded and used the latest RPM for this, I was just trying to follow this and the bug tracker info. I still don't know why two users are needed , but will probably find the answer once I actually download and begin to try to use hylafax. I would have that you could send it to test@5551212.fax as you already stated. Is there a log file that could be checked to see if there are any errors when you send via your webform?
-
faxmaster is used because it easier not to have to change the existing references for who the incoming fax is to go to, you could just send to admin or any user
faxsender has a modified .qmail,
it can't receive ordinary mail, it instead pipes it to hylafax
if there is a better way to do this feel free to suggest it on the bug
-
faxmaster is used because it easier not to have to change the existing references for who the incoming fax is to go to, you could just send to admin or any user
faxsender has a modified .qmail,
it can't receive ordinary mail, it instead pipes it to hylafax
if there is a better way to do this feel free to suggest it on the bug
How could I send an email from a web page using the faxsender account?
Any ideas?
Carl
-
an email using the .fax domain uses the faxsender account automatically
if your using test@5551212.fax and it doesn't work i have no other ideas
-
But answering forum questions feels like the least productive use of my time so perhaps it would be better if I didn't
Your products are cool, but your answer are also very important to us. Don't stop just don't...... Short and presice answers are also being productive.
Thanks
Per
-
an email using the .fax domain uses the faxsender account automatically
if your using test@5551212.fax and it doesn't work i have no other ideas
Could this be an issue that SME server sees an email being sent from a web page as a 'outside' attempt to by-pass security? Would you have to log in with name and password to send from a specific account?
Maybe Iam going about this the wrong way. How else could you send form information to Hylafax and have Hylafax fax it?
Lost
-
All,
Forgot the instructions on the mailfax script, after that the system responded very well. I will do a clean install tomorrow and see what I get.
Thanks to ALL and I mean all of ya! You are the best!
Carl
I tested this 3 times with a clean install.
Hylafax on the SME Server 1/29/07
These instructions will install Hylfax on the SME Server version 7.1 as of 1/29/07.
The system will send a fax and e-mail the faxuser.
Download the most current version from here and place the file in the /usr/sbin folder.
# cd /usr/sbin
# wget ftp://ftp.hylafax.org/binary/linux/redhat/RPMS/i386/hylafax-4.3.1-1rhel4.i386.rpm
Install via the following command and it will install all of the required packages for you.
# yum --enablerepo=base --enablerepo=updates localinstall hylafax-4.3.1-1rhel4.i386.rpm
Make sure that your modem is plugged into the serial port and turned on.
After the install, the system will ask you to reboot the system, then run the
# /usr/sbin/faxsetup command and answer the questions as required.
NOTE: When I answered the questions, I accepted the defaults on most everything except
the area code and telephone number of the fax line.
Take note of your modems tty and substitute within the inittab template to suit your setup. My modem is on ttyS0. (The first serial port is ttyS0 and the second is ttyS1) Internal Modems most likely will not work.
Run the following commands. Watch out for line wrapping.
# mkdir -p /etc/e-smith/templates-custom/etc/inittab
# cd /etc/e-smith/templates-custom/etc/inittab
# echo 'fax:23457:respawn:/usr/sbin/faxgetty ttyS0' >> 85hylafax
# /sbin/e-smith/expand-template /etc/inittab
# ln -s /etc/rc.d/init.d/hylafax /etc/rc.d/rc7.d/S95hylafax
# signal-event post-upgrade; signal-event reboot
Setting up SME-Server using the server manager
Open your server-manager.
Create a new user account using the following data:
Account Name: faxuser
First Name: fax
Last Name: fax
E-Mail Delivery: Deliver e-mail locally
Forwarding Address: Leave Blank
Reset Password <9Gh08pV5O;
Create a new virtual domain:
Domain Name: fax
Brief Description: fax
Content: Primary Web Site
Domain DNS Servers Resolve Locally
*************************************************************
Changing SME-Server configuration
Next step is to redirect all mail for the domain .fax to the user faxuser.
We can do this by creating a custom template file in the appropriate folder.
Create the folder (if it doesn’t already exist).
# mkdir -p /etc/e-smith/templates-custom/var/qmail/control/virtualdomains
Create the custom template file.
# pico /etc/e-smith/templates-custom/var/qmail/control/virtualdomains/95faxmail
In this 95faxmail file we will enter the virtual domain, and connect it to the faxuser.
The only line in this file will look like this:
.fax:faxuser
Redirect mail for faxuser to mailfax script.
We will create a new file that tells qmail to pipe all mail to the (to be created) mailfax script.
In the users home directory /home/e-smith/files/users/faxuser. We create and edit the file
named .qmail-default:
# pico /home/e-smith/files/users/faxuser/.qmail-default
Containing only one line
| /etc/hylafax/etc/mailfax
Set the ownership and rights on .qmail-default to the user only:
# chown faxuser:faxuser /home/e-smith/files/users/faxuser/.qmail-default
# chmod 644 /home/e-smith/files/users/faxuser/.qmail-default
Restart the qmail Server.
First we'll have to rebuild the configuration files. Then we can restart qmail.
Rebuild the SME-Server configuration files by executing:
# /sbin/e-smith/signal-event console-save
This can take awhile, after that we restart qmail:
# service qmail restart
Creating the mailfax script
# pico /etc/hylafax/etc/mailfax
This file must contain:
#!/bin/sh
#
# mailfax - email to fax gateway for qmail.
#
# Original file from HylaFAX, updated for e-smith server.
#----------------------------------------------------------
# 4 more information see: http://www.vangee.nl/sme/hylafax
#
# 1.) Install HylaFAX
# 2.) In server-manager add a virtual domain named: fax
# 3.) In server-manager add a user named: faxuser
# 4.) Install this file as: /etc/hylafax/etc/mailfax
# 5.) Add the following file to your system:
# /etc/e-smith/templates-custom/var/qmail/control/virtualdomains/90aliases
# 6.) Put this line in the file:
# .fax:faxuser
# 7.) Add the following file to your system:
# /home/e-smith/files/users/faxuser/.qmail-default
# 8.) Put this line in the file:
# | /etc/hylafax/etc/mailfax
# 9.) Execute: /sbin/e-smith/signal-event console-save
# 10) Execute: service qmail restart
TMPVAR=${SENDER//\`/}
TMPVAR=${TMPVAR//\$\(/}
SENDER=${TMPVAR//\)/}
/usr/bin/faxmail -f Helvetica-Bold | /usr/bin/sendfax \
-f "$SENDER" \
-n -d "$EXT2@`/usr/bin/expr \"$HOST\" : '\(.*\)\.fax$'`"
Change the ownership and rights for the mailfax script:
# chown root:root /etc/hylafax/etc/mailfax
# chmod 755 /etc/hylafax/etc/mailfax
Add the following file to your system:
Receiving faxes by e-mail
We can also route all incoming faxes to the faxuser's e-mail box. To do this we must create a new
HylaFAX configuration file. It is possible to receive the incoming faxes in one of three formats. (.ps .pdf or .tif)
# pico /var/spool/hylafax/etc/FaxDispatch
This file must contain:
FILETYPE=pdf;
SENDTO=faxuser;
Substitute tif or ps for pdf as you desire.
+++++++++++++++++++++++++++++++++++++++++++++++
Hylafax e-mail to Fax Gateway
One of the main uses for Hylafax is as an e-mail to fax gateway. This gateway unifies a users
communications, so that faxing is as simple as using an e-mail client. The user can e-mail
john@08812345678.fax and know that the message typed, and any attachment will be faxed via Hylafax.
To setup an e-mail to fax gateway using hylafax, a few simple scripts are needed to convert attachments into postscript so that hylafax can then use them. You can send e-mails with pdf attachments, postscript attachments or tiff attachments. By default, hylafax will not decode any attachments, so you need to edit
Run the following commands.
# pico /etc/hylafax/hyla.conf
# This line tells hylafax(faxmail) to decode attachments using scripts
# located here.
MIMEConverters: /var/spool/hylafax/mimetype
#
Create the mimetype directory, then inside that, a directory for the attachment mime type, eg application or image, then create a script inside that. The script is passed $1 as the decoded attachments filename, and hylafax expects postscript on standard out. The tree looks like this
# cd /var/spool/hylafax
# mkdir /var/spool/hylafax/mimetype
# mkdir /var/spool/hylafax/mimetype/application pdf file goes here ps file goes here
# mkdir /var/spool/hylafax/mimetype/image tiff file goes here
+++++++++++++++++++++++++++++++++++++++++++++++
For PDF attachments:
cd /var/spool/hylafax/mimetype/application
pico pdf
Insert this code below in the pdf file;
#!/bin/sh
#/application/pdf
# convert PDF attachment to Postscript for Hylafax to send
pdf2ps $1 –
Save the file.
# chmod +x pdf
For PS attachments:
pico ps
Insert this code below in the ps file;
#!/bin/sh
#/application/ps
# convert PS attachment to Postscript for Hylafax to send
echo $1
Save the file.
# chmod +x ps
For TIF attachments:
cd /var/spool/hylafax/mimetype/image/
pico tif
Insert this code below in the tif file;
#!/bin/sh
#/image/tif
# convert TIF attachment to Postscript for Hylafax to send
/usr/bin/tiff2ps $1
Save the file.
# chmod +x tif
(make sure to chmod +x them to make them executable).
# signal-event post-upgrade; signal-event reboot
Testing
Send an e-mail from your favorite mailing software to the SME-Server. This means that the smtp server in your e-mail software must be set to the SME-Server. Because the e-mail address we are going to be using will only be known by our server. Then we will send an e-mail with the following recepeint: Name@FaxNumber.fax
e.g: John_Smith@5555551212.fax
+ The name can be any name.
+ The fax number is going to be used for faxing the document.
+ Mail can only be send as a plain text e-mail.
+ Mail can have a postscript attachment, this attachment will also be faxed. (filename.ps)
So don't expect your html formatted e-mails to be faxed! Sorry!
-
Bonsoir,
could you pls be so kind to tell me what to do with @.qmail-default which is all ready existing when we create the user "faxuser"
Can we add the line:| /etc/hylafax/etc/mailfax to the others : "condredirect faxuser..." and how to save it. Or can we delete the file @.qmail-default without any problems.
Tks.
Goltuna
-
Has anyone been successful in integrating web based faxing application on 7.1 with hylafax..
http://www.mentalbarcode.com/avantfax.php
Thanks
Jon..
-
I have a website that is on the same server as hylafax (SME 7.1)
The website has a form on it that needs to be faxed when it is completed.
How do I do this?
I thought it could be done by taking the form information and having
the form mailer simply send it to the test@5551212.fax address but this
does not work.
Any Ideas?
Carl
I don't know anything, about this, but from what I'm reading it appears the hyla fax is not meant to send html, but ps,pdf, or tiff, if setup properly.
So having said that I must ask is the web form that you are trying to send in a html format ? I mean to say that currently when the form is created is the output that gets sent to you via email, sent in text only or in html etc. ?
If so then perhaps the form needs to convert to a hylafax capable format in order to send to the a hyla1234567@.fax etc. such as ps,pdf, or tiff.
But as I said I know nothing about this, but what I'm reading here
I hope this helps.
-
Has anyone been successful in integrating web based faxing application on 7.1 with hylafax..
http://www.mentalbarcode.com/avantfax.php
Thanks
Jon..
Hope this will shed a little light on this subject. No, hylafax will not SEND any HTML but it CAN receive graphics. I to am looking for a way to interface this to a web based interface but these install instructions might make the install a little bit easier.
See below for the new install instrucions. Carl
P.S. Thanks Stephan
Hylafax on the SME Server for version 7.0 + 7.1.1 + 7.1.2
Dated March 13, 2007
1. Install
1.1. Install Hylafax
Download the latest rpm from
http://www.hylafax.org/content/Red_Hat_Packages
Install with the following command and it will install all of the required packages for you.
yum localinstall hylafax*
1.2. Configure modem
Make sure that your modem is plugged into the serial port and turned on.
/usr/sbin/faxsetup
Answer the questions as required.
Accept the defaults on most everything except
the county & area code and telephone number of the fax line.
Take note of your modems tty
(The first serial port is ttyS0 and the second is ttyS1)
Note. The inittab template assumes you are using ttyS0.
Internal Modems most likely will not work.
1.3. Install smeserver-hylafax
smeserver-hylafax configures SME Server to suit hylafax rpm available here, please add comments, success or failure, new fragments/features
http://bugs.contribs.org/show_bug.cgi?id=2457
yum localinstall smeserver-hylafax*
signal-event post-upgrade; signal-event reboot
a new user, 'faxmaster' is created, optionally, forward the mail for faxmaster to suit, to a user or group a domain 'fax' and a user 'faxsender' is created to enable the email to fax gateway as well as other support scripts and changes
2. Usage
2.1. Receiving faxes by e-mail
All incoming faxes go to the faxmaster's e-mail box, or forwarded as you have configured
2.2. Sending faxes by e-mail
One of the main uses for hylafax is as an e-mail to fax gateway. This gateway unifies a users communications, so that faxing is as simple as using an e-mail client. The user can email john@08812345678.fax and know that the message typed, and any attachment willbe faxed via Hylafax.
To setup an e-mail to fax gateway using hylafax, a few simple scripts are needed to convert attachments into postscript so that hylafax can then use them. By default you can send e-mails with pdf attachments, postscript attachments or tiff attachments.
Testing
Send an e-mail from your favorite mailing software to the SME-Server. This means that the smtp server in your e-mail software must be set to the SME-Server. Because the e-mail address we are going to be using will only be known by our server. Then we will send an e-mail with the following recepeint: Name@FaxNumber.fax
e.g: John_Smith@5555551212.fax
+ The name can be any name.
+ The fax number is going to be used for faxing the document.
+ Mail can only be send as a plain text e-mail.
+ Mail can have a postscript, pdf or tiff attachment, this attachment will also be faxed.
Don't expect your html formatted e-mails to be faxed! Sorry!
-
I am concerned I might break something, but I'll follow the instructions and try it.
I'm not sure which instructions to follow the first long instruction or the second ? updated instruction as of March 07
Just want to be sure I won't break something.
Thanks
-
Keep on getting the following error:
The tiffg3 driver is required for HylaFAX to operate correctly.
Consult the documentation for information on building Ghostscript
with the necessary TIFF driver and then rerun faxsetup when a new
Ghostscript has been installed
Tried the latest install.
What am I missing?
-
I am concerned I might break something, but I'll follow the instructions and try it.
I'm not sure which instructions to follow the first long instruction or the second ? updated instruction as of March 07
Just want to be sure I won't break something.
Thanks
Both work ( the lomg and the short ) but the second install is the one that I have used on 9 computers and it takes no time and is the recommended way to perform the install. Nothing is in stone but it is the latest and I think the correct way to do it. The latest install method keeps the settings when you reboot and thus causes no issues.
Carl
-
cbacani
I uninstalled the old version of hylafx I had working on here.
Followd your instructions on this instalation.
Everything installed ok ... setup went fine ... I also sent a few test faxes out with oulook.
One thing that does not work any longer is my Frog FaxMail.
I added a user and password and updated the details in Frog FaxMail but it doesn't seem to want to connect.
There must be something I have over looked .... can you let me know how you got the client working or what client you are using.
Regards,
Tib
-
cbacani
I uninstalled the old version of hylafx I had working on here.
Followd your instructions on this instalation.
Everything installed ok ... setup went fine ... I also sent a few test faxes out with oulook.
One thing that does not work any longer is my Frog FaxMail.
I added a user and password and updated the details in Frog FaxMail but it doesn't seem to want to connect.
There must be something I have over looked .... can you let me know how you got the client working or what client you are using.
Regards,
Tib
I am not using a client. But, I have read that people who do have to enter the name and password into the database on the server. Look at the old instructions and it says something like:
Login on your SME Server with putty and make a new faxuser:
faxadduser -p password username
Password is your Password and Username is your Username
Now install the HylaFAX-Client and restart the Windows Computer.
After this, you start the HylaFAX-Client and insert your Values:
Server IP: Your SME Server IP
Port: 4559
Username: Your Username
Passord: Your Password
That's it! I think. Please let me know if this works. Thanks
I just fax from the program that Iam using and away it goes. Carl
-
HylaFAX clients
Download Client Software from:
http://www.hylafax.org/content/Client_Software
http://www.frogfax.com/modules/spxnews/
http://www.hylafax-client.de
Login on your SME Server with ssh and make new faxusers:
faxadduser -p password username
faxadduser -p password2 username2
Install the HylaFAX Client, configure with these values:
Server IP: Your SME Server IP
Port: 4559
Username: above username
Passord: above password
[edit] Other Modifications
ports other than ttyS0, eg
config setprop hylafax port ttyS1
/sbin/e-smith/expand-template /etc/inittab
/sbin/init q
--------------------------------------------------------------------------------
Change permissions and other settings in the config.MODEM file
nano -w /etc/hylafax/etc/config.ttyS0
# make attachments readable
RecvFileMode: 0666
LogFileMode: 0666
DeviceMode: 0666
# for shared lines
RingsBeforeAnswer: 10
# change to suit
SpeakerVolume: on
LocalIdentifier: "Pagen Vegan Pty Ltd"
-
Hi everyone and thanks for your time!!!!
I have some problems with installing and getting started with hylafax on SMEserver 7.1.
1. wget ftp://chaloner.ca/hylafax-SME7.tar - ok
2. tar -xvf *.tar - ok
3. sh install-part-1.sh - ok
4. faxsetup......faxaddmodem..... - ok
5. sh install-part-1.sh - ok
6. signal-event post-upgrade; signal-event reboot - ok
7. make user faxmaster; ste password for faxmaster user - ok
Now I want to send fax by e-mail, and receve mail by fax. Is there something else I have done to make this working?
I am sorry for my bad english!!!!
emo@bgshos.net
-
Hi everyone and thanks for your time!!!!
I have some problems with installing and getting started with hylafax on SMEserver 7.1.
1. wget ftp://chaloner.ca/hylafax-SME7.tar - ok
2. tar -xvf *.tar - ok
3. sh install-part-1.sh - ok
4. faxsetup......faxaddmodem..... - ok
5. sh install-part-1.sh - ok
6. signal-event post-upgrade; signal-event reboot - ok
7. make user faxmaster; ste password for faxmaster user - ok
Now I want to send fax by e-mail, and receve mail by fax. Is there something else I have done to make this working?
I am sorry for my bad english!!!!
emo@bgshos.net
Install instructions for Hylafax on the SME Server version 7.1 as of 2/16/07
1.1. Install Hylafax
First we need to get the following files.
Download the latest files (rpm) from the following url
http://www.hylafax.org/content/Red_Hat_Packages
1.2. Download the following file:
# wget http://cbtest.us/smeserver-hylafax-0.9-3.noarch.rpm
1.3.
Install with the following command and it will install all of the required packages for you.
# yum localinstall hylafax*
1.4. Configure modem
Make sure that your modem is plugged into the serial port and turned on.
# /usr/sbin/faxsetup
Answer the questions as required. Accept the defaults on most everything except the county & area code and telephone
number of the fax line. Take note of your modems tty (The first serial port is ttyS0 and the second is ttyS1)
Note. The inittab template assumes you are using ttyS0. This system may not work with internal modems.
http://www.hylafax.org/content/Main_Page may contain answers for internal modems.
1.5. Install smeserver-hylafax
# yum localinstall smeserver-hylafax*
# signal-event post-upgrade; signal-event reboot
a new user, 'faxmaster' is created optionally forward the mail for faxmaster to suit, to a user or group a domain 'fax'
and a user 'faxsender' is created to enable the email to fax gateway as well as other support scripts and changes.
# touch /var/spool/hylafax/etc/xferfaxlog
2.1. Receiving faxes by e-mail
All incoming faxes go to the faxmaster's e-mail box, or forwarded as you have configured.
2.2. Sending faxes by e-mail
One of the main uses for hylafax is as an e-mail to fax gateway. This gateway unifies a users communications, so that
faxing is as simple as using an e-mail client. The user can email john@08812345678.fax and know that the message typed,
and any attachment will be faxed via Hylafax. To setup an e-mail to fax gateway using hylafax, a few simple scripts
are needed to convert attachments into postscript so that hylafax can then use them. By default you can send e-mails
with pdf attachments, postscript attachments or tiff attachments. Don't expect your html formatted
e-mails to be faxed! Sorry!
Testing
Send an e-mail from your favorite mailing software to the SME-Server. This means that the smtp server in your e-mail
software must be set to the SME-Server. Because the e-mail address we are going to be using will only be known by our
server. Then we will send an e-mail with the following recepeint: Name@FaxNumber.fax
e.g: John_Smith@5555551212.fax
+ The name can be any name.
+ The fax number is going to be used for faxing the document.
+ Mail can only be send as a plain text e-mail.
+ Mail can have a postscript, pdf or tiff attachment, this attachment will also be faxed.
2.3. Hylafax clients
Download Client Software from:
http://www.hylafax.org/content/Client_Software
http://www.frogfax.com/modules/spxnews/
http://www.hylafax-client.de
Setting up the email was where you may have made a mistake. Review the above and see where you may have gone wrong.
Carl
-
Thank you very much for your replay.
INIT: Id "fax" respawning too fast: disabled for 5 minutes
Do you have eny Idia?
I can not send mail to smeserver.
I am traing to send xxx@phonenumber.fax and server respond - invalid recepient!!!
-
the ttyS was wrong in /etc/inittab.
Now everythyng is ok and working. Now i am going to configure the server for my needs!!
Thank you very much again CBACANI
-
A great contrib with a server-manager interface is now working on SME7:
Source: http://forums.ixus.fr/viewtopic.php?t=37658&highlight=smerpfax
wget ftp://ftp.hylafax.org/binary/linux/redhat/RPMS/i386/hylafax-4.2.5-1rhel4.i386.rpm
yum -y --enablerepo=base --enablerepo=updates localinstall hylafax-4.2.5-1rhel4.i386.rpm
rpm -ivh http://smerp.free.fr/fichiers/binaires/SMERPFax-0.8b1-1.noarch.rpm
delete /tmp/rpm ghostscript-fonts-6.0 and hylafax-4.2.0-1rh7.i386.rpm
then run /tmp/SMERPFax.ins/SMERPFax_ins.sh
-
Hi All,
I have had hylafax running for a while now and used Chaloner's howto. I have been using winprint fax as the client and would like to use the fax to email gateway, my question is can I just install the smeserver-hylafax-0.9-3.noarch.rpm? My concern is that according to the howto on the wiki it creates a user called faxmaster and I have already got this user on my system :D Should I delete faxmaster first or will the smeserver-hylafax-0.9-3.noarch.rpm realize that the user exists and not create another? Thanks in advance.
Regards,
Del
-
Hi,
one question: What exactly does Smerpfax do? I could't find any non-french documentation. I already have a working hylafax, will Smerpfax allow to send fax over mail and can I add it to the existing hylafax-setup?
-
The most interesting part of SMERPfax is to provide a server-manager panel to configure le fax. It can be used to stop the fax server, disable/enable ansering... without the command line.
-
I already have a working hylafax, will Smerpfax allow to send fax over mail and can I add it to the existing hylafax-setup?
Yes, you can install over an existing setup :wink:
-
How can I make use of the sambafax? Any hints?
-
How can I make use of the sambafax? Any hints?
Use it with the WinPrintHylafax program, point it to the sambafax and voilá
Thanks,
-
A great contrib with a server-manager interface is now working on SME7:
Source: http://forums.ixus.fr/viewtopic.php?t=37658&highlight=smerpfax
wget ftp://ftp.hylafax.org/binary/linux/redhat/RPMS/i386/hylafax-4.2.5-1rhel4.i386.rpm
yum -y --enablerepo=base --enablerepo=updates localinstall hylafax-4.2.5-1rhel4.i386.rpm
rpm -ivh http://smerp.free.fr/fichiers/binaires/SMERPFax-0.8b1-1.noarch.rpm
delete /tmp/rpm ghostscript-fonts-6.0 and hylafax-4.2.0-1rh7.i386.rpm
then run /tmp/SMERPFax.ins/SMERPFax_ins.sh
Hi Sophie.
I have been fighting with the Fax setup on SME Server and then I discovered your post.
Tried to installe it and finally got something in the SME control panel that I could understand.
But I need to ask you if it following your example will create a full working fax server installation including SME Server control panel, without the need of go an run all these many scripts that I have seen in this thread
-
I'm not sure about what you mean by "full" fax server...
You might want to give a look at Cypheus if you want a fax manager/client with buttons and menus.
The above contrib is to provide a server with fax functions (in/out) and a network printer to send fax.
-
A great contrib with a server-manager interface is now working on SME7:
Source: http://forums.ixus.fr/viewtopic.php?t=37658&highlight=smerpfax
wget ftp://ftp.hylafax.org/binary/linux/redhat/RPMS/i386/hylafax-4.2.5-1rhel4.i386.rpm
yum -y --enablerepo=base --enablerepo=updates localinstall hylafax-4.2.5-1rhel4.i386.rpm
rpm -ivh http://smerp.free.fr/fichiers/binaires/SMERPFax-0.8b1-1.noarch.rpm
delete /tmp/rpm ghostscript-fonts-6.0 and hylafax-4.2.0-1rh7.i386.rpm
then run /tmp/SMERPFax.ins/SMERPFax_ins.sh
Hi Sophie
Would it be possible to install just the server panel, since i really like that, but i use hylafax with a different setup ??
Per
-
What modems are you all using? I have some older USR 33.6 faxmodems that I used with 6.5, but they don't seem to be working with 7.2? I'm going to load 6.5 and see if they still work. My dip switches got changed by some nosey kids of mine, so it may take me a while to verify this. If anyone is using these modems, would you send me the dip switch settings, please.
Thanks,
John
-
DIP Switch Settings for the Sportster Modem
1 UP DATA TERMINAL READY NORMAL
DOWN DTR OVERRIDE
2 UP VERBAL RESULT CODES
DOWN NUMERIC RESULT CODES
3 UP SUPPRESS RESULT CODES
DOWN DISPLAY RESULT CODES
4 UP ECHO OFF LINE COMMANDS
DOWN NO ECHO, OFFLINE COMMANDS
5 UP AUTO ANSWER ON RING
DOWN SUPPRESS AUTO ANSWER
6 UP CARRIER DETECT NORMAL
DOWN CARRIER DETECT OVERRIDE
7 UP LOAD NVRAM DEFAULTS
DOWN LOAD FACTORY DEFAULTS
8 UP DUMB MODE
DOWN SMART MODE
FACTORY DEFAULT SETTINGS FOR THE SPORTSTER MODEM IS 3,5 AND 8 DOWN, ALL THE REST UP.
-
DIP Switch Settings for the Sportster Modem
1 UP DATA TERMINAL READY NORMAL
DOWN DTR OVERRIDE
2 UP VERBAL RESULT CODES
DOWN NUMERIC RESULT CODES
3 UP SUPPRESS RESULT CODES
DOWN DISPLAY RESULT CODES
4 UP ECHO OFF LINE COMMANDS
DOWN NO ECHO, OFFLINE COMMANDS
5 UP AUTO ANSWER ON RING
DOWN SUPPRESS AUTO ANSWER
6 UP CARRIER DETECT NORMAL
DOWN CARRIER DETECT OVERRIDE
7 UP LOAD NVRAM DEFAULTS
DOWN LOAD FACTORY DEFAULTS
8 UP DUMB MODE
DOWN SMART MODE
FACTORY DEFAULT SETTINGS FOR THE SPORTSTER MODEM IS 3,5 AND 8 DOWN, ALL THE REST UP.
Thanks for your reply. I didn't state my question correctly. I know what those settings are, they are on the back of the modem. I want to know what the settings are from someone that is using this modem with hylafax.
John
-
Yes, you can install over an existing setup :wink:
Would/can you make the src rpm available?
John
-
check this site http://smerp.free.fr/fichiers/sources/
Anyone used the the above contrib with iaxmodem..
-
Hi.
I'm not using this contrib (if you speak about smerpfax), but I'm using hylafax, with smeserver-hylafax from dungog, and some customization. With this, I've installed iaxmodem rpm from trixbox repository (I even recompiled the binary iaxmodem to have the latest version). It's working with asterisk, I can send and receive faxs through my pstn line with no problem. You just need to create a iax extension in asterisk. then configure iaxmodem to use this account (in /etc/iaxmodem/iaxmodem-cfg.ttyIAX). Once this is done, configure hylafax to use the iaxmodem
faxaddmodem ttyIAX
You can let the default answer for most of the question.
-
I can send and receive faxs through my pstn line with no problem.
Do you mean you can send/revieve over VOIP with no need for a modem ?
ie We already use the pstn line / modem by default
This would be a nice addition to the hylafax wiki page, if you care to update it
-
I mean there's no need to have a dedicated pstn line for faxs, as asterisk will detect if it's a fax and then send it to the good extension. This way, a PME/TPE can use just one line for calls and faxs. Using iaxmodem instead of a physical modem will save you one FXO port. But sending faxs through an IP trunk doesn't work well, there's too much packet lost. I'll try to add this in the wiki, but I first need to learn how to use it (I never used wiki :/)
Cheers, Daniel