My provider switched me to an IP-based line. Now my analog ISDN (G3) Fax does not work anymore.
Is there any way I can use the conventional Fax with a SIP connection? My Router supports T.38 Fax protocol as well as many codecs.
Looking to replace/port my home number which I use for mainly faxing for my home business to a PBX server ( Thinking Asterisk or Elastix ).
My question is:
Here is what I'm looking to do:
Run some sort of PBX software from my own home server that will allow me to use Google Voice for my home number, possibly allow multiple Google voice ( Though I could live with just the one ) and must support Faxing ( Incoming and Outgoing ). Would Asterisk/Elastix support all of this or would you recommend something else for this? Looking to avoid some of the pitfalls that could happen
I like Ubuntu if a Linux environment is needed
I am trying to write a front-end for sending faxes in PHP. I want to know how can I get the status of a fax job.
When the user sent a fax, how can I report the status of the job to the user ? In case when the destination line was busy, unreachable, etc.
Is there any log file or a command that contains the status of a specific fax job which is transfer-able to the front-end ? So I can report back the success/failed message to user.
I know about faxstat -d
, but it's a report for all jobs and i can't fetch that on php side.
As you can see the format of output is not something that can be parsed easily.
Just for reference, here is the list of all status codes.
I had a look at Hylafax's documentation but couldn't find anything on how to trace a job status.
A client asked for a web to fax application written in php. But I have no idea how to do this.
I believe php or any other web application can't communicate with the modem directly. So there should be some sort of service or daemon handling the job and be the line between web interface and modem.
Tried googling things a bit and some words like HylaFAX
and AvantFax
came out. Still can't figure out.
I prefer writing the web interface myself to have custom language support and better user experience.
So in the end what I am asking is how to achieve a web to fax application from scratch. From setting up server and making the web application. Even some directions would help.
I am using Hylafax 6.0.5 on Fedora 13 x86_64. As there are no rpm package available for Fedora 13, I use the source tar ball to install hylafax myself. Everything seems fine during compile and install.
I try to send a fax with sendfax and encounter error:
# sendfax -n -d <fax-number> /etc/passwd
/usr/local/sbin/textfmt: No font metric information found for "Courier-Bold".
Usage: /usr/local/sbin/textfmt [-1] [-2] [-B] [-c] [-D] [-f fontname] [-F fontdir(s)] [-m N] [-o #] [-p #] [-r] [-U] [-Ml=#,r=#,t=#,b=#] [-V #] files... >out.ps
Default options: -f Courier -1 -p 11bp -o 0
Error converting document; command was "/usr/local/sbin/textfmt -B -f Courier-Bold -Ml=0.4in -p 11 -s default >'/tmp//sndfaxp5GdJ9' <'/etc/passwd'"
It seems like there is problem with font problem. I have ghostscript-fonts installed too.
I can't find hyla.conf
in path /etc/hylafax
. There is no /etc/hylafax
path in my file system. All configuration files seems located in /var/spool/hylafax/etc
.