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

Lucian Raducanu lucian.raducanu at aeroglobal.ro
Mon Dec 15 11:07:49 CST 2014


The chan_ss7 configs are:
system.conf:
loadzone = fr
defaultzone = fr

span=1,1,0,ccs,hdb3
bchan=1-31

span=2,0,0,ccs,hdb3
bchan=32-62

ss7.conf:
[linkset-RTC3]
 enabled => yes
 enable_st => no
 use_connect => no
 hunting_policy => seq_htl
 subservice => 8
 context => from-pstn
 language => da
 t35 => 15000,timeout
 variant => ITU
 combined => mated-pair

[linkset-RTC4]
 enabled => yes
 enable_st => no
 use_connect => no
 hunting_policy => seq_htl
 subservice => 8
 context => from-pstn
 language => en
 t35 => 15000,timeout
 variant => ITU
 combined => mated-pair

[link-l1]
 linkset => RTC3
 channels => 2-31
 schannel => 1
 firstcic => 1
 enabled => yes
 sltm => no
 echocancel => allways
 echocan_taps => 32
 echocan_train => 350

[link-l2]
 linkset => RTC4
 channels => 2-31
 schannel => 1
 firstcic => 1
 enabled => yes
 sltm => no
 echocancel => allways
 echocan_taps => 32
 echocan_train => 350

[host-Backup]
 enabled => yes
 default_linkset => RTC3
 opc => 0x872
 dpc => RTC3:0x8C,RTC4:0x96
 links => l1:1,l2:2

Regards,
Lucian
-----Original Message-----
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 4:34 PM
To: asterisk-ss7 at lists.digium.com
Subject: Re: [asterisk-ss7] libss7 - two linksets with different DPCs but the same CIC Number

If it's a combined linkset in chan_ss7, then it would be a single linkset (just linkset = 1) in libss7.

Perhaps if you post the working chan_ss7 config it will help so we can see what you're trying to set up.

On 2014/12/15 04:26 PM, Lucian Raducanu wrote:
> 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