Select Page

Asterisk 1.8 installation for ICTFAX

Asterisk 1.8 installation for ICTFAX

Commercial Support Services to Install & Set Up ICTFAX

Secure Online Payments and Credit Card Processing by Plimus

Asterisk 1.8 Installation

  1. SpanDSP 0.0.6pre18
  2. Asterisk 1.8.5
  3. Enable and verify SpanDSP

Install SpanDSP

  1. download spandsp software

    wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6pre18.tgz

  2. extract / compile and install

    tar xzf spandsp-0.0.6pre18.tgz

    cd spandsp-0.0.6

    ./configure --prefix=/usr

    make

    make install

Install Asterisk

  1. Prepare you system for asterisk

    useradd -c "Asterisk PBX" -d /var/lib/asterisk asterisk

    mkdir /var/run/asterisk

    mkdir /var/log/asterisk

    chown -R asterisk:asterisk /var/run/asterisk

    chown -R asterisk:asterisk /var/log/asterisk

    chown -R asterisk:asterisk /var/lib/php/session/

  2. download asterisk

    wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8-current.tar.gz

  3. extract / configure

    tar zxf asterisk-1.8-current.tar.gz

    cd asterisk-1.8*

    ./configure

  4. Issue following command and ensure that under the Resource Modules heading, the section for
    spandsp looks like this:
    [*] res_fax_spandsp
    If you see this instead:
    XXX res_fax_spandsp
    It means that Asterisk was not able to find the spandsp library.
    Once you have verified that Asterisk can see spandsp, you are ready to
    recompile. Save

    make menuselect

  5. now you can compile asterisk and install

    make

    make install

    make config

Enable and verify SpanDSP

  1. You can verify that spandsp is working with Asterisk by issuing the
    following command from the Asterisk CLI:
    *CLI> module show like res_fax_spandsp.so

    At this point the SendFAX() and ReceiveFAX() dialplan applications
    will be available to you.

    Disabling Digium FFA (Should You Want to Test spandsp)

    The Digium FFA library and the spandsp library are mutually exclusive.
    If you want to try out spandsp, you will need to ensure that Digium FFA does not
    load. To disable FFA, simply edit your /etc/asterisk/modules.conf file as follows:
    and save the changes and restart Asterisk.

    noload => res_fax_digium.so