Netborder NCA Asterisk Support
==============================

NetBorder Call Analyzer is a patent-pending Call Progress Analysis engine 
that ensures fast and accurate automated call classification. 
It operates in SIP networks as a back to back user agent (B2BUA) 
which quickly and accurately determines the outcome of call attempts.

Please refer to http://wiki.sangoma.com/Netborder-Call-Analyzer

Asterisk Support

	Asterisk SIP stack needs to be patched in order to work with Sangoma NCA.

	Patch files are provided for each Asterisk Version.

	Asterisk 10  -> ftp://ftp.sangoma.com/nca/asterisk/netborder-cpd-10.8.0.patch
	Asterisk 1.8 -> ftp://ftp.sangoma.com/nca/asterisk/netborder-cpd-1.8.16.patch
	Asterisk 1.6 -> ftp://ftp.sangoma.com/nca/asterisk/netborder-cpd-1.6.2.24.patch
	Asterisk 1.4 -> ftp://ftp.sangoma.com/nca/asterisk/netborder-cpd-1.4.27.patch


Installation

1.	Download Asterisk from
    http://downloads.asterisk.org/pub/telephony/asterisk/releases

	Choose the latest Asterisk release. 

    The Asterisk sip stack does not change very often, thus
    the above patch should work for all Asterisk subversions.

	In case of patch failure pleaes contact Sangoma Support.

2.  Untar Asterisk intallation
	tar xfz asterisk-<version>.tgz
	cd asterisk-<version>.tgz 	

3.  Download Sangoma NCA Asterisk Patch
    
	Downalod it into the asterisk soruce directory, created in section 2.
	
    Please download appropriate patch based on Asterisk major version number.
    	Asterisk 10  -> ftp://ftp.sangoma.com/nca/asterisk/netborder-cpd-10.8.0.patch
		Asterisk 1.8 -> ftp://ftp.sangoma.com/nca/asterisk/netborder-cpd-1.8.16.patch
		Asterisk 1.6 -> ftp://ftp.sangoma.com/nca/asterisk/netborder-cpd-1.6.2.24.patch
		Asterisk 1.4 -> ftp://ftp.sangoma.com/nca/asterisk/netborder-cpd-1.4.27.patch

4.  Apply the patch

    patch -p1 < netborder-cpd-<version>.patch	

	Confirm that output of this command does not have any FAIL output.
	
5.  Build and Install Asterisk

	As this point standard Asterisk build and installation instructions apply.

	eg:
		./configure
		make
		make install