[asterisk-ss7] chan_ss7 or libss7 work with asterisk v13?

Goke Aruna goksie at gmail.com
Tue Apr 19 12:09:26 CDT 2016


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20160419/e54d543f/attachment-0001.html>


More information about the asterisk-ss7 mailing list