rendered paste body/etc/zaptel.conf
LX-PBX-01:/etc # cat zaptel.conf
fxsks=1
fxsks=2
fxoks=3
fxoks=4
loadzone=us
defaultzone=us
/etc/asterisk/zapata.conf
[channels]
busydetect = 1
busycount = 7
relaxdtmf = yes
callwaiting = yes
callwaitingcallerid = no
threewaycalling = yes
transfer = yes
cancallforward = yes
usecallerid = no
echocancel = yes
echocancelwhenbridged = yes
rxgain = 0.0
txgain = 0.0
group = 1
pickupgroup = 3-4
immediate = no
context = bell
signalling = fxs_ks
;callerid = asrecieved
channel = 1
; FXO Port(TO PSTN) FXS Port(TO HANDSET)
; Set signalling FXS(PSTN) - FXO(Handset)
; AMA Flag for log clarity
amaflags = billing
; Reset group, segregate services
group = 2
; Also changing the context(Class of Service)
context = internal
; Set Signalling
signalling = fxo_ks
mailbox = 8061
callerid = "xxxxxxxxxxxxxxxx" <xxxxxxxxxxx>
channel = 3
mailbox = 8062
callerid = "xxxxxxxxxxxxxxxx" <xxxxxxxxxxxx>
channel = 4
LX-PBX-01:/etc # ztcfg -vvvv
Zaptel Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXO Kewlstart (Default) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Slaves: 04)
4 channels configured.
ZT_CHANCONFIG failed on channel 1: No such device or address (6)