SS7 with 2 link on same linkset

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

 



Hi,

 

I have a 16 port card (Sangoma), all E1 works good, but when I tried to enable a second link it show a lot of notice with

 

SS7 got event: HDLC Abort(6) on span 1/1

As far as I know this is because hardware (cable, conecctions, etc) on wanpipemin signal is Rx Level        : > -2.5db.

Other problem is irq this was solve with chunk_size=80 en dahdi when compiled (see below).

 

I already tried:

I compile wanrouter and dahdi with chunk size 80 to solve IRQ problem, this works because same problem when enabling more than 9 ports, after change to chunk_size=80 problem was solve, I can enable 16 ports, but just with 1 link.

using slc=0 and slc=1 on chan_dahdi with no results.

IRQBalance enable and disable, and manual selection of SMP_afinity doesn’t change anything.

On chan_dahdi I tried using span number 1 for all as the config below, and span 1 to 16 with no change, clock sync on channel 1 of 1 port to span 1,1.

 

Ej:

span=1,1,0,ccs,hdb3,crc4 on ports with link.

span=1,0,0,ccs,hdb3,crc4 on ports with just cic channels.

 

Tried with

span=1,1,0,ccs,hdb3,crc4 port with link

span=2,0,0,ccs,hdb3,crc4

.

.

.

span=9,1,0,ccs,hdb3,crc4 port with link

.

.

.

span=16,0,0,ccs,hdb3,crc4

 

and same results.

 

 

Here is my wanpipeX.conf

Changing CRC to NCRC have no efect, HWEC YES or NO works either way. TE_CLOCK should be normal even on the port with link, as far as I know.

HW_DTMF should be allways disable. And D_CHAN=0

 

#================================================

# WANPIPE1 Configuration File

#================================================

#

# Date: Wed Dec  6 20:29:03 UTC 2006

#

# Note: This file was generated automatically

#       by /usr/local/sbin/setup-sangoma program.

#

#       If you want to edit this file, it is

#       recommended that you use wancfg program

#       to do so.

#================================================

# Sangoma Technologies Inc.

#================================================

 

[devices]

wanpipe1 = WAN_AFT_TE1, Comment

 

[interfaces]

w1g1 = wanpipe1, , TDM_VOICE, Comment

 

[wanpipe1]

CARD_TYPE       = AFT

S514CPU         = A

CommPort        = PRI

AUTO_PCISLOT    = NO

PCISLOT         = 4

PCIBUS          = 12

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            = NO            # YES: receive dtmf events from hardware

TDMV_HW_FAX_DETECT              = NO            # 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       = YES

MTU             = 8

 

This is dahdi/system.conf

Tried with span=1 to 16 and span=1 to all ports. Second number to 1 on port 1 and 9 (ports with link), and 1 on port 1 and 2 on port 9.

#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit

#autogenrated on 2020-03-18

#Dahdi Channels Configurations

#For detailed Dahdi options, view /etc/dahdi/system.conf.bak

loadzone=cl

defaultzone=cl

 

#Sangoma A116 port 1 [slot:4 bus:12 span:1] <wanpipe1>

span=1,1,0,ccs,hdb3,crc4

bchan=2-31

mtp2=1

 

#Sangoma A116 port 2 [slot:4 bus:12 span:2] <wanpipe2>

span=1,0,0,ccs,hdb3,crc4

bchan=32-62

 

#Sangoma A116 port 3 [slot:4 bus:12 span:3] <wanpipe3>

span=1,0,0,ccs,hdb3,crc4

bchan=63-93

 

#Sangoma A116 port 4 [slot:4 bus:12 span:4] <wanpipe4>

span=1,0,0,ccs,hdb3,crc4

bchan=94-124

 

#Sangoma A116 port 5 [slot:4 bus:12 span:5] <wanpipe5>

span=1,0,0,ccs,hdb3,crc4

bchan=125-155

 

#Sangoma A116 port 6 [slot:4 bus:12 span:6] <wanpipe6>

span=1,0,0,ccs,hdb3,crc4

bchan=156-186

 

#Sangoma A116 port 7 [slot:4 bus:12 span:7] <wanpipe7>

span=1,0,0,ccs,hdb3,crc4

bchan=187-217

 

#Sangoma A116 port 8 [slot:4 bus:12 span:8] <wanpipe8>

span=1,0,0,ccs,hdb3,crc4

bchan=218-248

 

#Sangoma A116 port 1 [slot:5 bus:12 span:9] <wanpipe9>

span=1,0,0,ccs,hdb3,crc4

