TUTORIAL HylaFAX / AvantFax for PIAF! - Parts 1-4

Interesting -
I assume you mean when you print to fax from a word doc, you get an email saying FAILED to create PDF for failed fax.

Does this happen with more than one word doc? Try several - some with graphics, some without.

Can you print to fax from any other applications? Try printing to fax from wordpad -

When you print just a cover sheet, how exactly are you doing that?
It fails with the same error on Wordpad. It must be the PDF file conversion that is failing as it appears to be common with all transmissions regardless of file types and URL vs. Print.
 
I agree - the pdf conversion is failing. Was there anything about your install that was unusual? Did this ever work correctly, or never?
 
I agree - the pdf conversion is failing. Was there anything about your install that was unusual? Did this ever work correctly, or never?
Yes - the iaxmodem did not install from the script. I had to manually install this after I installed an updated version of GCC and C++ on my Asterisk Server. Otherwise everything else went smoothly after I rebooted and then started the iaxmodem service.
 
Yes - the iaxmodem did not install from the script. I had to manually install this after I installed an updated version of GCC and C++ on my Asterisk Server. Otherwise everything else went smoothly after I rebooted and then started the iaxmodem service.
How do I install a new or updated PDF conversion?
 
How do I install a new or updated PDF conversion?

Good question. You might look through the installation script, and try to identify the sections that deal with the pdf conversion files - see if they can be run separately.

I would also try the HylaFax forums - as I recall - our script more or less just runs their script. This kind of information may be best located there. Please let us know what you discover -
 
tshif,

Thanks for the tutorial, fax on its own works great. But I am tring to allow for fax/voice on same DID, I can't seem to run addfaxmodem, I tried coping the ttyIAX3 and made it 4,but I think that is causing the problem that I am getting. when I call, the call goes through, but when I fax the logs state this:

[2009-04-10 11:59:41] NOTICE[2739] chan_iax2.c: Peer '8000' is not dynamic (from 127.0.0.1)
[2009-04-10 11:59:41] NOTICE[2744] chan_iax2.c: Peer 'iax-fax2' is not dynamic (from 127.0.0.1)
[2009-04-10 11:59:41] NOTICE[2740] chan_iax2.c: Peer 'iax-fax0' is not dynamic (from 127.0.0.1)
[2009-04-10 11:59:41] NOTICE[2743] chan_iax2.c: Peer 'iax-fax1' is not dynamic (from 127.0.0.1)
[2009-04-10 11:59:41] NOTICE[2742] chan_iax2.c: Peer 'iax-fax3' is not dynamic (from 127.0.0.1)

What should I do,

Thanks,
 
Hi Cadman -

Look Here:
http://pbxinaflash.com/forum/showpos...2&postcount=67

Look for this Text:
SetUp “Fax Machine” Extension in FreePBX

Follow the instructions carefully. If you get stuck in a specific place - tell us exactly where so we can be more helpful.

Be as descriptive as possible when describing the point of failure - well do our best to help.
-tshif
 
it was at the run faxaddmodem. it askes me for serial port that modem is connected to, so I read farther along the posts where you told someone that it was addfaxmodem. I tried that but get a command not found..
 
it was at the run faxaddmodem. it askes me for serial port that modem is connected to, so I read farther along the posts where you told someone that it was addfaxmodem. I tried that but get a command not found..

Its faxaddmodem alright. It should work from anywhere - logged in as admin via putty our your favorite program.

I found and fix my screw upwhere I said it was addfaxmodem. Thanks for letting me know about it! It is in fact, faxaddmodem in lower case.

In any event - that process needs to be run.
 
so what do I put in the for the serialport that the modem is connected to? I dont have any cards, everything is thru VOIP. I'm sort of new to all of this so sorry if I have missed something..
 
so what do I put in the for the serialport that the modem is connected to? I dont have any cards, everything is thru VOIP. I'm sort of new to all of this so sorry if I have missed something..

It ok - I know it takes a while to get all the details to make sense. Take your time - and read carefully. Here's an expert from the link I gave you with your answer:

Run FAXADDMODEM
Logged in as root, run faxaddmodem
When you are prompted for the modem name, enter: [FONT=&quot]ttyIAX4 (Case exact!)[/FONT]
Answer the remaining prompts as appropriate for your installation.


