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

ok well maybe it's worth another shot-- can anyone tell me where to look as far as setting/resetting the login/password for avantfax?
 
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

I have been scratching my head on this one. turns out I was managing the GUI from two different workstations and would only accept a "re-login" from same machine. I have found two fixes.
1) goto original managing browser and log-off.
2) restart web server #>service httpd restart

notice it says maint as the username in the error message even though we both know you put in admin in there.

I literally blew up a good install because of this gotcha. :cryin:

btw I'm using 1.7.5.5 Gold Asterisk v1.4.21.2
 
I had the same problem of not being able to login to Avantfax. I found this solution on the Avanfax site:

This sets up "maint" and "password"

"The problem is that you're using AvantFAX in a subdirectory where Apache authentication is enabled AND you don't have a 'maint' account setup in AvantFAX.

Try running this statement in your AvantFAX database to create the 'maint' admin user with password "password":

INSERT INTO UserAccount (name, username, password, wasreset, email, is_admin, language, acc_enabled, any_modem, superuser) VALUES ('Trixbox Admin', 'maint', '5f4dcc3b5aa765d61d8327deb882cf99', TRUE, 'root@localhost', TRUE, 'en', TRUE, TRUE, TRUE);"

This worked well for me. Hope it helps.
 
The solution I found was to restart the httpd daemon. Not sure why this is needed, but after issuing

# service restart httpd

I was able to log in to avantfax using the default admin/password.


Now, If I can just figure out why all my iaxmodems show up as status "Please wait..." arggh:banghead:

udKTT.png



P.S.- here is my faxstat -v output:

root@pbx:/etc/asterisk $ faxstat -v
Trying localhost (127.0.0.1) at port 4559...
Connected to pbx.local.
220 pbx.local server (HylaFAX (tm) Version 4.4.4) ready.
-> USER root
230 User root logged in.
-> PORT 127,0,0,1,182,135
200 PORT command successful.
-> LIST status
150 Opening new data connection for "status".
HylaFAX scheduler on pbx.local: Running
226 Transfer complete.

update:
hmm, go figure. Rebooted the PBX and now seems like everything is good in the world again:
INrjE.png

Haven't tested sending out a fax yet. But seems I am ready. Fyi this is PIAF Purple + Asterisk 1.8.

update #2:
faxing is working! PIAF purple + ast 1.8 :D

 
I see that hylafax-6.0.3-1 is now out, maybe it is time to revisit the script.
Joe
hi Joe, is there any news about whether hylafax 6.x could be made to work with this script? just curious since it was a year ago...
 
Hi

I've not really had the time to look at it. I note that 3.3.3 of Avantfax is out too.

Also of interest is Hylafax+ http://hylafax.sourceforge.net/ maintained by the same guy who does the IAXMODEM, which appears to have some interesting features.

Joe
 
multiple DID for fax lines

suppose I have more than one fax line and I want to route each DID to different end user.
Q. Do I have to create a custom context and custom destination?

I have tried numerous different concepts but it never completes the handoff from PIAF to Hylafax.

Any pointers would be helpful

using 1.4 Gold w/Sangoma Analog card

btw thanks for all the effort guys. Donation is on the way U saved my company about $6500 on a new Castelle Faxpress and old one is on eBay.
 
Hi

If you reread the the original posts, it should be clear how to do this.


Joe
 
Hi

If you reread the the original posts, it should be clear how to do this.


Joe


I appreciate the reply I read all 40 pages of posts. Can I have a little more lead or a search term. I really am all about self help. I'm not lazy just lost.
 
Hi

The basic overview is as follows.

Create an IAXMODEM instance for each of your accounts, inspect the script to see how this is done.

Add an IAX peer definition to IAX to all the iaxmodem to register.

Add a new account for each of your users in Avantfax, and assign one of the IAXModems you created above to each of your accounts.

Create new inbound routes to direct the call to your new IAXmodems using custom-destinations.

Create some dialplan to dial the IAXModem.

If you read the script, you should see how each of these steps is accomplished.

Job done.

Joe
 
I have been scratching my head on this one. turns out I was managing the GUI from two different workstations and would only accept a "re-login" from same machine. I have found two fixes.
1) goto original managing browser and log-off.
2) restart web server #>service httpd restart

notice it says maint as the username in the error message even though we both know you put in admin in there.

