[asterisk-users] Asterisk +Dahdi does not work with BRI NT

liuxin nyliuxin518 at gmail.com
Wed Jun 16 03:15:49 CDT 2010


Hi all,
As i tested with Asterisk+dahdi+libpri with openvox BRI with NT mode,  the
ISDN phone does not work.

There is the setting and error.
***********************Enviroment*****************************
Asterisk-1.6.1.18
dahdi-linux-2.3.0.1
dahdi-tool-2.30.
libpri-1.4.11.2
CentOS-5.5
OpenVox B400P
******************************************************************
In my case , I set prot 1 and port 2 as NT mode ,port 3 and port 4 as TE
mode.

********************system.conf***************************
# Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 16 22:49:10 2010
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,ami
# termtype: te
bchan=1-2
hardhdlc=3
echocanceller=mg2,1-2
# Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" RED
span=2,2,0,ccs,ami
# termtype: te
bchan=4-5
hardhdlc=6
echocanceller=mg2,4-5
# Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" RED
span=3,3,0,ccs,ami
# termtype: te
bchan=7-8
hardhdlc=9
echocanceller=mg2,7-8
# Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4"
span=4,4,0,ccs,ami
# termtype: te
bchan=10-11
hardhdlc=12
echocanceller=mg2,10-11
# Global data
loadzone        = us
defaultzone     = us
*******************dahdi-channles.conf**********************************
; Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 16 22:49:10 2010
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is
intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global
settings
;
; Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER)
group=0,11
context=from-internal
switchtype = euroisdn
signalling = bri_net
channel => 1-2
context = default
group = 63
; Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" RED
group=0,12
context=from-internal
switchtype = euroisdn
signalling = bri_net
channel => 4-5
context = default
group = 63
; Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" RED
group=0,13
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe
channel => 7-8
context = default
group = 63
; Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4"
group=0,14
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe
channel => 10-11
context = default
group = 63
**************************dmesg*****************************************
wcb4xxp 0000:01:03.0: Port 1: NT mode
wcb4xxp 0000:01:03.0: Port 2: NT mode
wcb4xxp 0000:01:03.0: Port 3: TE mode
wcb4xxp 0000:01:03.0: Port 4: TE mode
wcb4xxp 0000:01:03.0: Did not do the highestorder stuff
wcb4xxp 0000:01:03.0: Configuring span 1
wcb4xxp 0000:01:03.0: new card sync source: port 3
wcb4xxp 0000:01:03.0: Configuring span 1
wcb4xxp 0000:01:03.0: Configuring span 2
wcb4xxp 0000:01:03.0: Configuring span 3
wcb4xxp 0000:01:03.0: Configuring span 4
dahdi_echocan_mg2: Registered echo canceler 'MG2'
dahdi: Registered tone zone 0 (United States / North America)
wcb4xxp 0000:01:03.0: new card sync source: port 1

**************************************************************
*CLI> dahdi show channels
   Chan Extension  Context         Language   MOH Interpret
Blocked    State
 pseudo            default
default                         In Service
      1            from-internal
default                         In Service
      2            from-internal
default                         In Service
      4            from-internal
default                         In Service
      5            from-internal
default                         In Service
      7            from-pstn
default                         In Service
      8            from-pstn
default                         In Service
     10            from-pstn
default                         In Service
     11            from-pstn
default                         In Service
**************************************************************
*CLI> pri show spans
*PRI span 1/0: Provisioned, Down, Active*
PRI span 2/0: Provisioned, In Alarm, Down, Active
PRI span 3/0: Provisioned, In Alarm, Down, Active
PRI span 4/0: Provisioned, Up, Active
*************************************************************
TE mode can  works well. but the NT mode can not work. I do not know why the
status always show "Down" .
Any idea for that?
I am looking forward to your help.
Thank you!

        liu xin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100616/16c56156/attachment-0001.htm 


More information about the asterisk-users mailing list