[asterisk-ss7] Link Not Aligned

Junaid Saeed Uppal junaid.uppal at gmail.com
Tue Dec 15 14:18:30 CST 2009


Hi Guys,

This is the first time , I am posting , but have been reading the list
quietly for a while.

I have a Sangoma A102  , connecting to a Siemens D900 Switch , I cannot get
the link to align at all, The far end switch is  Siemens GSM [ SR 13 ]
switch  , config from the switch side is NCRC, NAT0 , HDB3 , NO Multiframe ,
BCR

[root at in-tickets libss7]# ./ss7linktest 16 itu 2259 2256
Starting link 1
Link state change: IDLE -> NOTALIGNED
Len = 4 [ ff ff 01 00 ]
FSN: 127 FIB 1
BSN: 127 BIB 1
>[0] LSSU SIO

Link state change: NOTALIGNED -> IDLE
Link state change: IDLE -> NOTALIGNED
Link state change: NOTALIGNED -> IDLE
Link state change: IDLE -> NOTALIGNED
Link state change: NOTALIGNED -> IDLE
Link state change: IDLE -> NOTALIGNED
Link state change: NOTALIGNED -> IDLE
Link state change: IDLE -> NOTALIGNED
Link state change: NOTALIGNED -> IDLE
Link state change: IDLE -> NOTALIGNED
Link state change: NOTALIGNED -> IDLE
Link state change: IDLE -> NOTALIGNED



[root at in-tickets libss7]# wanrouter hwprobe
-------------------------------
| Wanpipe Hardware Probe Info |
-------------------------------
1 . AFT-A102-SH : SLOT=14 : BUS=0 : IRQ=58 : CPU=A : PORT=1 : HWEC=64 : V=33
2 . AFT-A102-SH : SLOT=14 : BUS=0 : IRQ=58 : CPU=A : PORT=2 : HWEC=64 : V=33

Card Cnt: A101-2=1

I am using the following version of the software

1. Dahdi $Revision: 7539 $, $Date: 2009-11-09 20:32:45 +0100 (Mon, 09 Nov
2009) $
2. LibSS7 - trunk
3. Asterisk - 1.6.2
4. Centos 5.3
5. 2.6.18-128 Kernel

Everything compiles fine and i am able to load dahdi , but the SS7 link is
never aligned and the status is always down

/etc/dahdi/system.conf
---------------------------------

#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
#autogenrated on 2009-12-16
#Dahdi Channels Configurations
#For detailed Dahdi options, view /etc/dahdi/system.conf.bak
loadzone=us
defaultzone=us

#Sangoma A102 port 1 [slot:14 bus:0 span:1] <wanpipe1>
span=1,0,0,ccs,hdb3
bchan=1-15,17-31
mtp2=16
#Sangoma A102 port 2 [slot:14 bus:0 span:2] <wanpipe2>
span=2,0,0,ccs,hdb3
bchan=32-46,48-62
mtp2=47

/etc/wanpipe/wanpipe1.conf
---------------------------------------

[devices]
wanpipe1 = WAN_AFT_TE1, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 14
PCIBUS   = 0
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = NCRC4
FE_LINE = 1
TE_CLOCK = NORMAL
TE_REF_CLOCK    = 0
TE_SIG_MODE     = CCS
TE_HIGHIMPEDANCE = NO
LBO = 120OH
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
#TDMV_DCHAN = 16
#TDMV_HW_DTMF = YES
#TDMV_HW_FAX_DETECT = NO

[w1g1]
ACTIVE_CH = ALL
TDMV_HWEC = NO


/etc/wanpipe/wanpipe2.conf
---------------------------------------

[devices]
wanpipe2 = WAN_AFT_TE1, Comment

[interfaces]
w2g1 = wanpipe2, , TDM_VOICE, Comment

[wanpipe2]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 14
PCIBUS   = 0
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = NCRC4
FE_LINE = 2
TE_CLOCK = NORMAL
TE_REF_CLOCK    = 0
TE_SIG_MODE     = CCS
TE_HIGHIMPEDANCE = NO
LBO = 120OH
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 2
#TDMV_DCHAN = 16
#TDMV_HW_DTMF = YES
#TDMV_HW_FAX_DETECT = NO

[w2g1]
ACTIVE_CH = ALL
TDMV_HWEC = NO

/etc/asterisk/chan_dahdi.conf
-------------------------------------------

[trunkgroups]

[channels]
context=default
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
group=1
callgroup=1
pickupgroup=1
immediate=no

ss7type=itu
signalling=ss7
ss7_called_nai=national
ss7_calling_nai=national
networkindicator=national_spare
linkset=1
pointcode=2259
defaultdpc=2256
adjpointcode=2256
cicbeginswith=1
group=0
channel =>1-15,17-31
sigchan=16

ss7type=itu
signalling=ss7
ss7_called_nai=national
ss7_calling_nai=national
networkindicator=national_spare
linkset=2
pointcode=2260
defaultdpc=2256
adjpointcode=2256
sigchan=47
cicbeginswith=32
group=0
channel =>32-46,48-62


[root at in-tickets asterisk]# wanpipemon -i  w1g1 -c Ta

***** w1g1: E1 Alarms (Framer) *****

ALOS: OFF | LOS: OFF
RED: OFF | AIS: OFF
LOF: OFF | RAI: OFF

***** w1g1: E1 Alarms (LIU) *****

Short Circuit: OFF
Open Circuit: OFF
Loss of Signal: OFF


***** w1g1: E1 Performance Monitoring Counters *****

Line Code Violation : 0
Far End Block Errors : 0
CRC4 Errors : 0
FAS Errors : 0


Rx Level : > -2.5db


[root at in-tickets asterisk]# wanpipemon -i  w2g1 -c Ta

***** w2g1: E1 Alarms (Framer) *****

ALOS: OFF | LOS: OFF
RED: OFF | AIS: OFF
LOF: OFF | RAI: OFF

***** w2g1: E1 Alarms (LIU) *****

Short Circuit: OFF
Open Circuit: OFF
Loss of Signal: OFF


***** w2g1: E1 Performance Monitoring Counters *****

Line Code Violation : 0
Far End Block Errors : 0
CRC4 Errors : 0
FAS Errors : 0


Rx Level : > -2.5db

Kindly help me out.

Best Regards,
Junaid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20091216/b16a0217/attachment.htm 


More information about the asterisk-ss7 mailing list