Wancfg_zaptel - Configuration utility for Sangoma cards with Asterisk
- Running wancfg_zaptel in interactive mode.
- Running wancfg_zaptel in silent mode.
- Contact Us
Running wancfg_zaptel in interactive mode (Recommended) To run the wancfg_zaptel script in interactive mode: #>wancfg_zaptel
Running wancfg_zaptel in silent mode (Advanced)
An external script or Web GUI can be used to generate configuration parameters and run the wancfg_zaptel utility with a single command. For example: #>wancfg_zaptel --silent --no_boot --fe_media=T1 --signalling=pri_cpe --pri_switchtype=national Each parameter can be specified multiple types to apply different configuration to different ports. If a system has more ports than the number of specified parameters, the last parameter will be used for all the remaining ports. For example: If a system has an AFT-A104 (4 port T1/E1 card), executing: #>wancfg_zaptel --silent --no_boot --signalling=pri_cpe --fe_media=T1 --pri_switchtype=national --fe_media=E1 --pri_switchtype=euroisdn
1. Will configure the first port on the A104 as T1, and ports 2-4 as E1. 2. All ports will be configured as ISDN PRI lines (--signalling=pri_cpe). 3. First port will use a switchtype of National ISDN1 (--pri_switchtype=national). 4. Ports 2-4 will use a switchtype of Euroisdn (--pri_switchtype=euroisdn). Configuration options: Global options These parameters can only be specified once and will affect the general behaviour of the script.
--silent Required to run the script in non-interactive mode. --smg Enable configuration of Sangoma Media Gateway and Woomera. Required for Wanpipe SS7 and BRI cards. --no_boot Does not generate wanrouter startup scripts on system boot. --no_hwdtmf Hardware DTMF is not enabled on cards with hardware echo canceller. --no-zapata Does not generate /etc/asterisk/zapata.conf or /etc/asterisk/zapata-auto.conf --no-zaptel Does not generate /etc/zaptel.conf Zaptel related options These options can be specified multiple times to specify different configurations on each port. These configurations apply to T1/E1 cards and Analog cards. --zapata_context=<any option> Specifies a custom zapata context. Default:from-pstn. --zapata_group=<any option> Specifies a custom zapata group. Default:0. --hw_dtmf=<YES/NO> Enables/Disables Hard DTMF support on a per port basis. Requires cards with hardware echo cancellers.
T1/E1 related options These options can be specified multiple times, and are only applicable to Sangoma AFT-A10x cards. --fe_media=<T1/E1> Configures each port for T1 or E1. Default is T1. --fe_lcode=<B8ZS/HDB3/AMI> Configures the line coding for each port. Default is B8ZS for T1, HDB3 for E1. --fe_frame=<ESF/D4/CRC4/NCRC4> Configures the line framing for each port. Default is ESF for T1, CRC4 for E1. --fe_clock=<NORMAL/MASTER> Configures the clock for each port. Default is NORMAL. --signalling=<em/em_w/pri_cpe/pri_net/fxo_ls/fxo_gs/fxo_ks/fxs_ls/fxs_gs/fxs_ks> Configures the signalling protocol on each port. Default is pri_cpe --pri_switchtype=<national/dms100/4ess/5ess/euroisdn/ni1/qsig> Configures the switchtype for ISDN PRI lines. Default is national. --fractional_chans=<first_chan>-<last_chan> Configures the spans for fractional T1 or E1. e.g --fractional_chans=1-10
Analog Card related options These options can be specified multiple times, and are only applicable to Sangoma AFT-A200 and AFT-A400 cards. --tdm_law=<MULAW/ALAW> Configures the codec on each A200 or A400 card. Default is MULAW. Woomera/Sangoma Media Gateway related options. (BRI) These configurations apply to Sangoma BRI cards and T1/E1 cards running with Wanpipe SS7. --woomera_context=<any option> Specifies a custom woomera context. Default:from-pstn. --woomera_group=<any digit> Specifies a custom woomera group. Default:1.
Contact Us
For support on how to use the wancfg_zaptel script, contact techdesk@sangoma.com.
For feature requests, contact David Yat Sin <davidy@sangoma.com>
|