Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Issues adding Asterisk box to Option11c System

Status
Not open for further replies.

StinkTech

Programmer
Oct 16, 2006
77
0
0
US
All call paths seem to work fine when the link between the Asterisk Box and the Option11c is UP but the issue I'm having is the link keeps bouncing.

I believe it's a clocking issue.
I have two PRI Providers.
The Option11c's Loop5 SLIPD counter is incrementing.

Setup configuration below.

Hoping someone can point me in the right direction...

THanks...

Option11c has 4 x TMDI Cards (Loop 2-5) Clocking is Locked on LOOP 3
Asterisk Box has 2 x Sangoma A101DE Cards (Span 1 & 2)

3 x PRI circuits from Windstream (TelcoA)
1 x PIR Circuit from AT&T (TelcoB).

The 3 PRI's from Windstream terminate in our Option11c (Loops 2,3, & 4 (TMDI Cards)).
The 4th PRI from AT&T terminates in our Asterisk Box (Span 1 (Sangoma A101DE Card)).

Loop 5 (TMDI Card) in the Option11c is connected to Span 2 (Sangoma A101DE Card)


(OK) TelcoA(M)--(NI2)--(C)[Loop2]Option11c
(OK) TelcoA(M)--(NI2)--(C)[Loop3]Option11c(ssck 0 Locked)
(OK) TelcoA(M)--(NI2)--(C)[Loop4]Option11c

(Issue) Asterisk[Span2](M)--(Q.SIG)--(C)[Loop5]Option11c

(OK) TelcoB(M)--(NI2)--(C)[SPan1]Asterisk


(M)-Master
(C)-Client

[System.conf]
loadzone=us
defaultzone=us

#Sangoma A101 port 1 [slot:4 bus:2 span:1] <wanpipe1>
span=1,1,0,esf,b8zs
bchan=1-23
echocanceller=mg2,1-23
hardhdlc=24

