Digium Fax Drivers

Discussion in 'General' started by JennH, May 18, 2010.

  1. JennH

    Joined:
    May 18, 2010
    Messages:
    1
    Likes Received:
    0
    Does anyone know how to install the Commercial Digium Fax Drivers into Elastix?
     
  2. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    Yes just finished doing this took around 10min all up, I used the free licence and here are the steps I used
    WARNING REMOVE Remove app_fax.so or asterisk will crash
    /usr/lib/asterisk/modules folder - app_fax.so
    Buy the licence from digium store it is free

    now open you console I used Putty to ssh into mine and I use Elastix 2.0 with 64bit so replace where 64 is with 32 if you have that version

    # wget http://downloads.digium.com/pub/registe ... 4/register
    # chmod 500 /root/register
    # /root/register

    # cd /root
    # wget http://downloads.digium.com/pub/telepho ... ax/x86-64/\benchfax-1.1.0-x86_64 -O benchfax

    The bench mark will tell you what version you need to download for your cpu

    # chmod 500 /root/benchfax
    # /root/benchfax
    Use the 'Fax Selector' web utility to determine your required components.

    Depending upon your version of Asterisk and processor architecture,
    different components are required for the use of Fax For Asterisk. Digium
    provides a Fax Selector web utility in order to assist with choosing the
    correct components. The Fax Selector web utility should be viewed with a
    standard web browser and may be accessed via the following URL:

    http://www.digium.com/en/docs/FAX/faa-download.php

    Download and install the 'res_fax' build for your platform
    # wget http://downloads.digium.com/pub/telephony/fax/res_fax/\asterisk-1.6.0.14/x86-64/res_fax-1.6.0.14_1.1.6-x86_64.tar.gz
    # tar xzvf res_fax-1.6.0.14_1.1.6-x86_64.tar.gz
    # cp /root/res_fax-1.6.0.14_1.1.6-x86_64/res_fax.so /usr/lib64/asterisk/modules

    Download and install the 'res_fax_digium' build for your platform

    # wget http://downloads.digium.com/pub/telepho ... ax_digium/\asterisk-1.6.0.14/x86-64/\res_fax_digium-1.6.0.14_1.1.6-pentium4m_64.tar.gz
    # tar xzvf res_fax_digium-1.6.0.14_1.1.6-pentium4m_32.tar.gz
    # cp /root/res_fax_digium-1.6.0.14_1.1.6-pentium4m_32/res_fax_digium.so \/usr/lib64/asterisk/modules

    Now we need to restart asterisk

    service asterisk restart

    To see if digium fax is installed

    asterisk -rvvv
    fax show stats

    If you have the free version you should see
    FAX Statistics:
    ---------------

    Current Sessions : 0
    Transmit Attempts : 0
    Receive Attempts : 0
    Completed FAXes : 0
    Failed FAXes : 0

    Digium G.711
    Licensed Channels : 1
    Max Concurrent : 0
    Success : 0
    Switched to T.38 : 0
    Canceled : 0
    No FAX : 0
    Partial : 0
    Negotiation Failed : 0
    Train Failure : 0
    Protocol Error : 0
    IO Partial : 0
    IO Fail : 0

    Digium T.38
    Licensed Channels : 1
    Max Concurrent : 0
    Success : 0
    Canceled : 0
    No FAX : 0
    Partial : 0
    Negotiation Failed : 0
    Train Failure : 0
    Protocol Error : 0
    IO Partial : 0
    IO Fail : 0
     
  3. luisperosio

    Joined:
    Sep 9, 2010
    Messages:
    3
    Likes Received:
    0
    Re: Re:Digium Fax Drivers

    Dear Karma, Can you tell us how you got configured your indbound route and your sip trunk?
    I install Free Fax digium, but when I receive a fax is not being recognized.
    Thanks
     
  4. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    Re: Re:Digium Fax Drivers

    Need a little more information on what version of Elastix and Freepbx you are using
     
  5. luisperosio

    Joined:
    Sep 9, 2010
    Messages:
    3
    Likes Received:
    0
    Re: Re:Digium Fax Drivers

    I m using FreePBX 2.8.0.2´

    I have installed Free Fax Digium:

    FAX Statistics:
    ---------------

    Current Sessions : 0
    Transmit Attempts : 0
    Receive Attempts : 6
    Completed FAXes : 6
    Failed FAXes : 6

    Digium G.711
    Licensed Channels : 1
    Max Concurrent : 1
    Success : 0
    Switched to T.38 : 0
    Canceled : 0
    No FAX : 4
    Partial : 0
    Negotiation Failed : 0
    Train Failure : 2
    Protocol Error : 0
    IO Partial : 0
    IO Fail : 0

    Digium T.38
    Licensed Channels : 1
    Max Concurrent : 0
    Success : 0
    Canceled : 0
    No FAX : 0
    Partial : 0
    Negotiation Failed : 0
    Train Failure : 0
    Protocol Error : 0
    IO Partial : 0
    IO Fail : 0


    But cant receive any fax, I think may be my sip conf.
     
  6. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    Re: Re:Digium Fax Drivers

    In freepbx you will need to install the fax addon module and configure fax
     
  7. luisperosio

    Joined:
    Sep 9, 2010
    Messages:
    3
    Likes Received:
    0
    Re: Re:Digium Fax Drivers

    I have configured my fax as follow:

    Error CorrectionMode: Yes
    Max rate: 14400
    MIn 2400
    Alow legacy Yes

    I need to install NVfax anyway?
     
  8. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    Re: Re:Digium Fax Drivers

    What version of Elastix are you using ?

    The NVFax files on the forum will not work with Elastix 2.0

    If it is Elastix 2.0 you are using ,you will need to enable T38 pass-thru
     
  9. leungda

    Joined:
    Sep 12, 2010
    Messages:
    19
    Likes Received:
    0
    How can I enable the T38 pass-thru?
     
  10. gyrex

    Joined:
    Dec 9, 2010
    Messages:
    2
    Likes Received:
    0
    Hi,

    After a fresh install of Elastix 2.0.3; straight after installing the digium fax driver, asterisk won't start and the following error message continue looping:

    Asterisk died with code 1
    Automatically restarting Asterisk
    Asterisk ended with exit status 1

    I've been trying to figure this out for hours now but just noticed your warning to delete app_fax.so.

    I'll try deleting this and report back.
     
  11. gyrex

    Joined:
    Dec 9, 2010
    Messages:
    2
    Likes Received:
    0
    Asterisk works after deleting /usr/lib/asterisk/app_fax.so

    Thank you!!!
     
  12. tomspappola

    Joined:
    Feb 5, 2012
    Messages:
    5
    Likes Received:
    0
    Hi !

    I'm new to elastix and asterisk.

    I was able to install fax for asterisk.

    Can someone help on how to configure FAX RX from extensions and from trunks ?

    Thanks
    Tom
     
  13. tomspappola

    Joined:
    Feb 5, 2012
    Messages:
    5
    Likes Received:
    0
    Hi !

    I'm new to elastix and asterisk.

    I was able to install fax for asterisk.

    Can someone help on how to configure FAX RX from extensions and from trunks ?

    Thanks
    Tom
     

Share This Page