Install guide
www.atcom.cn
Add Zap Trunk
Use the SSH tool to open the file /etc/asterisk/zapata-auto.conf
You will see there are five channels here. Just like:
; Span 1: WCFXO/0 "Wildcard X100P Board 1" RED
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 1
context=from-zaptel
group=0
channel => 1
; Span 2: WCTDM/0 "Wildcard TDM400P REV E/F Board 1"
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 2
context=from-zaptel
group=0
channel => 2
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 3
context=from-zaptel
group=0
channel => 3
signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 4
context=from-internal
group=1
channel => 4
signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 5
context=from-internal
group=1
channel => 5
To use these five channels, we can use the separate via “1” “2” “3”… or use them as a
group via “g0” (group=0)
Go to FreePBX-->Set up --> Trunks and add a new Zap trunk.
Outbound Caller ID: Specify your caller ID when making outbound calls. No
use for FXO lines.
13/32