1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you had a PIAF Forum account in the vBulletin days, log in with your old credentials. Otherwise, sign up again and we'll get you back in business as soon as we can.
  3. Guest: We think the problem with locked threads from long message subjects has been resolved. Post a link here if you still see a problem.

HylaFax AvantFax Broken Again

Discussion in 'Bug Reporting and Fixes' started by zzvikingzz, Aug 24, 2011.

  1. zzvikingzz New Member

    Well I did a new build of PBX in a Flash and everything worked great with the latest build. Installed avantfax right after completion of PBX. No install issues. The only issue is I don't see the avantfax default folder for "Per-Directory Options" as they existed before in previous installs. I created a folder just to see if the GUI will display the Avantfax button. It does but of course it is empty. All the files exist in /usr/src/avantfax-3.3.3/avantfax/ and not in /var/www/html/avantfax. Any ideas on how to ge this to work? I tired copying the PHP and contents from /usr/src/avantfax-3.3.3/avantfax/ to /var/www/html/avantfax but I still can't get avantfax to work after new build.

    NOTES: Disk Backup, Hamachi VPN & Cepstral TTS are NOT installed.
    Type: help-pbx. Install script for Cepstral is in /root/nv.
    If you use Hamachi, be sure to also read the hamachi.faq document.
    To install Incredible FAX support, run: /root/incrediblefax.sh now.
    Your Fax on Demand access password is *****
  2. wardmundy Nerd Uno

    They "improved" something upstream. I've uploaded a new copy of IncredibleFax script that includes the fixes.

    You can download it from here and have a look. Basically, you have to manually install some stuff before running faxsetup which is the HylaFax setup script:

    Code:
    wget ftp://rpmfind.net/linux/epel/5/i386/php-pear-Mail-Mime-1.4.0-1.el5.noarch.rpm
    wget ftp://rpmfind.net/linux/epel/5/i386/php-pear-Net-Socket-1.0.10-1.el5.noarch.rpm
    wget ftp://rpmfind.net/linux/epel/5/i386/php-pear-Auth-SASL-1.0.4-1.el5.noarch.rpm
    wget ftp://rpmfind.net/linux/epel/5/i386/php-pear-Net-SMTP-1.4.4-1.el5.noarch.rpm
    wget ftp://rpmfind.net/linux/epel/5/x86_64/php-pear-Mail-1.1.14-5.el5.1.noarch.rpm
    wget ftp://rpmfind.net/linux/epel/5/i386/php-pear-MDB2-2.4.1-2.el5.noarch.rpm
    wget ftp://rpmfind.net/linux/epel/5/i386/php-pear-MDB2-Driver-mysql-1.4.1-3.el5.noarch.rpm
    
    rpm -ivh php-pear-Mail-Mime-1.4.0-1.el5.noarch.rpm
    rpm -ivh php-pear-Net-Socket-1.0.10-1.el5.noarch.rpm
    rpm -ivh php-pear-Auth-SASL-1.0.4-1.el5.noarch.rpm
    rpm -ivh php-pear-Net-SMTP-1.4.4-1.el5.noarch.rpm
    rpm -ivh php-pear-Mail-1.1.14-5.el5.1.noarch.rpm
    rpm -ivh php-pear-MDB2-2.4.1-2.el5.noarch.rpm
    rpm -ivh php-pear-MDB2-Driver-mysql-1.4.1-3.el5.noarch.rpm
    
    If you're using Incredible PBX 2, just download the new script and run it again. It'll sort everything out for you. For new installs, it's already in place.
  3. zzvikingzz New Member

    Hi,

    So should I remove that folder avantfaxI created in /var/www/html/avantfax before running those wget(s)?
  4. wardmundy Nerd Uno

    I don't know what you've done. If you ran the incrediblefax.sh script previously, you can just download the new one and run it. It'll clean up everything. If you manually installed this, I'm not going to be much help other than what I've already outlined.
  5. zzvikingzz New Member

    Still no access to avantfax

    I didn't manually install anything. Ran the incrediblefax script after fresh build and the GUI for PBX doesn't show/offer the icon for avantfax. When you create a folder in the default www directory the icon shows up for avantfax but of course no functionality. It's like the install isn't landing the avantfax in the www folder. Ran your fix script and still no way to access avantfax from PBX GUI.:banghead:
  6. wardmundy Nerd Uno

    Let's take them one at a time. Can you send a fax? Can you receive a fax?
  7. zzvikingzz New Member

    Can't use advantfax at all. Can use Misc destinations to send a fax to myself and other destinations (faxit, fax on demand). The User interface isn't there for advantfax. That's the whole issue after a new install. The advatfax interface is just a lot better to use for PBX UI.
  8. wardmundy Nerd Uno

  9. zzvikingzz New Member

    No different.
    root@pbx:/var/www/html/welcome $ cd /
    root@pbx:/ $ cd /var/www/html/avantfax
    -bash: cd: /var/www/html/avantfax: No such file or directory
  10. rossiv Guru

    Then it was never installed.
  11. zzvikingzz New Member

    Oh yes it was installed. Why would I be posting this if there wasn't an issue with the install. Right after the install of PBX ran the incrediblefax.sh and went through the prompts with no issues. Where can I locate the log? So if it wasn't installed what is /usr/src/avantfax-3.3.3/avantfax/. Same structure that should be in place under default WWW.
  12. tbrummell Guru

    I installed IncredibleFax yesterday and it worked fine....

    That was in the morning, so depending when Ward uploaded the changes, depends on what version I installed.
  13. wardmundy Nerd Uno

  14. zzvikingzz New Member

    Yes I did and I still get no access through the UI and no files landed in /var/www/html/avantfax . Funny how it says don't ever install twice on the same system.

    Able to use Faxit (ext 32948) and faxondemand (ext 363) to fax but cumbersome to use. How do I utilize the Incoming fax misc extension 329 for a person trying to fax me on my gv number? I've been testing with my fax machine that is using another number but would like to get avantfax running to utilize the ui for organization. Any help I would really appreciate. I could always rebuild but I don't think that's the issue.:smile5:

    as a side note I went through your wget(s) and rpm(s) you posted in your first reply and I don't see those in your updated script. Maybe they are called another way I'm not seeing.

    Well I copied contents from advantfax 3.3.3, change perms with some web settings for virtual directories and got the ui tool to work. Thanks anyway. Definitely an install issue with incrediblefax sorry to say.
  15. nunya New Member

    I can confirm it's still broken. 4 installs on 3 different servers (2 today). Exact same issue as the OP each time.

    This is the only errors I catch in the install script.

    No package php-pear-Mail-Mime available.
    No package php-pear-Mail available.
    No package php-pear-Net-SMTP available.
    No package php-pear-MDB2-Driver-mysql available.

    If I understand correctly, adding manually and then re-running the script should work?
  16. zzvikingzz New Member

    Thank you someone else having the same issue. I thought I was going crazy. My own fix was to move contents of /usr/src/avantfax-3.3.3/avantfax/ to /var/www/html/avantfax which is essentially the same files that should land there. You have to change perms and add virtuals web directories to the apache web server config.

    My advice is to wait until a fix comes due to the fact that these changes will be overwritten by any patches. We need more people to test this to confirm it's an "issue" with install. You can use faxit or faxondemand in the mean time to fax.

    :crazy:
  17. nunya New Member

    I manually installed the missing packages, re-ran the script, and I am able to fax out through AvantFax!. I still have to set up an inbound trunk to test receiving.

    Works great on 1.8-purple. Still no worky on 10-red.
  18. zzvikingzz New Member

    Can I ask what manual scripts did you rerun?
  19. wardmundy Nerd Uno

    The link was posted above, but here it is again.
  20. zzvikingzz New Member

    I know about that script. I'm talking about the "I manually installed the missing packages" that he mentions before running the sh script again.

Share This Page