[asterisk-ss7] number of sigchans on single linkset

Abdul Basit basit.engg at gmail.com
Mon Jun 4 05:32:24 CDT 2012

Dear list,

After many unsuccessful tries with libss7, I tried with chan_ss7 and all my
signalling links got up

ss7srv*CLI> core show version
Asterisk built by root @ ss7srv on a i686 running Linux on
2012-03-21 11:17:53 UTC

ss7srv*CLI> ss7 version
chan_ss7 version 1.4.3

ss7srv*CLI> ss7 link status
linkset siuc, link l1/16 INSERVICE, sls 0, total:    179,     16
linkset siuc, link l2/16 INSERVICE, sls 1, total:    276,     16
linkset siuc, link l3/16 INSERVICE, sls 2, total:    203,     16
linkset siuc, link l4/16 INSERVICE, sls 3, total:    247,     16
linkset siuc, link l6/16 INSERVICE, sls 4, total:    127,     16
linkset siuc, link l8/16 INSERVICE, sls 5, total:    166,     16

Kaloyan, special thanks to you.

There was some issue with provider as well. They recreated DB at their end
with 6 signalling links.
And as you suggested I disabled all existing signalling links in both
/etc/dahdi/system.con and /etc/asterisk/chan_dahdi.conf and enabled only
last 2 signalling links. SS7 was up with libss7 using these 2 SLCs.

Again I setup chan_dahdi.conf back with all 6 signalling links.

[root at ss7srv asterisk]# dahdi_cfg -vvvt | grep MTP
DAHDI Tools Version - 2.3.0
Channel 16: MTP2  (Default) (Echo Canceler: none) (Slaves: 16)
Channel 47: MTP2  (Default) (Echo Canceler: none) (Slaves: 47)
Channel 78: MTP2  (Default) (Echo Canceler: none) (Slaves: 78)
Channel 109: MTP2 (Default) (Echo Canceler: none) (Slaves: 109)
Channel 171: MTP2 (Default) (Echo Canceler: none) (Slaves: 171)
Channel 233: MTP2 (Default) (Echo Canceler: none) (Slaves: 233)

  == Starting SS7 linkset on span 1
  == Registered channel type 'DAHDI' (DAHDI Telephony Driver w/SS7)
  == Manager registered action DAHDITransfer
  == Manager registered action DAHDIHangup
  == Manager registered action DAHDIDialOffhook
  == Manager registered action DAHDIDNDon
  == Manager registered action DAHDIDNDoff
  == Manager registered action DAHDIShowChannels
  == Manager registered action DAHDIRestart
 Loaded chan_dahdi.so => (DAHDI Telephony Driver w/SS7)
Huh?! Got FISU in link state 1
Huh?! Got FISU in link state 1
Huh?! Got FISU in link state 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 47
Resetting CICs 225 to 239
Resetting CICs 241 to 255
Got reset acknowledgement from CIC 1 to 15.
Got reset acknowledgement from CIC 113 to 127.
Got reset acknowledgement from CIC 33 to 47.
Got reset acknowledgement from CIC 177 to 191.
Got reset acknowledgement from CIC 225 to 239.
MTP2 link up (SLC 3)
MTP2 link up (SLC 1)
MTP2 link up (SLC 2)

Only first 4 SLCs got connected. This is libss7 limitation even I
recompiled it with

libss7-1.0.2/ss7_internal.h:#define SS7_MAX_LINKS        16
asterisk- NUM_DCHANS 16

Anyway, chan_ss7 worked now. If some one can suggest any update on libss7 I
can give it a try.

I truncated the message tail because message size was above 40k and was not
yet got approval from moderator after many days.


Abdul Basit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20120604/88a5632f/attachment.htm>

More information about the asterisk-ss7 mailing list