[asterisk-ss7] libss7 - two linksets with different DPCs but the same CIC Number

Kaloyan Kovachev kkovachev at varna.net
Tue Dec 16 05:08:20 CST 2014


Hi,
please show the output of "ss7 show cics 2"


On 2014-12-15 19:05, Lucian Raducanu wrote:
> Hi,
> 
> Tried this config and linkset 2 not coming up. Getting following 
> errors:
> [Dec 15 17:14:58] WARNING[3481]: sig_ss7.c:1600 ss7_linkset: GRS on
> unconfigured range CIC 2 - 31 PC 150
> [Dec 15 17:15:13] WARNING[3481]: sig_ss7.c:1600 ss7_linkset: GRS on
> unconfigured range CIC 2 - 31 PC 150
> 
> On ss7 show linkset 2 I get:
> ss7 show linkset 2
> SS7 flags: 0x0
> SS7 linkset 2 status: Down
> SS7 calling nai: 3
> SS7 called nai: 3
> SS7 nationalprefix:
> SS7 internationalprefix:
> SS7 unknownprefix:
> SS7 networkroutedprefix:
> SS7 subscriberprefix:
> Switch type: ITU
> Our point code: 2162
> SLS shift: 0
> numlinks: 1
> numsps: 1
> ---------------------------------
> Adjacent SP PC: 18 STATE: DOWN
> TRA:  SENT    T19: not running T21: not running
> Routes:
> DPC       State        T6       T10
> Link ADJ_PC:SLC: 18:0 NetMngSLS: 0
> State:      INSERVICE,  UP
> STD Test:  passed
> Got, sent :
> Inhibit:
> Changeover: NO
> Tx buffer:  0
> Tx queue:   0
> Retrans pos 0
> CO buffer:  0
> CB buffer:  0
> Last FSN:   1
> MTP3timers:
> 
> Regards,
> Lucian
> 
> -----Original Message-----
> From: asterisk-ss7-bounces at lists.digium.com
> [mailto:asterisk-ss7-bounces at lists.digium.com] On Behalf Of Lucian
> Raducanu
> Sent: Monday, December 15, 2014 4:26 PM
> To: asterisk-ss7 at lists.digium.com
> Subject: Re: [asterisk-ss7] libss7 - two linksets with different DPCs
> but the same CIC Number
> 
> Thanks,
> 
> system.conf is like you wrote. By mistake I paste the one used with
> chan_ss7.conf.
> 
> I will try this config and get back with the results.
> 
> Regards,
> Lucian
> 
> -----Original Message-----
> From: asterisk-ss7-bounces at lists.digium.com
> [mailto:asterisk-ss7-bounces at lists.digium.com] On Behalf Of Kaloyan
> Kovachev
> Sent: Monday, December 15, 2014 4:08 PM
> To: asterisk-ss7 at lists.digium.com
> Subject: Re: [asterisk-ss7] libss7 - two linksets with different DPCs
> but the same CIC Number
> 
> Hi,
> you have no dchan defined in system.conf so:
> 
> after "span=1,1,0,ccs,hdb3" add "dchan=1" or if you are using Digium
> card "mtp2=1" and same for the other port but for 32 and exclude them
> from bchans:
> 
> span=1,1,0,ccs,hdb3
> mtp2=1
> bchan=2-31
> 
> span=2,0,0,ccs,hdb3
> mtp2=32
> bchan=33-62
> 
> also in chan_dahdi.conf remove switchtype (it's ss7 not PRI), put
> group before the linkset and sigchan after the channels:
> 
> language=en
> signalling=ss7
> ss7type=itu
> ss7_called_nai=national
> ss7_calling_nai=national
> 
> ;;;;;;;;;;;;;;;;;;;;;;;;;;
> group = 1
> linkset = 1
> networkindicator=national
> context=from-pstn
> pointcode = 2162
> adjpointcode = 2
> defaultdpc = 140
> 
> cicbeginswith = 2
> channel = 2-31
> sigchan = 1
> 
> ;;;;;;;;;;;;;;;;;;;;;;;;;;
> group = 2
> linkset = 2
> networkindicator=national
> context=from-pstn
> 
> pointcode = 2162
> adjpointcode = 18
> defaultdpc = 150
> cicbeginswith = 2
> channel = 33-62
> sigchan = 32
> 
> 
> On 2014-12-15 15:30, Lucian Raducanu wrote:
> 
> Hi,
> 
> At this moment I'm using chan_ss7 for this setup with two linksets.
> There is no problem in having same CIC numbering on each E1. There is
> a problem with CGB and there is no BLO command I can use.
> 
> That is why I'm trying to config libss7. But I cannot find the proper
> config in order to have same CIC numbering on the 2 E1s. The error I
> get is:
> 
> WARNING[21451] sig_ss7.c: Linkset 1: SS7 RSC requested on unconfigured
> CIC/DPC 2/150
> 
> WARNING[21451] sig_ss7.c: Linkset 1: SS7 RSC requested on unconfigured
> CIC/DPC 3/150
> 
> and so on…
> 
> The linksets are combined.
> 
> Here is my dahdi system.conf:
> 
> loadzone = fr
> 
> defaultzone = fr
> 
> span=1,1,0,ccs,hdb3
> 
> bchan=1-31
> 
> #echocanceller=mg2,1-31
> 
> span=2,0,0,ccs,hdb3
> 
> bchan=32-62
> 
> #echocanceller=mg2,32-62
> 
> And my chan_dahdi.conf:
> 
> [trunkgroups]
> 
> annels]
> 
> language=en
> 
> context=from-pstn
> 
> switchtype=euroisdn
> 
> signalling = ss7
> 
> ss7type = itu
> 
> ss7_called_nai = national
> 
> ss7_calling_nai = national
> 
> linkset = 1
> 
> pointcode = 2162
> 
> adjpointcode = 2
> 
> defaultdpc = 140
> 
> cicbeginswith = 2
> 
> networkindicator=national
> 
> sigchan = 1
> 
> channel = 2-31
> 
> group = 1
> 
> context = from-pstn
> 
> linkset = 2
> 
> pointcode = 2162
> 
> adjpointcode = 18
> 
> defaultdpc = 150
> 
> cicbeginswith = 2
> 
> networkindicator=national
> 
> sigchan = 32
> 
> channel = 33-62
> 
> group = 2
> 
> context = from-pstn
> 
> Regards,
> 
> Lucian
> 
> FROM: asterisk-ss7-bounces at lists.digium.com
> [mailto:asterisk-ss7-bounces at lists.digium.com] ON BEHALF OF Gregory
> Massel
> SENT: Monday, December 15, 2014 1:06 PM
> TO: asterisk-ss7 at lists.digium.com
> SUBJECT: Re: [asterisk-ss7] libss7 - two linksets with different DPCs
> but the same CIC Number
> 
> I believe that the question was around one linkset with two DPCs and
> the same CIC number range.
> chan_ss7 refers to this as "combined" linksets and it does NOT support
> combined linksets with the same CIC range on each link.
> It gets all confused when trying to check for idle cic's and free
> cic's back to the idle list as it doesn't match both the CIC and DPC,
> only the CIC.
> 
> It will work if the linkset is not combined, however, if you receive
> signalling from an STP via the one signalling link in respect of CIC's
> related to the other link, it will get confused and such an
> installation is quite common where there is an STP on the other end.
> 
> By contrast, libss7 handles this situation perfectly.
> 
> PS. Not knocking chan_ss7; it's great. Just saying that, for the
> situation described below, it will not work properly.
> 
> On 2014/12/15 12:20 PM, Mitul Limbani wrote:
> 
> chan_ss7 also does, you need to define two different linksets to be
> able to do this.
> 
> Regards,
> Mitul Limbani,
> Business Head,
> Enterux Solutions Pvt. Ltd.
> 110 Reena Complex, Opp. Nathani Steel, Vidyavihar (W), Mumbai - 400
> 086. India http://www.enterux.com/ [1] http://www.entvoice.com/ [2]
> email: mitul at enterux.in
> DID: +91-22-71967196
> Cell: +91-9820332422
> 
> On Mon, Dec 15, 2014 at 3:49 PM, Gregory Massel <greg at csurf.co.za>
> wrote:
> 
> libss7 supports this but chan_ss7 doesn't.
> 
> On 2014/12/15 11:19 AM, Kaloyan Kovachev wrote:
> 
> Hi,
> it is absolutely normal to have such setup. Each linkset has it's own
> CIC numbering
> 
> On 2014-12-15 01:06, Lucian Raducanu wrote:
> 
> Hi,
> 
> Is there any possibility to set up on the same asterisk box 2 E1s with
> different DPCs but the same CICs? To be more explicit, the first E1
> has CICs from 1 to 31 and the second E1 also has CICs from 1 to 31.
> First CIC on each E1 is the signaling link.
> 
> On December 2007 there was reported the same problem, but no solution.
> 
> Regards,
> 
> Lucian
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com [3]
> --
> 
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-ss7 [4]
> 
> 
> 
> Links:
> ------
> [1] http://www.enterux.com/
> [2] http://www.entvoice.com/
> [3] http://www.api-digital.com
> [4] http://lists.digium.com/mailman/listinfo/asterisk-ss7
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-ss7
> 
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-ss7



More information about the asterisk-ss7 mailing list