[asterisk-ss7] LibSS7 and Sangoma A101 - SS7 HDLC Overrun Error

Geoffrey Yeoh pbyeoh at gelxis.co.uk
Thu Oct 11 15:28:34 CDT 2012


Hi,

I have a box with four A101 Sangoma E1 cards running Asterisk 1.8 with
FreePBX.  I've been getting this messages in CLI consistently

[2012-10-11 20:33:55] NOTICE[11474]: chan_dahdi.c:3426
my_handle_link_exception: SS7 got event: HDLC Abort(6) on span 1/0
[2012-10-11 20:33:55] NOTICE[11474]: chan_dahdi.c:3426
my_handle_link_exception: SS7 got event: HDLC Overrun(7) on span 1/0
[2012-10-11 20:33:57] NOTICE[11474]: chan_dahdi.c:3426
my_handle_link_exception: SS7 got event: HDLC Abort(6) on span 1/0
[2012-10-11 20:34:30] NOTICE[11474]: chan_dahdi.c:3426
my_handle_link_exception: SS7 got event: HDLC Abort(6) on span 1/0
[2012-10-11 20:34:31] NOTICE[11474]: chan_dahdi.c:3426
my_handle_link_exception: SS7 got event: HDLC Overrun(7) on span 1/0
[2012-10-11 20:34:33] NOTICE[11474]: chan_dahdi.c:3426
my_handle_link_exception: SS7 got event: HDLC Bad FCS(8) on span 1/0
[2012-10-11 20:35:06] NOTICE[11474]: chan_dahdi.c:3426
my_handle_link_exception: SS7 got event: HDLC Abort(6) on span 1/0


My wanpipe configuration is as follows:

[wanpipe1]
CARD_TYPE 	= AFT
S514CPU 	= A
CommPort 	= PRI
AUTO_PCISLOT 	= NO
PCISLOT 	= 4
PCIBUS  	= 2
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
TE_RX_SLEVEL    = 430
HW_RJ45_PORT_MAP = DEFAULT
LBO 		= 120OH
FE_TXTRISTATE	= NO
MTU 		= 1500
UDPPORT		= 9000
TTL		= 255
IGNORE_FRONT_END	= NO
TDMV_SPAN		= 1
TDMV_DCHAN		= 0
TE_AIS_MAINTENANCE = NO         #NO: defualt  YES: Start port in AIS Blue
Alarm and keep line down
                                #wanpipemon -i w1g1 -c Ttx_ais_off to
disable AIS maintenance mode
								#wanpipemon
-i w1g1 -c Ttx_ais_on to enable AIS maintenance mode  
TDMV_HW_DTMF		= YES		# YES: receive dtmf events from
hardware
TDMV_HW_FAX_DETECT	= YES		# YES: receive fax 1100hz events
from hardware
HWEC_OPERATION_MODE     = OCT_NORMAL    # OCT_NORMAL: echo cancelation
enabled with nlp (default) 
	
# OCT_SPEECH: improves software tone detection by disabling NLP (echo
possible)
	
# OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions. 
HWEC_DTMF_REMOVAL       = NO    # NO: default  YES: remove dtmf out of
incoming media (must have hwdtmf enabled)
HWEC_NOISE_REDUCTION    = NO    # NO: default  YES: reduces noise on the
line - could break fax
HWEC_ACUSTIC_ECHO       = NO    # NO: default  YES: enables acustic echo
cancelation
HWEC_NLP_DISABLE        = NO    # NO: default  YES: guarantees software tone
detection (possible echo)   
HWEC_TX_AUTO_GAIN       = 0     # 0: disable   -40-0: default tx audio level
to be maintained (-20 default)
HWEC_RX_AUTO_GAIN       = 0     # 0: disable   -40-0: default tx audio level
to be maintained (-20 default)  
HWEC_TX_GAIN            = 0		# 0: disable   -24-24: db values to
be applied to tx signal
HWEC_RX_GAIN            = 0		# 0: disable   -24-24: db values to
be applied to tx signal
[w1g1]
ACTIVE_CH	= ALL
TDMV_HWEC	= NO
MTU 		= 8

My chan_dahdi.conf is as follows:

signaling=ss7 ;this is ss7 signaling
ss7type=itu ;using the ITU variant
ss7_called_nai=dynamic ;NAI for outgoing calls
ss7_calling_nai=dynamic ;NAI for incoming calls
ss7_internationalprefix=00 ;international prefix value for incoming calls
ss7_nationalprefix=33 ;national prefix value for incoming calls
ss7_subscriberprefix=3364 ;subscriber prefix value for incoming calls
ss7_unknownprefix= ;unknown prefix value for incoming calls
;ss7_explictacm=yes ;ACM is send as soon as call enters the dial plan...may
not accepted yet though
ss7_autoacm=yes

linkset=1 ;arbitrary name for this set of channels
pointcode=6021 ;the point code for this system...aka SPC
adjpointcode=6000 ;the point code for the system that we are signaling to...
aka APC
defaultdpc=6000 ;the point code for the system that the CICs will be
negotiated with...aka DPC
networkindicator=national ;NI value for MTP3

cicbeginswith=1 ;the starting value of the CICs
channel=1-15 ;the channels that are CICs
cicbeginswith=17 ;the starting value of the CICs
channel=17-31 ;the channels that are CICs
sigchan=16

cicbeginswith=32 ;the starting value of the CICs
channel=32-46 ;the channels that are CICs
cicbeginswith=48 ;the starting value of the CICs
channel=48-62 ;the channels that are CICs
sigchan=47

cicbeginswith=63 ;the starting value of the CICs
channel=63-77 ;the channels that are CICs
cicbeginswith=79 ;the starting value of the CICs
channel=79-93 ;the channels that are CICs
sigchan=78

cicbeginswith=94 ;the starting value of the CICs
channel=94-108 ;the channels that are CICs
cicbeginswith=110 ;the starting value of the CICs
channel=110-124 ;the channels that are CICs
sigchan=109

and the system.conf:

loadzone=us
defaultzone=us

#Sangoma A101 port 1 [slot:4 bus:2 span:1] <wanpipe1>
span=1,1,0,ccs,hdb3
bchan=1-15,17-31
echocanceller=mg2,1-15,17-31
mtp2=16

#Sangoma A101 port 1 [slot:9 bus:2 span:2] <wanpipe2>
span=2,2,0,ccs,hdb3
bchan=32-46,48-62
echocanceller=mg2,32-46,48-62
mtp2=47

#Sangoma A101 port 1 [slot:10 bus:2 span:3] <wanpipe3>
span=3,3,0,ccs,hdb3
bchan=63-77,79-93
echocanceller=mg2,63-77,79-93
mtp2=78

#Sangoma A101 port 1 [slot:11 bus:2 span:4] <wanpipe4>
span=4,4,0,ccs,hdb3
bchan=94-108,110-124
echocanceller=mg2,94-108,110-124
mtp2=109

I've used the above configuration countless times with problems - I am
stumped.  

Any help and suggestions appreciated and welcome.



Best regards,
Geoffrey








More information about the asterisk-ss7 mailing list