#Sangoma A101 port 1 [slot:4 bus:4 span:2] <wanpipe2>
span=2,2,0,esf,b8zs (I've changed to span=2,0,0,esf,b8zs with same issue)
bchan=25-47
echocanceller=mg2,25-47
hardhdlc=48


[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

;Sangoma A101 port 1 [slot:4 bus:2 span:1] <wanpipe1>
switchtype=national
context=from-pstn
group=0
echocancel=yes
signalling=pri_cpe
channel =>1-23

;Sangoma A101 port 1 [slot:4 bus:4 span:2] <wanpipe2>
switchtype=qsig
context=from_nortel
group=1
echocancel=yes
signalling=pri_net
channel =>25-47


[DEBUG SPAN 2]
PRI Span: 2 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
PRI Span: 2 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
PRI Span: 2 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
PRI Span: 2 SAPI/TEI=0/0 Kick starting link
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
PRI Span: 2 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
PRI Span: 2 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
PRI Span: 2 SAPI/TEI=0/0 Kick starting link
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
PRI Span: 2 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
PRI Span: 2 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
PRI Span: 2 SAPI/TEI=0/0 Kick starting link
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
PRI Span: 2 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
PRI Span: 2 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
PRI Span: 2 SAPI/TEI=0/0 Kick starting link
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
PRI Span: 2 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
PRI Span: 2 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
PRI Span: 2 SAPI/TEI=0/0 Kick starting link
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 Sending SABME
PRI Span: 2 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
PRI Span: 2 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
PRI Span: 2 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
PRI Span: 2 TEI=0 Got SABME from cpe peer.
PRI Span: 2 TEI=0 Sending UA
PRI Span: 2 Changing from state 4(TEI assigned) to 7(Multi-frame established)
PRI Span: 2 TEI=0 DL event: Q931_DL_EVENT_DL_ESTABLISH_IND(1)
Span 2: Processing event PRI_EVENT_DCHAN_UP
== Primary D-Channel on span 2 up
PRI Span: 2
PRI Span: 2 < Protocol Discriminator: Q.931 (8) len=8
PRI Span: 2 < TEI=0 Call Ref: len= 2 (reference 0/0x0) (Sent from originator)
PRI Span: 2 < Message Type: RESTART (70)
PRI Span: 2 < [79 01 87]
PRI Span: 2 < Restart Indicator (len= 3) [ Ext: 1 Spare: 0 Resetting All DS1 Facilities (7) ]
PRI Span: 2 Received message for call 0x203d0200 on link 0x2b42ec164300 TEI/SAPI 0/0
PRI Span: 2 -- Processing Q.931 Restart
PRI Span: 2 -- Processing IE 121 (cs0, Restart Indicator)
PRI Span: 2 q931.c:8537 post_handle_q931_message: Call 0 enters state 62 (Restart). Hold state: Idle
PRI Span: 2 q931.c:5319 restart_ack: Call 0 enters state 0 (Null). Hold state: Idle
PRI Span: 2
PRI Span: 2 > DL-DATA request
PRI Span: 2 > Protocol Discriminator: Q.931 (8) len=8
PRI Span: 2 > TEI=0 Call Ref: len= 2 (reference 0/0x0) (Sent to originator)
PRI Span: 2 > Message Type: RESTART ACKNOWLEDGE (78)
PRI Span: 2 TEI=0 Transmitting N(S)=0, window is open V(A)=0 K=7
PRI Span: 2
PRI Span: 2 > Protocol Discriminator: Q.931 (8) len=8
PRI Span: 2 > TEI=0 Call Ref: len= 2 (reference 0/0x0) (Sent to originator)
PRI Span: 2 > Message Type: RESTART ACKNOWLEDGE (78)
PRI Span: 2 > [79 01 87]
PRI Span: 2 > Restart Indicator (len= 3) [ Ext: 1 Spare: 0 Resetting All DS1 Facilities (7) ]
Span 2: Processing event PRI_EVENT_RESTART
-- Restart requested on entire span 2


[Loop5 PRI Channel 1]
DES ASTERIX
TN 005 01
TYPE TIE
CDEN SD
CUST 0
TRK PRI
PDCA 1
PCML MU
NCOS 3
RTMB 5 1
B-CHANNEL SIGNALING
TGAR 1
AST NO
IAPG 0
CLS CTD DTN CND WTA LPR APN THFD HKD
P10 VNL
TKID


[Loop5 DCH 13]
ADAN DCH 13
CTYP TMDI
CARD 05
PORT 1
DES ASTERIX
USR PRI
DCHL 5
OTBF 32
PARM RS232 DTE
DRAT 64KC
CLOK EXT
IFC ISGF
PINX_CUST 0
ISDN_MCNT 300
CLID OPT0
CO_TYPE STD
SIDE USR
CNEG 1
RLS ID **
RCAP COLP NDI
MBGA NO
OVLR NO
OVLS NO
T310 120
T200 3
T203 10
N200 3
N201 260
K 7
 
Changed DDB settings to stop maintenance counters from restarting loop5 due to SLIPD hits but I'm still taking the hits...

In a scenerio with two circuit providers how do you setup clocking on the Option11c?

Thanks...
StinkTech
 
Is the Asterisk set to internal or external clocking, I believe it should be set to internal.


Avaya/Nortel/NEC/Asterisk/Access Control/CCTV/DSX/Acti/UCx
 
Asterisk box has two T1 connections.

1. PRI from AT&T (AT&T provides clocking on this circuit)
TelcoB(M)--(NI2)--(C)[SPan1]Asterisk

2. PRI to Option11c (Asterisk provides clocking on ths circuit)
Asterisk[Span2](M)--(Q.SIG)--(C)[Loop5]Option11c

On the PRI to the Option11c even though I selected Asterisk as the Clock provider during wancfg_dahdi it still sets span2 to span=2,2,0,esf,b8zs in system.conf. I had to manually change it to span=2,0,0,esf,b8zs

StinkMan...


 
Option11c timing is set to EXT
I've tried to change the DCH CLOK to INT but cannot get the Option11c to prompt the CLOK prompt when doing a change.

ADAN DCH 13
CTYP TMDI
CARD 05
PORT 1
DES ASTERIX
USR PRI
DCHL 5
OTBF 32
PAGE 003
PARM RS232 DTE
DRAT 64KC
CLOK EXT
IFC ISGF
PINX_CUST 0
ISDN_MCNT 300
CLID OPT0
CO_TYPE STD
SIDE USR
CNEG 1
RLS ID 1
RCAP COLP NDI
MBGA NO
OVLR NO
OVLS NO
T310 120
T200 3
T203 10
N200 3
N201 260
K 7

Thanks,
StinkTech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top