------------------------------------------------------------------------------
For latest docs please visit Sangoma Wiki
Sangoma Wiki: http://wiki.sangoma.com
------------------------------------------------------------------------------

Copyright (c) 1995-2009 Sangoma Technologies Inc.


Installation
------------

	./Setup install		#General Installation (Most Flexible)
or
	./Setup zaptel		#Install for Asterisk/CallWeaver/Zaptel/Dahdi
or
	./Setup bri			#Install SMG BRI card for Asterisk/CallWeaver


For those who prefer to use Makefile

	Asterisk/CallWeaver
	-------------------
		make dahdi DAHDI_DIR=<abs path to dahdi>
		make install
	or
		make zaptel ZAPDIR=<abs path to zaptel>
		make install

	FreeSwitch
	----------
		make openzap
		make install

	TDM API
	-------
		make tdmapi
		make install


Configuration
-------------

	1) create configuration files for Zaptel and Asterisk/CallWeaver
		-> /usr/sbin/wancfg_zaptel

	2) create configuration files for SMG BRI/SS7, Zaptel and Asterisk/CallWeaver
		-> /usr/sbin/wancfg_smg

	3) create configuration files for TDM API (Default for FreeSwitch) 
		-> /usr/sbin/wancfg_tdmapi

	2) create WANPIPE WAN/IP configuration files.
		-> /usr/sbin/wancfg


Operation
---------

	1) start,stop,restart individual/all devices and interfaces.
		-> /usr/sbin/wanrouter	
		-> /usr/sbin/wanrouter [start|stop|restart|status|hwprobe|help]

	2) debug line, protocol and driver problems.
		-> /usr/sbin/wanpipemon
		-> /usr/sbin/wanpipemon -p aft		#Help
		-> /usr/sbin/wanpipemon -g 		#GUI Debug Mode
		-> /usr/sbin/wanpipemon -i w1g1 -c Ta 	#View T1/E1 Alarms 


API Samples
------------

	1) aid in WANPIPE API development
		-> /etc/wanpipe/api

	
	

