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

Hi

I've not checked to see if there is a later version, however, complete this well known phrase and saying, "it it's not broken..."

Joe
 
That's true much of the time, but with software still in the optimization phase such as fax software, I don't agree. While faxing is fair, it is worth the time to me to test an upgrade and be ready to roll back if the results are not acceptable.
 
I am having the same problem as this guy in that I can't log in to my Avantfax UI. I had this working on my old box, and I had the same problem, too, but I can't remember for the life of me what I did. Whenever I try to log on to Avantfax, I get:
avantfax1.png

And no matter how many times I reset the password or type in the new password, I can't get in.
Running A-Fax 3.3.3, 1.7.5.5.2 Silver install.

Thanks
 
error avantfax

can you please tell me the meaning of this logs
I cannot send fax, thank you

[2010-11-05 01:41:45] ERROR[3783] chan_iax2.c: Call rejected, CallToken Support required. If unexpected, resolve by placing address 127.0.0.1 in the calltokenoptional list or setting user iax-fax0 requirecalltoken=no
[2010-11-05 01:41:53] ERROR[3780] chan_iax2.c: Call rejected, CallToken Support required. If unexpected, resolve by placing address 127.0.0.1 in the calltokenoptional list or setting user iax-fax2 requirecalltoken=no
[2010-11-05 01:41:53] ERROR[3781] chan_iax2.c: Call rejected, CallToken Support required. If unexpected, resolve by placing address 127.0.0.1 in the calltokenoptional list or setting user iax-fax1 requirecalltoken=no
[2010-11-05 01:41:53] ERROR[3787] chan_iax2.c: Call rejected, CallToken Support required. If unexpected, resolve by placing address 127.0.0.1 in the calltokenoptional list or setting user iax-fax3 requirecalltoken=no
 
Hi

This is the new IAX security which is not included in PiaF gold, but will be included in later versions of Asterisk.

In iax_custom.conf, can you identify the four iax-fax1 through to iax-fax4 contexts and into each one, add the following line into the context.

Code:
requirecalltoken=no

so the final code should look like this (4 times over)
Code:
[iax-fax$COUNT]
type=friend
host=127.0.0.1
port=457$COUNT
context=from-internal
[B]requirecalltoken=no
[/B]disallow=all
allow=ulaw
jitterbuffer=no
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0

Reload asterisk, and see if the error messages go away.

$COUNT is will be replaced with 1,2,3 or 4

If this works for you, then I will include it as standard in the script. I don't suppose it will do any harm to have this directive in the gold version, but we will have to test.

Joe
 
no avantfax web access

have followed the tutorial, iax modems installed and show as peers. hylafax server webmin module installed and working.
when browsing to pbxip/avantfax i get 404 error. Looking in var/www/html there is no avantfax directory ???
any ideas ? TIA
 
I installed purple version and I have this in iax_custom.conf

;placeholder for future expansion PIAF Dev Team
[iax-fax0]
type=friend
host=127.0.0.1
port=4570
context=from-fax
disallow=all
allow=ulaw
jitterbuffer=no
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0

[iax-fax1]
type=friend
host=127.0.0.1
port=4571
context=from-fax
disallow=all
allow=ulaw
jitterbuffer=no
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0

[iax-fax2]
type=friend
host=127.0.0.1
port=4572
context=from-fax
disallow=all
allow=ulaw
jitterbuffer=no
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0

[iax-fax3]
type=friend
host=127.0.0.1
port=4573
context=from-fax
disallow=all
allow=ulaw
jitterbuffer=no
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
 
I'm not seeing a requirecalltoken=no line(s) as advised?

Joe
 
I got it to work with this settings. I dont have any card attach to my machine


[from-fax]
exten => _x.,1,Dial(SIP/gvoice/${EXTEN})
exten => _x.,n,Hangup()


[iax-fax0]
type=friend
host=127.0.0.1
port=4570
context=from-internal
requirecalltoken=no
disallow=all
allow=ulaw
jitterbuffer=no
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
 
have followed the tutorial, iax modems installed and show as peers. hylafax server webmin module installed and working.
when browsing to pbxip/avantfax i get 404 error. Looking in var/www/html there is no avantfax directory ???
any ideas ? TIA

I have the exact same problem on FreePBX 2.8
I've run through the installation 3 times. Hylafax and modems install acorrectly but there is no avantfax directory and browsing does not work.
 
I have the exact same problem on FreePBX 2.8
I've run through the installation 3 times. Hylafax and modems install acorrectly but there is no avantfax directory and browsing does not work.
From what I have read, Faxing as a whole is not working in Asterisk 1.8 or FreePBX 2.8.
 
From what I have read, Faxing as a whole is not working in Asterisk 1.8 or FreePBX 2.8.

Thanks for the response. I'll stick with FreePBX 2.7 for now but here are the script error messages which I assume pertain to the avantfax installation


Error: Missing Dependency: libpng = 2:1.2.10-7.1.el5_3.2 is needed by package libpng-devel
no package provides netpbm-progs
no package provides ImageMagick-devel
no package provides libungif
no package provides ImageMagick
no package provides php-pear-Mail-Mime
no package provides php-pear-Mail
no package provides php-pear-Net-SMTP
no package provides php-pear-MDB2-Driver-mysql
Error: failed to provide necessary RPM tools, exiting
 
php ver 5.1.6

I found a workaround for now

Install avantfax/hylafax script on pbxiaf that has freepbx 2.7 or lower. Upgrade to 2.8 after successful install of fax stuff. This worked for me

Now if only I could get out going faxing working in an openvz environment.
 
just want to make sure-- this howto is *not* working with PIAF Purple / FreePBX 2.8. correct? Because that was my test platform and I couldn't get this to work.

during the a-fax.sh install, I got the following errors:

Setting Ghostscript font path in /etc/hylafax/hyla.conf.

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.

Make /var/spool/hylafax/bin/ps2fax a link to /var/spool/hylafax/bin/ps2fax.gs.

Make /var/spool/hylafax/bin/pdf2fax a link to /var/spool/hylafax/bin/pdf2fax.gs.

There does not appear to be an entry for the FaxMaster either in
the YP/NIS database or in the /etc/aliases file. The
FaxMaster is the primary point of contact for HylaFAX problems.
The HylaFAX client-server protocol server identifies this alias as
the place to register complaints and HylaFAX directs automatic mail
messages to this user when problems are identified on a server
machine or when the routine server maintainence scripts are run
(e.g. faxcron).

Should an entry be added for the FaxMaster to /etc/aliases [yes]?


So despite those I pressed on, and eventually I got through the install. But when I tried to open up the AvantFAX web gui, it asks me to log in and I have no idea what the username & password is. I tried "admin" + "password" as guided but that didn't work. I'm considering backing up my configs and reformatting my PBX from scratch using Ast 1.6.:cryin:
 
We've mentioned it in other threads, but I'll say it again...

FAXing is B-R-O-K-E-N in PIAF Purple with Asterisk 1.8
 
roger that! ok, so is silver the way to go for testing this out? or is bronze ok too?
 
Hi

We've mentioned it in other threads, but I'll say it again...

FAXing is B-R-O-K-E-N in PIAF Purple with Asterisk 1.8

I would disagree when the Hylafax / Avantfax / IAXMODEM is used.

In this scenario, faxing is handled by Hylafax, not by Asterisk. The connection between Hylafax and Asterisk is IAXMODEM, which is simply an IAX Peer which transmits warbly wobbly fax noises through Asterisk, and via the trunk.

Joe
 

Members online

No members online now.

Forum statistics

Threads
26,696
Messages
174,453
Members
20,266
Latest member
ro-fi
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