Hylafax Iaxmodem setup issues

kiwidesign
Posts: 15
Member Since:
2008-03-04

Hi all,

I gave up trying to get the trixbox receive faxes working (I couldn't get it to stop holding onto the line)
So....
I followed the how to on installing and configuring Hylafax and Iaxmodem and all seemed to go well.

I am running Trixbox 2.6.0.7 and the most recent versions of Hylafax and IAXmodem

Just a few things I don't understand
What do the lines

t2:23:respawn:/usr/sbin/faxgetty ttyIAX
IAX:2345:respawn:/usr/sbin/iaxmodem iaxmodem-cfg.ttyIAX

mean that you put in the inittab? I get that its starting up the faxgetty and iaxmodem but what is the t2:23 and the 2345 parts? Should these be unique to my installation and setup?

When I send a test fax as soon as I press send the line hangs up HOWEVER:
in my CLI I see the following which indicates its trying to do the right thing but for some reason believes its congested? and hangs up??

-- Executing [s@ivr-2:10] BackGround("Zap/3-1", "custom/Main_menu_2") in new stack
-- Playing 'custom/Main_menu_2' (language 'en')
-- Redirecting Zap/3-1 to fax extension
== Spawn extension (ivr-2, fax, 0) exited non-zero on 'Zap/3-1'
-- Executing [fax@ivr-2:1] Goto("Zap/3-1", "ext-fax|in_fax|1") in new stack
-- Goto (ext-fax,in_fax,1)
-- Executing [in_fax@ext-fax:1] StopPlayTones("Zap/3-1", "") in new stack
-- Executing [in_fax@ext-fax:2] GotoIf("Zap/3-1", "0?3:analog_fax|1") in new stack
-- Goto (ext-fax,analog_fax,1)
-- Executing [analog_fax@ext-fax:1] GotoIf("Zap/3-1", "0?4:2") in new stack
-- Goto (ext-fax,analog_fax,2)
-- Executing [analog_fax@ext-fax:2] Set("Zap/3-1", "DIAL=IAX2/1100") in new stack
-- Executing [analog_fax@ext-fax:3] Dial("Zap/3-1", "IAX2/1100|20|d") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [analog_fax@ext-fax:4] Hangup("Zap/3-1", "") in new stack
== Spawn extension (ext-fax, analog_fax, 4) exited non-zero on 'Zap/3-1'
-- Executing [h@ext-fax:1] System("Zap/3-1", "/var/lib/asterisk/bin/fax-process.pl --to 33863072.pdf --type application/pdf --file ") in new stack
-- Executing [h@ext-fax:2] Hangup("Zap/3-1", "") in new stack
== Spawn extension (ext-fax, h, 2) exited non-zero on 'Zap/3-1'
-- Hungup 'Zap/3-1'

I would really really appreciate it if someone could help me trouble shoot this. I am way in over my head here and don't really know where to look for the problem.

Thanks
Kate



kalleo
Posts: 106
Member Since:
2007-02-03
2 things

t2:23:respawn:/usr/sbin/faxgetty ttyIAX

the first field is an identifier for the line, just needs to be unique. I think there are limits as to what you can use, but cant remember them

I believe the second field is the run levels that this getty operates in. (someone correct me if not accurate). The above line would respawn faxgetty in run levels 2 and 3.

In your log, the IAX Modem did not answer the phone
-- Executing [analog_fax@ext-fax:3] Dial("Zap/3-1", "IAX2/1100|20|d") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
The system attempted to transfer ZAP3 to xtn 1100 and it was busy.

Make sure you have the ownership for the IAXModem files set to uucp:uucp (thats what I put on mine). Also, make the config file is filled out with the extension information and that IAXModem is started and set to start up when the system reboots.

I have been using hylafax and IAXModem for a while now and have noticed a some things.
1. Creating a coverpage is an unbelievable pain in the ass. The only exception is hylafsp which uses MSFax to generate the coverpage
2. It is ridiculously reliable. My largest install has 21 IAX modems using a PRI and has never failed, never had to be restarted or rebooted.
3. Avantfax is by far the best web based front end. It is just fantastic.
4. Everything works best with a PRI. You will have problems from time to time with analog lines. All of my PRI installs run rock solid. (and even the analog installs are better than MSfax or something in that class).
5. There is a hylafax webmin module here http://www.hylafax.org/content/Management_Utilities
This is very useful for checking the status of the modem (running and idle is what you want when not active on a call, anything else means its not working)

If the ownership does not clear it up, then post the config (minus passwords) for iaxmodem-cfg.ttyIAX and config.ttyIAX (for hylafax), also include the permissions on these files and their owners.

You can also test without sending a fax. Just call 1100 from a phone and see if a fax answers.

-Doug



kiwidesign
Posts: 15
Member Since:
2008-03-04
Thanks for the info. I only

Thanks for the info.
I only need to use the trixbox for the incoming faxes - outgoing are sent via a photocopier.
Is hylafax still the right solution to persist with (and do i need iaxmodem) or am i better to work on the default trixbox solution (which i am trying to troubleshoot as the fax completes but holds the line open and doesn't release it)
Faxes can come in on either of 2 pots lines (I only have one incoming route created - not sure if this is correct or not)

Cheers
Kate



kalleo
Posts: 106
Member Since:
2007-02-03
I would not recommend rx_fax at all

RX_Fax (the built in one) is nowhere near as reliable as hylafax (it does not do error correction). It also often produces corrupted PDFs. Hylafax will work very well for inbound faxes. I would still recommend you give Avantfax a try as well. It really is a great product (and opensource).

Thanks
-Doug



kiwidesign
Posts: 15
Member Since:
2008-03-04
Hi Doug, Thanks for the info

Hi Doug,

Thanks for the info on RX_Fax confirms my decision to give up on the inbuilt fax.

I have installed iaxmodem and hylafax and just received a test fax - i'm pretty stoked right now because this has taken me days (I am very very new to not only trixbox/asterisk but also linux) and I now have a nice headache and am beginning to suffer coffee addiction ;)

But YAY i think i'm getting there now.

Thanks
Kate



tuaris
Posts: 12
Member Since:
2008-01-04
I'm curios how did you get

I'm curios how did you get it working?
HylaFax isn't answering the incoming call for me.

--

President/CEO
Pacy World
http://www.pacyworld.com



kiwidesign
Posts: 15
Member Since:
2008-03-04
Well it took me a couple of

Well it took me a couple of tries as I didn't fully understand what I was doing but these websites really helped.
http://guardiani.us/index.php/TrixBox_IAXModem_HylaFax
http://blog.evaristesys.com/?p=24

Let me know if you need more info.

Cheers
Kate



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.