Multiple PRI

Hello. Recently my asterisk implementation out grew the first PRI, and I added a second, using two Sangoma A101 cards. I didnt know how to setup zaptel.conf and zapata.conf, so here is an example:

ZAPTEL.CONF

loadzone=us
defaultzone=us

# SPAN 1 declaration
span=1,1,0,esf,b8zs
# SPAN 1 definition
bchan=1-23
dchan=24

# FXO/FXS definitions - these count as a SPAN
fxoks=25-28
fxsks=29-32

# SPAN 3 Declaration
span=3,3,0,esf,b8zs
# SPAN 3 definition
bchan=49-71
dchan=72

ZAPATA.CONF

[channels]
language=en
context=incoming
switchtype=national
pridialplan=unknown
signalling=pri_cpe
faxdetect=incoming
usecallerid=yes
echocancel=yes
callerid=asreceived
hidecallerid=no
usecallingpres=yes
echocancelwhenbridged=yes
echotraining=800
group=0
channel=1-23,49-71

; Incoming POTS lines
signalling=fxs_ks
group=1
channel=29-32

Hi,
I’m not 100% sure on this as I’ve never had more than one card in a system so far, but shouldn’t the channels be sequential?
You have a gap, channels 33-48 are not defined.

Try looking at the logs or dmesg etc., as the zap modules load & see what channel numbers are reported by the various modules.

It’s correct. The analog channels count as a span, which is why i defined the second PRI as span 3. Therefore you need to start where the second span would leave off. I spent hours on this issue, it’s correct.