Asterisk Libwat patching

    Asterisk LibWAT Patching
     

    Currently, libwat requires a patched version of Asterisk to work. Libwat Asterisk patches can be found in the libwat-N.N.N/asterisk directory.

    Autoconf 

    You will need autoconf 2.60 or later to be able to patch Asterisk.

    If your Linux distribution contains autoconf, you can install it by doing:

    #>yum install autoconf (CentOs, Fedora Core, and other Red Hat Based distributions)
    #>apt-get install autoconf (Debian/Ubuntu based distributions)

    Otherwise you can download and install autoconf from:

    #>wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz
    #>tar xfz autoconf autoconf-2.68.tar.gz
    #>./configure
    #>make
    #>make install 

     Copy patches to asterisk source directory. Make sure to use the patch version that matches your version of asterisk:

    #>cd libwat-1.X.X/asterisk
    #>cp asterisk-1.8.7.1.patch /usr/src/asterisk-1.8.7.1/

    To patch your Asterisk installation:
    #>cd asterisk-1.8.7.1
    #>patch -p 1 < asterisk-1.8.7.1.patch

    Re-configure and re-compile your Asterisk:
    #>./bootstrap.sh
    #>./configure
    #>make clean
    #>make
    #>make install