<p>Hi all,<br>As i tested with Asterisk+dahdi+libpri with openvox BRI with NT mode, the ISDN phone does not work.<br> <br>There is the setting and error.<br>***********************Enviroment**********************************<br>
Asterisk-1.6.1.18<br>dahdi-linux-2.3.0.1<br>dahdi-tool-2.30.<br>libpri-1.4.11.2<br>CentOS-5.5<br>OpenVox B400P<br>********************************************************************<br>In my case , I set prot 1 and port 2 as NT mode ,port 3 and port 4 as TE mode.<br>
<br>********************system.conf*************************************<br># Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 16 22:49:10 2010<br># If you edit this file and execute /usr/sbin/dahdi_genconf again,<br>
# your manual changes will be LOST.<br># Dahdi Configuration File<br>#<br># This file is parsed by the Dahdi Configurator, dahdi_cfg<br>#<br># Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER)<br>span=1,1,0,ccs,ami<br>
# termtype: te<br>bchan=1-2<br>hardhdlc=3<br>echocanceller=mg2,1-2<br># Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" RED<br>span=2,2,0,ccs,ami<br># termtype: te<br>bchan=4-5<br>hardhdlc=6<br>echocanceller=mg2,4-5<br>
# Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" RED<br>span=3,3,0,ccs,ami<br># termtype: te<br>bchan=7-8<br>hardhdlc=9<br>echocanceller=mg2,7-8<br># Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4"<br>span=4,4,0,ccs,ami<br>
# termtype: te<br>bchan=10-11<br>hardhdlc=12<br>echocanceller=mg2,10-11<br># Global data<br>loadzone = us<br>defaultzone = us<br>*******************dahdi-channles.conf**********************************<br>; Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 16 22:49:10 2010<br>
; If you edit this file and execute /usr/sbin/dahdi_genconf again,<br>; your manual changes will be LOST.<br>; Dahdi Channels Configurations (chan_dahdi.conf)<br>;<br>; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended<br>
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings<br>;<br>; Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER)<br>group=0,11<br>context=from-internal<br>switchtype = euroisdn<br>signalling = bri_net<br>
channel => 1-2<br>context = default<br>group = 63<br>; Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" RED<br>group=0,12<br>context=from-internal<br>switchtype = euroisdn<br>signalling = bri_net<br>channel => 4-5<br>
context = default<br>group = 63<br>; Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" RED<br>group=0,13<br>context=from-pstn<br>switchtype = euroisdn<br>signalling = bri_cpe<br>channel => 7-8<br>context = default<br>
group = 63<br>; Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4"<br>group=0,14<br>context=from-pstn<br>switchtype = euroisdn<br>signalling = bri_cpe<br>channel => 10-11<br>context = default<br>group = 63</p>
<p>**************************dmesg*****************************************<br>wcb4xxp 0000:01:03.0: Port 1: NT mode<br>wcb4xxp 0000:01:03.0: Port 2: NT mode<br>wcb4xxp 0000:01:03.0: Port 3: TE mode<br>wcb4xxp 0000:01:03.0: Port 4: TE mode<br>
wcb4xxp 0000:01:03.0: Did not do the highestorder stuff<br>wcb4xxp 0000:01:03.0: Configuring span 1<br>wcb4xxp 0000:01:03.0: new card sync source: port 3<br>wcb4xxp 0000:01:03.0: Configuring span 1<br>wcb4xxp 0000:01:03.0: Configuring span 2<br>
wcb4xxp 0000:01:03.0: Configuring span 3<br>wcb4xxp 0000:01:03.0: Configuring span 4<br>dahdi_echocan_mg2: Registered echo canceler 'MG2'<br>dahdi: Registered tone zone 0 (United States / North America)<br>wcb4xxp 0000:01:03.0: new card sync source: port 1</p>
<p>************************************************************************<br>*CLI> dahdi show channels<br> Chan Extension Context Language MOH Interpret Blocked State<br> pseudo default default In Service<br>
1 from-internal default In Service<br> 2 from-internal default In Service<br> 4 from-internal default In Service<br>
5 from-internal default In Service<br> 7 from-pstn default In Service<br> 8 from-pstn default In Service<br>
10 from-pstn default In Service<br> 11 from-pstn default In Service<br>***********************************************************************<br>
*CLI> pri show spans<br><strong>PRI span 1/0: Provisioned, <font style="BACKGROUND-COLOR: #ffffff" color="#ff0000">Down</font>, Active</strong><br>PRI span 2/0: Provisioned, In Alarm, Down, Active<br>PRI span 3/0: Provisioned, In Alarm, Down, Active<br>
PRI span 4/0: Provisioned, Up, Active<br>***********************************************************************<br>TE mode can works well. but the NT mode can not work. I do not know why the status always show "Down" .<br>
Any idea for that? <br>I am looking forward to your help.<br>Thank you!<br> liu xin</p>