[asterisk-users] Problem E1 PRI

Sebastian scgm11 at gmail.com
Wed Oct 19 14:25:44 CDT 2011


Hi,

I'm having problems with a new ISDN PRI in a new server.
The cable is connected and the E1 modem seems to have issues with 
syncing (blinking light on the modem).

versions: CentOS 6, asterisk 1.6.2.20, dahdi  2.5.0.1, libpri 1.4.12

------------------------------------------------------------------------------------
dahdi show status

T4XXP (PCI) Card 0 Span 1                RED     0      0      0

---------------------------------------------------------------------------------------
CPATUCC*CLI> pri show span 1
Primary D-channel: 16
Status: Provisioned, In Alarm, Down, Active
Switchtype: EuroISDN
Type: CPE
.......
-------------------------------------------------------------------------------------------


system.conf

span=1,1,0,ccs,hdb3
# termtype: unknown
bchan=1-15,17-31
dchan=16

------------------------------------------------------------------------------------------

chan_dahdi.conf

nationalprefix=0
internationalprefix=00
echocancel=yes
usecallerid=yes
callerid=asreceived
hidecallerid=no
echotraining=800
echocancelwhenbridged=no
threewaycalling=yes
transfer=yes
usecallingpres=yes
cancallforward=yes
inmediate=no
group=1
callgroup=1
pickupgroup=1
language=es
accountcode=PSTN
context=pstn-context
signalling=pri_cpe
relaxdtmf=no
pridialplan=unknown
prilocaldialplan=unknown
switchtype=euroisdn
channel=1-15,17-31

------------------------------------------------------------------------------------------------------------------------------

pri intense debug

 > TEI: 0 State 4(TEI assigned)
 > V(A)=0, V(S)=0, V(R)=0
 > K=7, RC=0, l3_initiated=1, reject_except=0, ack_pend=0
 > T200_id=8192, N200=3, T203_id=0
 > [ 00 01 7f ]
 > Unnumbered frame:
 > SAPI: 00  C/R: 0 EA: 0
 >  TEI: 000        EA: 1
 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode 
extended) ]
 > 0 bytes of data
Changing from state 4(TEI assigned) to 5(Awaiting establishment)
t200_expire
   TEI: 0 State 5(Awaiting establishment)
   V(A)=0, V(S)=0, V(R)=0
   K=7, RC=0, l3_initiated=1, reject_except=0, ack_pend=0
   T200_id=8192, N200=3, T203_id=0
TEI=0 Sending SABME

 > TEI: 0 State 5(Awaiting establishment)
 > V(A)=0, V(S)=0, V(R)=0
 > K=7, RC=1, l3_initiated=1, reject_except=0, ack_pend=0
 > T200_id=0, N200=3, T203_id=0
 > [ 00 01 7f ]
 > Unnumbered frame:
 > SAPI: 00  C/R: 0 EA: 0
 >  TEI: 000        EA: 1
 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode 
extended) ]
 > 0 bytes of data
-- Starting T200 timer
t200_expire
   TEI: 0 State 5(Awaiting establishment)
   V(A)=0, V(S)=0, V(R)=0
   K=7, RC=1, l3_initiated=1, reject_except=0, ack_pend=0
   T200_id=8192, N200=3, T203_id=0
TEI=0 Sending SABME

 > TEI: 0 State 5(Awaiting establishment)
 > V(A)=0, V(S)=0, V(R)=0
 > K=7, RC=2, l3_initiated=1, reject_except=0, ack_pend=0
 > T200_id=0, N200=3, T203_id=0
 > [ 00 01 7f ]
 > Unnumbered frame:
 > SAPI: 00  C/R: 0 EA: 0
 >  TEI: 000        EA: 1
 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode 
extended) ]
 > 0 bytes of data
-- Starting T200 timer
t200_expire
   TEI: 0 State 5(Awaiting establishment)
   V(A)=0, V(S)=0, V(R)=0
   K=7, RC=2, l3_initiated=1, reject_except=0, ack_pend=0
   T200_id=8192, N200=3, T203_id=0
TEI=0 Sending SABME

 > TEI: 0 State 5(Awaiting establishment)
 > V(A)=0, V(S)=0, V(R)=0
 > K=7, RC=3, l3_initiated=1, reject_except=0, ack_pend=0
 > T200_id=0, N200=3, T203_id=0
 > [ 00 01 7f ]
 > Unnumbered frame:
 > SAPI: 00  C/R: 0 EA: 0
 >  TEI: 000        EA: 1
 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode 
extended) ]
 > 0 bytes of data
-- Starting T200 timer
t200_expire
   TEI: 0 State 5(Awaiting establishment)
   V(A)=0, V(S)=0, V(R)=0
   K=7, RC=3, l3_initiated=1, reject_except=0, ack_pend=0
   T200_id=8192, N200=3, T203_id=0
SAPI/TEI=0/0 Starting link restart delay timer
TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 
5(Awaiting establishment)
Changing from state 5(Awaiting establishment) to 4(TEI assigned)
TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
SAPI/TEI=0/0 Kick starting link
-- T203 requested to stop when not started
-- Restarting T200 timer
TEI=0 Sending SABME

----------------------------------------------------------------------------------------------------------------------------------------------------------

dahdi_maint -s 1

Span 1:
 >Framing Errors : 0:
 >CRC Errors : 0:
 >Code Violations : 247269:
 >E-bit Count : 0:
 >General Errored Seconds : 1998:




Any ideas what could be the problem?

Thanks!

Sebastian





More information about the asterisk-users mailing list