Avant Fax beta RPM

Discussion in 'Announcements' started by rafael, Oct 22, 2008.

  1. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    Dear community,

    Finally, after all the great job done by ramocio and the community we have an rpm of avantfax. At the moment we have a beta package for testing purpose only. Feed back needed to fix possible bugs.

    Installation instructions
    Add the Elastix-Extras RPM Repository for CentOS:
    -Go to the admin web interfase
    - go to updates
    - add extra repositories
    Install avant fax
    - ssh to the server
    - run: yum install elastix-avantfax
    Login again to the web interface (you may need to restart the session)
    - Go to the extra section and you would see avantfax tab

    TO enter avantfax use:
    user: admin
    password: password

    Thank you all for your help and for testing and recommendations on how to improve this module.
     
  2. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    When installing the rpm it installs at default language of spanish
     
  3. pawels

    Joined:
    May 19, 2008
    Messages:
    51
    Likes Received:
    0
    Excellent work.
    Regards,
    Pawe
     
  4. Eham

    Joined:
    Nov 16, 2007
    Messages:
    42
    Likes Received:
    0
    I'd like to share some of my experiences since installing AvantFax on my ELX-3000:


    So far this module works well. I have problems with faxes being captured and saved into the "Inbox" when I've already setup the ttyIAX extension in the normal Elastix virtual fax section.

    When receiving the fax in Avantfax I notice my ttyIAX goes into receiving mode, when completed it sends to my email and does not put the PDF into the AvantFax "Inbox".

    Sending fax works well so far, once I modify the cover page template and graphics. Just make sure you specify the ttyIAX extension for the user or it'll use another extension which will use the wrong caller ID and name.

    This is how I have things setup currently:

    - I have a SIP trunk our softswitch (G.711 Codec works great at 9600bps)
    - setup IAX2 extensions for fax lines
    - setup virtual Fax in Elastix to the IAX2 extensions

    Go into Avantfax module:
    - Made a fax category for the user
    - Add new modem to the ttyIAX modem assigned in virtual fax
    - Add new user and choose the modem and category you made
    - Add applicable user permissions

    I did not specify CUPS/lpr printer for the modem.

    Has anyone else been able to recieve faxes and have them saved in "inbox"? If so please let me know if I should do something different.
     
  5. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    Thank you guys for the feedback :)
     
  6. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Eham, if you want the faxes to go to inbox you have to put this three lines at the end of /var/spool/hylafax/etc/config.ttyIAX* for every modem

    FaxrcvdCmd: bin/faxrcvd.php
    DynamicConfig: bin/dynconf.php
    UseJobTSI: true
     
  7. Eham

    Joined:
    Nov 16, 2007
    Messages:
    42
    Likes Received:
    0
    Thank you Ramoncio but this didn't work for me.. I saw the ttyIAX go into receiving mode but it did not email to me or show up in Avantfax's Inbox. Also when I sent a fax with Avantfax I got an email:

    Fax: OK
    Failed to create PDF for Archive:-(

    To: (edited out #)


    I also tried specifying the full paths:

    FaxrcvdCmd: /var/spool/hylafax/bin/faxrcvd.php
    DynamicConfig: /var/spool/hylafax/bin/dynconf.php

    With no avail.
     
  8. gregec

    Joined:
    Jul 24, 2008
    Messages:
    15
    Likes Received:
    0
    I am getting same error

    Failed to create PDF for Archive

    I think this is due to file permissions..
     
  9. chocho

    Joined:
    Nov 7, 2007
    Messages:
    74
    Likes Received:
    0
    Yes,
    The probllem is in this:
    Code:
    	mkdirs> Error creating directory /var/www/html/avantfax/faxes/sent
    If you want make directory by hand and then should work.
    At least works for me.
     
  10. saleh

    Joined:
    Apr 18, 2007
    Messages:
    249
    Likes Received:
    0
    Please check, if the /var/www/html/avantfax/faxes and /var/www/html/avantfax/tmp have the right permissions

    # cd /var/www/html/avantfax/
    # ls -la
    ...........
    drwxrwx--- 4 asterisk uucp 4096 Oct 20 10:00 faxes
    drwxrwx--- 59 asterisk uucp 4096 Oct 30 08:59 tmp

    to fix the permissions

    # chown -R asterisk:uucp /var/www/html/avantfax/faxes
    # chown -R asterisk:uucp /var/www/html/avantfax/tmp
    # chmod -R 777 /var/www/html/avantfax/faxes /var/www/html/avantfax/tmp

    Best Regards,
    Saleh
     
  11. Eham

    Joined:
    Nov 16, 2007
    Messages:
    42
    Likes Received:
    0
    Thanks guys.. I am able to receive the fax in the INBOX now. Like you said,
    I added the lines to the ttyiax.config, changed permissions and I'm good to go.



    I know this is beta and an addon module for Elastix. Though is it possible to access this module outside of the Elastix GUI on it's own, aside from https://URL/?menu=avantfax ?
     
  12. saleh

    Joined:
    Apr 18, 2007
    Messages:
    249
    Likes Received:
    0
    Yes, you can access the AvantFax Web Interface outside of the Elastix GUI =>

    https://URL/avantfax
     
  13. ignazio

    Joined:
    Nov 6, 2008
    Messages:
    4
    Likes Received:
    0
    Hello,

    i'm a newbie so sorry if write something wrong...i'm just trying the avantfax module but i want to ask you something...

    1. I create a new Virtual fax with elastix (Iax2...VirtualFax)...how i can find the new modem in the avant fax interface? I only see the first modem that is the unique modem i have when i add the rpm avantfax.
    2. Can we add in the elastix the capability to customize in graphic mode the front page of the fax sent using avantfax?
    3. I believe we need most integration between Fax managemnt of elastix and avantfax. If i modify fax in elastix i would like to see all in avantfax...


    sorry for my bad english i hope you understand me

    bye
     
  14. saleh

    Joined:
    Apr 18, 2007
    Messages:
    249
    Likes Received:
    0
    Login on AvantFax with your "admin" UserName then go the AvantFAX - Admin Control Panel => Menu => Configure => Modems
    then add your modem
     
  15. bmacias

    Joined:
    Sep 27, 2007
    Messages:
    205
    Likes Received:
    0
    Hello:

    I have been seeing your posts, congratulations by help to better this RPM, this bug I fix in elastix-avantfax beta2, It will be by this week.

    Regards.
     
  16. kileak

    Joined:
    Mar 25, 2008
    Messages:
    20
    Likes Received:
    0
    Hi There,

    I was able to install the RPM but it was not shown under the "Extras" tab. I was able to login to the webGUI but I was unable to sent or receive faxes.May i know did i do anything wrong.

    The log file was as per below:-
    11.11.2008 23:41 send_mail> ':-( fax: 8926605 11.11.2008 23:41' sent to 'francischung@mcsb-pg.com' from 'root@localhost' - /var/www/html/avantfax/tmp/2008-11-11-8926605-234150/fax.pdf (8926605.pdf)
    11.11.2008 23:41 convert2pdf> created /var/www/html/avantfax/tmp/2008-11-11-8926605-234150/fax.pdf in 7.2ms
    11.11.2008 23:41 notify> Executing: doneq/q4 failed 0:17 (4)

    I also receive mail as per below:-
    :-( Problem sending the fax.:

    To: 8926605

    How can i ammend this prob?
     
  17. garcia.ronald.d

    Joined:
    Sep 24, 2008
    Messages:
    134
    Likes Received:
    0
    Hello to every one, I changed the permission like saleh said but i note this:
    drwxrwx--- 2 asterisk uucp 4096 Oct 30 08:59 tmp and not
    drwxrwx--- 59 asterisk uucp 4096 Oct 30 08:59 tmp

    I send the fax but in the log on avantfax appears this:
    17.11.2008 09:31 send_mail> ':-( formateo fallido fax: 3002 17.11.2008 10:01' sent to 'demo1@corpolinux.net' from 'root@localhost' - /var/www/html/avantfax/tmp/2008-11-17-3002-100114/fax.pdf (3002.pdf)
    17.11.2008 09:31 convert2pdf> created /var/www/html/avantfax/tmp/2008-11-17-3002-100114/fax.pdf in 0ms
    17.11.2008 09:31 notify> Created company '3002' with cid '4'
    17.11.2008 09:31 notify> Executing: doneq/q18 format_failed (4)

    Can anybody help me?
    Thanks
     
  18. garcia.ronald.d

    Joined:
    Sep 24, 2008
    Messages:
    134
    Likes Received:
    0
    Hello,

    I can send and receive fax, after change the permission i have to restart the asterisk and i can see the fax in avantfax's inbox but the fax is not sending to email.

    Anybody can help me with this issues?

    Thanks
     
  19. Eham

    Joined:
    Nov 16, 2007
    Messages:
    42
    Likes Received:
    0
    Garcia,

    I have the same problem, but I'm not quite sure this is an 'issue' maybe a feature. I'd like to have the usual email parsed -and- have the PDF arrive in the INBOX too.
     
  20. garcia.ronald.d

    Joined:
    Sep 24, 2008
    Messages:
    134
    Likes Received:
    0
    I can see the fax in the email, I have to configure the email associated with the ttyiax in the "configurar modem" in the avantfax.

    Now i cant see the faxes in the fax visor "visor de fax" in the Elastix.

    What can I do?

    Thanks
     

Share This Page