I had the same problem of not being able to login to Avantfax. I found this solution on the Avanfax site:

Try running this statement in your AvantFAX database to create the 'maint' admin user with password "password":

INSERT INTO UserAccount (name, username, password, wasreset, email, is_admin, language, acc_enabled, any_modem, superuser) VALUES ('Trixbox Admin', 'maint', '5f4dcc3b5aa765d61d8327deb882cf99', TRUE, 'root@localhost', TRUE, 'en', TRUE, TRUE, TRUE);"

Easy/Noobie version of fix:
Webmin(http://yourpbx:9001)>Servers>MySQL(user:root password: passw0rd (if yours is still default, and likely is)>Database:avantfax(click word or icon)>UserAccount>[View Data]>[Add row](as I had none!)>
uid:1 (next unique number, starting with 1)
name: FAX Admin (whatever)
username: maint (if you have logged into FPBX, you will not need to log in again to AvantFax!)
password: sameasforFPBX
email: root@localhost
superuser: 1
language: en
pwdcycle: 0
the rest: 1(except deleted:0)
[Save]
You should now be able to get into the web interface to edit the users.
 
Sorry if I missed it somewhere in this massive thread. But I noticed that after a recent reboot, I started seeing error messages like this in my LogWatch alerts (the emails that get sent to root@pbx):

--------------------- samba Begin ------------------------

**Unmatched Entries**
printing/print_cups.c:cups_connect(69) Unable to connect to CUPS server localhost:631 - Connection refused : 90 Time(s)

---------------------- samba End -------------------------


I checked and in fact CUPS was not running (guess it needs to be for Hylafax?) or maybe this error message is just safe to ignore. Anyway, I set my CUPS service to auto-start at boot using Webmin. Box hasn't been up long enough to see whether this "fix" actually worked. But- can anyone confirm that cups should be running all the time with this faxing setup installed? thanks! :smile5:
 
I *think* it should only be required if you have enabled automatic print upon receipt of fax.
 
***WORKING*** Asterisk 1.8.1.1, FreePBX 2.8, HylaFAX & AvantFAX setup with A2billing

Take a look here for some possible clues. Second post on the following includes a link to a complete rundown of a working system system...

freepbx.org/forum/freepbx/users/wor...2-8-hylafax-avantfax-setup-with-a2billing-1-8


Not a piaf solution, but a maybe a start to what we might be missing.


Sorry I am not savvy enough to pick out the why, maybe someone else can see the solution to our problems with the 1.8/2.8 setups.
 
purple system and avantfax using default script.

Hi
The default script with a purple system runnig asterisk 1.8.3 installed without any problems and ran correctly stright away.

the only work around that i had to add was in regards to win 7 64 Winprint HylaFAX wich is now available on sourceforge. It is a manual install but works. The faxuser is not applied to hylafax server i had to manually add it.

Thanks a million finally the fax server is now running

David
 
tif files not removed

Thank you all for contributing to this post. I am now able to setup AvantFax from a separate server.

However, I have discovered something that's not quiet working right (in my opinion). I found that for what ever Faxes I removed(deleted) from my Avantfax inbox. The original tif received by the hylafax server is not removed at the same time. The incoming fax are initially stored in
/var/spool/hylafax/recvq/ as tif files. And these tif files gets copied and converted to pdf file and saved under /var/www/html/avantfax/faxes/recvd/ . But when files in here gets removed from the AvantFAX web interface. The initial tif files are not removed from /var/spool/hylafax/recvq/.

Did I mis-configured my AvantScript somewhere? or this is a common thing everybody has?

Thanks,

Henry
 
Updates and corrections

I want to implement this but, I want to make sure.
There are a lot of responses with issues, fixes, etc. Is it safe to still start from the beginning?
Several newer versions of everything have been released. What versions of asterisk and freepbx is this safe to deploy?

You guys rock!
 
I have succefully installed it on basically every version.

Just remember that with 1.8.x, you cant have fax detect, rather you have to use a dedicated DID
 
Just remember that with 1.8.x, you cant have fax detect, rather you have to use a dedicated DID
are you sure about that? I haven't been following the recent posts too closely, but I though with the most recent versions that this wasn't an issue anymore? I hardly ever receive any faxes so I really don't even have a good way of testing this.
 

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