ttyIAX4 Will be how you answer - assuming this is the first new virtual modem you are creating (The 4 default ones are called ttyIAX0-ttyIAX3). You increment this number each time you run the faxaddmodem program.
 
I had tried that like 3 times last night, and it put the ttyIAX4 like this on the next line [ttyIAX4] wierd.. but its working now, your presence just spooked my system into submission :)

Will let you know how it goes from here...

Thanks,
 
I found 2 typo's as well so far, still having an issue but redoing the install right now.

Update initab
Using your favorite editor, modify the file /etc/initab.

shouldn't it be /etc/inittab ?

Create new IAX Modem
Next, we create the new iaxmodem in /etc/iaxmodems.We need to make a copy of one of the existing iaxmomdem-cfg.ttyIAX files,

I don't have an /etc/iaxmodems/ but I do have an /etc/iaxmodem.

then the existing file has an extra m in it..
 
Permissions on /var/lib/php/sessions

I was having trouble logging in to the Avantfax administrative GUI on a brand new install and saw by reading posts to this thread that the permissions of /var/lib/php/session needed to be "changed".....what the permissions should be, I wasn't sure of.....

The permissions were set to 0770 so I changed them to 0777 and then I was successful in logging in.

These permissions frankly make me a little nervous.

I went back and messed with the permissions to see which ones would give still allow me to login in while being a little less restrictive and 0777 seemed to be the only one that allowed me to login and logout without incident.

Is the 0777 permission the the only correct permissions for this directory and should I be concerned with the "permissibility" of these permissions?

Additional information: the PBX is behind a firewall and not directly connected to the internet and iptables is running.


Mark
 
I was having trouble logging in to the Avantfax administrative GUI on a brand new install and saw by reading posts to this thread that the permissions of /var/lib/php/session needed to be "changed".....what the permissions should be, I wasn't sure of.....

The permissions were set to 0770 so I changed them to 0777 and then I was successful in logging in.

These permissions frankly make me a little nervous.

I went back and messed with the permissions to see which ones would give still allow me to login in while being a little less restrictive and 0777 seemed to be the only one that allowed me to login and logout without incident.

Is the 0777 permission the the only correct permissions for this directory and should I be concerned with the "permissibility" of these permissions?

Additional information: the PBX is behind a firewall and not directly connected to the internet and iptables is running.

Mark

Mark -
I have been looking for the cause of this - but have not a clue. We thought it might have been a yum update, or update source - but this does not now seem to be the cause.

Further, this seems to be rather a new issue - it didn't crop up for some weeks after this solution was released and in use. So - I am still trying to ascertain what is causing it on some platforms, while leaving others totally unaffected.

It my hope that once we figure out what is causing it, it can be prevented. Sadly - I have no more info to offer at this time.
 
ok its all working now like a charm.. I got the same issue again with faxaddmodem, so I did a system reboot at that that point and then it worked fine....
 
ok its all working now like a charm.. I got the same issue again with faxaddmodem, so I did a system reboot at that that point and then it worked fine....

:cheers2: Excellent cadman! Way to be persistent! Welcome to fax nirvana!
 
now just have to get print to fax setup with vista64 :(. but I will leave that for another day. I know that the link's I have found for dandyfax dead so far..

Thanks again.. Keep up all the fine work...
 
tshif,

I know that this might be a long shot, but has anyone done a fax modem that can recieve color faxes? or does that cause all sorts of issues..

Thanks,

Mike
 
Mark -
I have been looking for the cause of this - but have not a clue. We thought it might have been a yum update, or update source - but this does not now seem to be the cause.

Further, this seems to be rather a new issue - it didn't crop up for some weeks after this solution was released and in use. So - I am still trying to ascertain what is causing it on some platforms, while leaving others totally unaffected.

It my hope that once we figure out what is causing it, it can be prevented. Sadly - I have no more info to offer at this time.

Thanks for the quick reply and I, as well as others, I'm sure, certainly appreciate the hard work you have done. I will watch for updates and in the meantime since this is not a production box it will not be deployed. Thanks a million for what you have done!

Mark
 

Members online

No members online now.

Forum statistics

Threads
26,696
Messages
174,453
Members
20,265
Latest member
irenelanda64
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top