libss7 linkset is down

Hi,

We are using
asterisk-1.6.1.6
dahdi-linux-complete-2.6.0+2.6.0
libss7-1.0.2
wanpipe-7.0.3

We have 8 E1s from Telco with signalling defined on Ist and 6th E1. The issue we are facing is that links are down and not coming up. as per telco they have shared the cic ranges as follows:

0-31
32-63
64-95
96-127
128-159
160-191
192-223
224-255

they are using 32 ports per E1 while in dahdi we can use 31 ports. So we have defined cic rang as below:
• 0-30
• 32-62
• 64-94
• 96-126
• 128-158
• 160-190
• 192-222
• 224-254

Telco is saying they can not define cic range as of ours as this is not standard. can anyone advise what to do in this situation?

Regards,
Adnan

I think you are being given invalid information. E1 systems cannot use channel 0, as that is used for synchronisation and alarms. Basically, without channel 0 being used for synchronisation, there is no basis on which the receiver can identify the other channels.

the above information are of cic. We have mapped cic 0 to physicl port 1. below is my chan_dahdi.conf

[trunkgroups]
[channels]
echocancel=yes
echocancelwhenbridged=yes
group=1
rxgain=10
txgain=10
context=default
signalling=ss7
ss7type=itu
ss7_called_nai=national
ss7_calling_nai=national

pointcode=7591 ; The decimal form of your point code. If you are using an
; ANSI linkset, you can use the xxx-xxx-xxx notation for
; specifying your linkset pointcode.
adjpointcode=5168 ; The point code of the switch adjacent to your linkset
defaultdpc=5168 ; The point code of the switch you want to send your ISUP
; traffic to. A lot of the time, this is the same as your
; adjpointcode.
networkindicator=national

linkset=1
cicbeginswith=0
channel=1-15
cicbeginswith=16
channel=17-31
sigchan=16

cicbeginswith=32
channel=32-46
cicbeginswith=48
channel=48-62

cicbeginswith=64
channel=63-77
cicbeginswith=80
channel=79-93

cicbeginswith=96
channel=94-108
cicbeginswith=112
channel=110-124

cicbeginswith=128
channel=125-139
cicbeginswith=144
channel=141-155

linkset=2
cicbeginswith=160
channel=156-170
cicbeginswith=176
channel=172-186
sigchan=171

cicbeginswith=192
channel=187-201
cicbeginswith=208
channel=203-217

cicbeginswith=224
channel=218-232
cicbeginswith=240
channel=234-248

ss7_internationalprefix=000
ss7_nationalprefix=0

and system.conf is :-

#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
#autogenrated on 2013-05-07
#Dahdi Channels Configurations
#For detailed Dahdi options, view /etc/dahdi/system.conf.bak

loadzone=us
defaultzone=us

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

#Sangoma A108 port 2 [slot:8 bus:5 span:2]
span=2,2,0,ccs,hdb3,crc4
bchan=32-46,48-62
echocanceller=mg2,32-46,48-62

#Sangoma A108 port 3 [slot:8 bus:5 span:3]
span=3,3,0,ccs,hdb3,crc4
bchan=63-77,79-93
echocanceller=mg2,63-77,79-93

#Sangoma A108 port 4 [slot:8 bus:5 span:4]
span=4,4,0,ccs,hdb3,crc4
bchan=94-108,110-124
echocanceller=mg2,94-108,110-124

#Sangoma A108 port 5 [slot:4 bus:5 span:5]
span=5,5,0,ccs,hdb3,crc4
bchan=125-139,141-155
echocanceller=mg2,125-139,141-155

#Sangoma A108 port 6 [slot:4 bus:5 span:6]
span=6,6,0,ccs,hdb3,crc4
bchan=156-170,172-186
echocanceller=mg2,156-170,172-186
mtp2=171

#Sangoma A108 port 7 [slot:4 bus:5 span:7]
span=7,7,0,ccs,hdb3,crc4
bchan=187-201,203-217
echocanceller=mg2,187-201,203-217

#Sangoma A108 port 8 [slot:4 bus:5 span:8]
span=8,8,0,ccs,hdb3,crc4
bchan=218-232,234-248
echocanceller=mg2,218-232,234-248


are the configs correct or do i need to change anything?

Regards,
Adnan