bchan=250-279

mtp2=249

 

#Sangoma A116 port 2 [slot:5 bus:12 span:10] <wanpipe10>

span=1,0,0,ccs,hdb3,crc4

bchan=280-310

 

#Sangoma A116 port 3 [slot:5 bus:12 span:11] <wanpipe11>

span=1,0,0,ccs,hdb3,crc4

bchan=311-341

 

#Sangoma A116 port 4 [slot:5 bus:12 span:12] <wanpipe12>

span=1,0,0,ccs,hdb3,crc4

bchan=342-372

 

#Sangoma A116 port 5 [slot:5 bus:12 span:13] <wanpipe13>

span=1,0,0,ccs,hdb3,crc4

bchan=373-403

 

#Sangoma A116 port 6 [slot:5 bus:12 span:14] <wanpipe14>

span=1,0,0,ccs,hdb3,crc4

bchan=404-434

 

#Sangoma A116 port 7 [slot:5 bus:12 span:15] <wanpipe15>

span=1,0,0,ccs,hdb3,crc4

bchan=435-465

 

#Sangoma A116 port 8 [slot:5 bus:12 span:16] <wanpipe16>

span=1,0,0,ccs,hdb3,crc4

bchan=466-496

 

and asterisk/chan_dahdi.conf

Tried with slc=0 below sigchan=1 and slc=1 below sigchan=249. Now is commented because this is the only way I can have all port UP and 1 link UP.

;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit

;autogenrated on 2020-03-17

;Dahdi Channels Configurations

;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak

 

[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

 

;Sangoma A116 port 1 [slot:4 bus:12 span:1] <wanpipe1>

context=entrada_claro

group=0

signaling=ss7

ss7type=itu

ss7_called_nai=national

ss7_calling_nai=national

ss7_internationalprefix=00

ss7_nationalprefix=0

ss7_subscriberprefix=

ss7_unknownprefix=

ss7_explictacm=yes

linkset=1

pointcode=4423

adjpointcode=9801

defaultdpc=9178

networkindicator=national

 

;Sangoma A116 port 1 [slot:4 bus:12 span:1] <wanpipe1>

cicbeginswith=2

channel=2-31

;slc=0

sigchan=1

 

;Sangoma A116 port 2 [slot:4 bus:12 span:2] <wanpipe2>

cicbeginswith=33

channel =>32-62

 

;Sangoma A116 port 3 [slot:4 bus:12 span:3] <wanpipe3>

cicbeginswith=65

channel =>63-93

 

;Sangoma A116 port 4 [slot:4 bus:12 span:4] <wanpipe4>

cicbeginswith=97

channel =>94-124

 

;Sangoma A116 port 5 [slot:4 bus:12 span:5] <wanpipe5>

cicbeginswith=129

channel =>125-155

 

;Sangoma A116 port 6 [slot:4 bus:12 span:6] <wanpipe6>

cicbeginswith=161

channel =>156-186

 

;Sangoma A116 port 7 [slot:4 bus:12 span:7] <wanpipe7>

cicbeginswith=193

channel =>187-217

 

;Sangoma A116 port 8 [slot:4 bus:12 span:8] <wanpipe8>

cicbeginswith=225

channel =>218-248

 

;Sangoma A116 port 1 [slot:5 bus:12 span:9] <wanpipe9>

cicbeginswith=258

channel =>250-279

;slc=1

;sigchan=249

 

;Sangoma A116 port 2 [slot:5 bus:12 span:10] <wanpipe10>

cicbeginswith=289

channel =>280-310

 

;Sangoma A116 port 3 [slot:5 bus:12 span:11] <wanpipe11>

cicbeginswith=321

channel =>311-341

 

;Sangoma A116 port 4 [slot:5 bus:12 span:12] <wanpipe12>

cicbeginswith=353

channel =>342-372

 

;Sangoma A116 port 5 [slot:5 bus:12 span:13] <wanpipe13>

cicbeginswith=385

channel =>373-403

 

;Sangoma A116 port 6 [slot:5 bus:12 span:14] <wanpipe14>

cicbeginswith=417

channel =>404-434

 

;Sangoma A116 port 7 [slot:5 bus:12 span:15] <wanpipe15>

cicbeginswith=449

channel =>435-465

 

;Sangoma A116 port 8 [slot:5 bus:12 span:16] <wanpipe16>

cicbeginswith=481

channel =>466-496

 

Thanks in advance for your help.

 

Saludos,

Gonzalo Zapata

 

-- 
_____________________________________________________________________
-- 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

[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