libss7 CIC alignment configuration

Hi

I have asterisk 11.6 with libss7 1.0.2 2x A104 card.

I have been given 4 E1 from my carrier with the following CIC configuraiton

CIRCUIT 0 :
VOICE CIC: 1-15, 17-31
SIG=16

CIRCUIT 1:
VOICE CIC: 33-63

CIRCUIT 2:
VOICE CIC: 65-95

CIRCUIT 3:
VOICE CIC: 97-127

The carrier is saying that only the CIC 1-31 pass the continuity check. They are asking me to run CIC continuity check on my side, which I do not know how to perform.
Does anyone how to do the CIC continuity check from asterisk side?

doing a dahdi show channel for 125, 126 and 127 show that those channels are part of span 5, even though in my systems.conf file below, i have disabled span 5 -8.

dahdi restart also complains of the following

Any Pointers or help is greatly appreciated.

mgs*CLI> dahdi restart Destroying channels and reloading DAHDI configuration. > Initial softhangup of all DAHDI channels complete. > Final softhangup of all DAHDI channels complete. -- Unregistered channel -2 -- Unregistered channel 1 .... .... .... -- Unregistered channel 127 == Parsing '/etc/asterisk/chan_dahdi.conf': Found == Parsing '/etc/asterisk/users.conf': Found -- Reconfigured channel 1, SS7 signalling -- Reconfigured channel 2, SS7 signalling .... .... -- Reconfigured channel 123, SS7 signalling -- Reconfigured channel 124, SS7 signalling [Feb 11 23:30:27] WARNING[20023]: chan_dahdi.c:8036 handle_alarms: Detected alarm on channel 125: Red Alarm -- Reconfigured channel 125, SS7 signalling [Feb 11 23:30:27] WARNING[20023]: chan_dahdi.c:8036 handle_alarms: Detected alarm on channel 126: Red Alarm -- Reconfigured channel 126, SS7 signalling [Feb 11 23:30:27] WARNING[20023]: chan_dahdi.c:8036 handle_alarms: Detected alarm on channel 127: Red Alarm -- Reconfigured channel 127, SS7 signalling -- Automatically generated pseudo channel [Feb 11 23:30:27] WARNING[20023]: chan_dahdi.c:18577 process_dahdi: Ignoring any changes to 'userbase' (on reload) at line 23. [Feb 11 23:30:27] WARNING[20023]: chan_dahdi.c:18577 process_dahdi: Ignoring any changes to 'vmsecret' (on reload) at line 31. [Feb 11 23:30:27] WARNING[20023]: chan_dahdi.c:18577 process_dahdi: Ignoring any changes to 'hassip' (on reload) at line 35. [Feb 11 23:30:27] WARNING[20023]: chan_dahdi.c:18577 process_dahdi: Ignoring any changes to 'hasiax' (on reload) at line 39. [Feb 11 23:30:27] WARNING[20023]: chan_dahdi.c:18577 process_dahdi: Ignoring any changes to 'hasmanager' (on reload) at line 47. == Starting SS7 linkset on span 1 [1] Huh?! Got FISU in link state 1 MTP2 link up (SLC 0) --- SS7 Up --- Resetting CICs 1 to 15 Resetting CICs 17 to 31 Resetting CICs 33 to 63 Resetting CICs 65 to 95 Resetting CICs 97 to 127 Got reset acknowledgement from CIC 33 to 63. Got reset acknowledgement from CIC 97 to 127. Got reset acknowledgement from CIC 1 to 15. Got reset acknowledgement from CIC 17 to 31. Got reset acknowledgement from CIC 65 to 95.

here is my systems.conf file, i have commented out the last 4 spans since I will only be using 4 ports.

[code]loadzone=es
defaultzone=es

#Sangoma A104 port 1 [slot:4 bus:4 span:1]
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
echocanceller=mg2,1-15,17-31
#hardhdlc=16
mtp2=16

#Sangoma A104 port 2 [slot:4 bus:4 span:2]
span=2,2,0,ccs,hdb3,crc4
bchan=33-63
echocanceller=mg2,33-63
#hardhdlc=47

#Sangoma A104 port 3 [slot:4 bus:4 span:3]
span=3,3,0,ccs,hdb3,crc4
bchan=65-95
echocanceller=mg2,65-95
#hardhdlc=78

#Sangoma A104 port 4 [slot:4 bus:4 span:4]
span=4,4,0,ccs,hdb3,crc4
bchan=97-127
echocanceller=mg2,97-127
#hardhdlc=109

#Sangoma A104 port 1 [slot:4 bus:9 span:5]
##span=5,5,0,ccs,hdb3,crc4
##bchan=129-159
##echocanceller=mg2,129-159
#hardhdlc=140

#Sangoma A104 port 2 [slot:4 bus:9 span:6]
##span=6,6,0,ccs,hdb3,crc4
##bchan=161-191
##echocanceller=mg2,161-191
#hardhdlc=171

#Sangoma A104 port 3 [slot:4 bus:9 span:7]
##span=7,7,0,ccs,hdb3,crc4
##bchan=193-223
##echocanceller=mg2,193-223
#hardhdlc=202

#Sangoma A104 port 4 [slot:4 bus:9 span:8]
##span=8,8,0,ccs,hdb3,crc4
##bchan=225-255
##echocanceller=mg2,225-255
#hardhdlc=233[/code]

here is my /etc/asterisk/chan_dahdi.conf

[code][trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

context=from-pstn
group=0
echocancel=yes
signaling=ss7
ss7type=itu
ss7_called_nai=dynamic
ss7_calling_nai=dynamic
ss7_internationalprefix=00
ss7_nationalprefix=0
ss7_subscriberprefix=
ss7_unknownprefix=
ss7_explictacm=yes
linkset=1
pointcode=100
adjpointcode=200
defaultdpc=200
networkindicator=national
cicbeginswith=1
channel=1-15
sigchan=16
cicbeginswith=17
channel=17-31
cicbeginswith=33
channel=33-63
cicbeginswith=65
channel=65-95
cicbeginswith=97
channel=97-127[/code]