chan_ss7 or libss7 work with asterisk v13?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Every E1 have only 30 voice channels so you need 30 CIC for them.

Find the detail of two E1 in same linkset
sigchan=16
cicbeginswith=1
channel=1-15
cicbeginswith=17
channel=17-31

;;;;;;2 E1 on same linkset ;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
sigchan=47
cicbeginswith=33
channel=32-46
cicbeginswith=49
channel=48-62

On Wed, Apr 20, 2016 at 6:33 PM, Kaloyan Kovachev <kkovachev at varna.net>
wrote:

> The channel arrangement depends on how it is on the peer configuration in
> your case. I have different configurations with signaling on CIC 1 and 16,
> with and without additional spans as CICs, so I doubt any of them will be
> of any help in your case.
>
> Looking at your config i assume you have one signaling link on span 1 and
> all 3 other spans are voice channels only. You should confirm with your
> peer if all CICs for the rest of the spans are used for voice or not, but
> if that is the case (signaling on first only and all the rest voice) you
> should have:
>
> #dahdi/system.conf
>
> span=1,1,0,ccs,hdb3,crc4
> bchan=1-15,17-31
> echocanceller=mg2,1-15,17-31
> # Signaling is either dchan or mtp2
> # If you are using Digium card you may define it as mtp2
> # not sure if Sangoma works with mtp2, so you should use dchan instead
> dchan=16
> #mtp2=16
>
> span=2,0,0,ccs,hdb3,crc4
> bchan=32-62
> echocanceller=mg2,32-62
>
> span=3,0,0,ccs,hdb3,crc4
> bchan=63-93
> echocanceller=mg2,63-93
>
> span=4,0,0,ccs,hdb3,crc4
> bchan=94-124
> echocanceller=mg2,94-124
>
> #chan_dahdi.conf
> cicbeginswith=1
> channel=1-15
> cicbeginswith=17 ; most carriers skip the signaling as CIC number
> channel=17-31
>
> cicbeginswith=33 ; confirm this with your peer
> channel=32-62
>
> cicbeginswith=65 ; confirm this with your peer
> channel=63-93
>
> cicbeginswith=95 ; confirm this with your peer
> channel=94-124
>
> sigchan=16
>
>
> !!! Always put signaling as your last line for the linkset - it only takes
> control for the CICs defined before it !!!
>
> That's why you get "RSC requested on unconfigured CIC" - your sigchan has
> no CIC 31 as it is defined after it
>
>
> On 2016-04-20 14:00, Goke Aruna wrote:
>
> Thanks Kolayan, I included the ss7.timers file in the dahdi conf file
>> already.
>>
>> Can you share you channel arrangement with me as am still getting the
>> warning below?
>>
>> [Apr 20 11:55:46] WARNING[24518]: sig_ss7.c:494 ss7_find_cic_gripe:
>> Linkset 1: SS7 RSC requested on unconfigured CIC/DPC 31/1312.
>> Resetting CIC 63
>> [Apr 20 11:55:46] WARNING[24518]: sig_ss7.c:494 ss7_find_cic_gripe:
>> Linkset 1: SS7 RSC requested on unconfigured CIC/DPC 63/1312.
>> Resetting CIC 63
>> [Apr 20 11:55:46] WARNING[24518]: sig_ss7.c:494 ss7_find_cic_gripe:
>> Linkset 1: SS7 RSC requested on unconfigured CIC/DPC 63/1312.
>> Resetting CIC 31
>> [Apr 20 11:55:46] WARNING[24518]: sig_ss7.c:494 ss7_find_cic_gripe:
>> Linkset 1: SS7 RSC requested on unconfigured CIC/DPC 31/1312.
>>
>> On Wed, Apr 20, 2016 at 10:47 AM, Kaloyan Kovachev <kkovachev at varna.net>
>> wrote:
>> What kind of problems you had? Have you used timers in your config?
>>
>> I am running several servers (with 2 or more trunks each) here for well
>> over 3 years (starting with Asterisk 11 and now 13) without any problems
>> and with peek loads that fill all 8 E1 on each server
>> Can't this be considered as "serious ss7 solution that will work properly"
>>
>> On 2016-04-19 20:27, Marcelo Pacheco wrote:
>>
>> I have my own extensive unpublished patch for Asterisk 1.8 that fixes
>> lots of SS7/ISUP issues for me. I tried Asterisk 11 with unpatched sources
>> and found lots of issues again. I couldn't even get a stable environment
>> with just all trunks aligned. So I'm not surprised you're having problems.
>> No, my patch isn't available, not it will for free. Most problems have been
>> reported to this list before, and haven't been addressed in the 3 years
>> passed since I reported them. So I don't advise anybody to use either ss7
>> solutions, you will have serious problems. The libss7 development process
>> is unable to deliver a serious ss7 solution that will work properly.
>>
>> On Tue, Apr 19, 2016 at 2:09 PM, Goke Aruna <goksie at gmail.com> wrote:
>>
>> On Tue, Apr 19, 2016 at 8:06 AM, Lucian Raducanu <
>> lucian.raducanu at aeroglobal.ro> wrote:
>>
>> networkindicator=national
>>
>> ss7_called_nai=national
>>
>> ss7_calling_nai=national
>>
>> usecallingpres=yes
>>
>> Thanks Lucian,
>>
>> I followed your config and came up with mine as contained below, the
>> error then result with a lot of messages.
>> you kind help is required.
>>
>> sipgw1*CLI> ss7 show linkset 1
>> SS7 flags: 0x0
>> SS7 linkset 1 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: 1659
>> SLS shift: 0
>> numlinks: 1
>> numsps: 1
>> ---------------------------------
>> Adjacent SP PC: 1312 STATE: DOWN
>> TRA: T19: not running T21: not running
>> Routes:
>> DPC State T6 T10
>> Link ADJ_PC:SLC: 1312:0 NetMngSLS: 0
>> State: INSERVICE, DOWN
>> STD Test: failed
>> Got, sent :
>> Inhibit:
>> Changeover: NO
>> Tx buffer: 1
>> Tx queue: 0
>> Retrans pos 0
>> CO buffer: 0
>> CB buffer: 0
>> Last FSN: 0
>> MTP3timers:
>>
>> [root at sipgw1 asterisk]# cat /etc/dahdi/system.conf
>> #autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
>> #autogenrated on 2016-04-19
>> loadzone=uk
>> defaultzone=uk
>>
>> #Sangoma A104 port 1 [slot:4 bus:15 span:1] <wanpipe1>
>> span=1,1,0,ccs,hdb3,crc4
>> bchan=1-15,17-31
>> echocanceller=mg2,1-15,17-31
>> hardhdlc=16
>>
>> #Sangoma A104 port 2 [slot:4 bus:15 span:2] <wanpipe2>
>> span=2,2,0,ccs,hdb3,crc4
>> bchan=32-46,48-62
>> echocanceller=mg2,32-46,48-62
>>
>> #Sangoma A104 port 3 [slot:4 bus:15 span:3] <wanpipe3>
>> span=3,3,0,ccs,hdb3,crc4
>> bchan=63-77,79-93
>> echocanceller=mg2,63-77,79-93
>>
>> #Sangoma A104 port 4 [slot:4 bus:15 span:4] <wanpipe4>
>> span=4,4,0,ccs,hdb3,crc4
>> bchan=94-108,110-124
>> echocanceller=mg2,94-108,110-124
>>
>> [root at sipgw1 asterisk]# cat chan_dahdi.conf
>> ;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
>> ;autogenrated on 2016-04-19
>> ;Dahdi Channels Configurations
>> ;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak
>>
>> [trunkgroups]
>>
>> [channels]
>> 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
>> callgroup=1
>> pickupgroup=1
>> immediate=no
>>
>> context=from-pstn
>> group=0
>> echocancel=no
>> signaling=ss7 ;this is ss7 signaling
>> ss7type=itu ;using the ITU variant
>> ss7_called_nai=national ;NAI for outgoing calls
>> ss7_calling_nai=national ;NAI for incoming calls
>> ss7_explictacm=yes ;ACM is send as soon as call enters the dial
>> plan...may not accepted yet though
>> linkset=1 ;arbitrary name for this set of channels
>> pointcode=1659 ;the point code for this system...aka SPC
>> adjpointcode=1312 ;the point code for the system that we are signaling
>> to... aka APC
>> defaultdpc=1312 ;the point code for the system that the CICs will be
>> negotiated with...aka DPC
>> networkindicator=national ;NI value for MTP3
>>
>> ;Sangoma A104 port 1 [slot:4 bus:15 span:1] <wanpipe1>
>> cicbeginswith=1
>> sigchan=16
>> channel=1-15,17-31
>>
>> ;Sangoma A104 port 2 [slot:4 bus:15 span:2] <wanpipe2>
>> cicbeginswith=33
>> channel=32-62
>>
>> ;Sangoma A104 port 3 [slot:4 bus:15 span:3] <wanpipe3>
>> cicbeginswith=65
>> channel=63-93
>>
>> ;Sangoma A104 port 4 [slot:4 bus:15 span:4] <wanpipe4>
>> cicbeginswith=95
>> channel=94-124
>>
>> Then I got the message below.
>>
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got LSSU of type 2 while link is in state 5. Re-Aligning
>> [Apr 19 17:55:09] WARNING[16574]: sig_ss7.c:1497 ss7_linkset: MTP2 link
>> down (SLC 0)
>> [Apr 19 17:55:10] ERROR[16574]: chan_dahdi.c:13709 dahdi_ss7_error: [1]
>> Received message destined for point code 0x3d, but we are 0x67b. Dropping
>> MTP2 link up (SLC 0)
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> sipgw1*CLI> ss7 show linkset 1
>> SS7 flags: 0x0
>> SS7 linkset 1 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: 1659
>> SLS shift: 0
>> numlinks: 1
>> numsps: 1
>> ---------------------------------
>> Adjacent SP PC: 1312 STATE: DOWN
>> TRA: T19: not running T21: not running
>> Routes:
>> DPC State T6 T10
>> Link ADJ_PC:SLC: 1312:0 NetMngSLS: 0
>> State: INSERVICE, DOWN
>> STD Test: failed
>> Got, sent :
>> Inhibit:
>> Changeover: NO
>> Tx buffer: 1
>> Tx queue: 0
>> Retrans pos 0
>> CO buffer: 0
>> CB buffer: 0
>> Last FSN: 0
>> MTP3timers:
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> [1] Got retransmission request sequence numbers greater than 127.
>> Retransmitting 1 message(s).
>> sipgw1*CLI>
>>
>> --
>> _____________________________________________________________________ --
>> Bandwidth and Colocation Provided by http://www.api-digital.com [1] [1]
>> --
>>
>> asterisk-ss7 mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-ss7 [2] [2]
>>
>> Links:
>> ------
>> [1] http://www.api-digital.com [1]
>> [2] http://lists.digium.com/mailman/listinfo/asterisk-ss7 [2]
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com [1] --
>>
>> asterisk-ss7 mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-ss7 [2]
>>
>
>
>
> Links:
> ------
> [1] http://www.api-digital.com
> [2] 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20160421/b72120b1/attachment-0001.html>


[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux