[asterisk-bugs] [DAHDI-linux 0017694]: patch for wcb4xxp with openvox/Junghanns B800P+NT mode

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Jul 24 05:16:01 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17694 
====================================================================== 
Reported By:                zhulizhong
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   17694
Category:                   wcb4xxp
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2010-07-24 05:09 CDT
Last Modified:              2010-07-24 05:16 CDT
====================================================================== 
Summary:                    patch for wcb4xxp with openvox/Junghanns B800P+NT
mode
Description: 
as we test with dahdi-linux, currently the Openvox/Junghanns B800P(NT) does
not work properly due to the jumper setting. so, the patch is need to set
NT mode in software way. after patching that, users load the driver in this
way: modprobe wcb4xxp te_nt_override=0xFC, set port 1/2 as NT mode. make
sure apply the patch
for chan_dahdi.c
============================================
--- channels/chan_dahdi.c       2009-09-29 09:53:36.000000000 +0200
+++ channels/chan_dahdi.patched 2009-09-29 09:43:07.000000000 +0200
@@ -14364,7 +14364,8 @@
                                        confp->chan.sig = SIG_BRI_PTMP;
                                        confp->pri.nodetype = PRI_CPE;
                                } else if (!strcasecmp(v->value,
"bri_net_ptmp")) {
-                                       ast_log(LOG_WARNING, "How cool
would it be if someone implemented this mode!  For now, sucks for you.
(line %d)\n", v->lineno);
+                                       confp->chan.sig = SIG_BRI_PTMP;
+                                       confp->pri.nodetype =
PRI_NETWORK;
                                } else if (!strcasecmp(v->value,
"gr303fxoks_net")) {
                                        confp->chan.sig = SIG_GR303FXOKS;

======================================
the test environments:
1)
dahdi-linux-2.3.0.1/dahdi-tools-2.3.0/libpri-1.4.11.2/asterisk-1.6.1.18
2) OpenVox B800P NT
3) Centos-5.4  
  
====================================================================== 

---------------------------------------------------------------------- 
 (0124938) zhulizhong (reporter) - 2010-07-24 05:16
 https://issues.asterisk.org/view.php?id=17694#c124938 
---------------------------------------------------------------------- 
some message are here:
=============dmesg after loading the driver=========
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.3.0.1
wcb4xxp 0000:01:03.0: probe called for b4xx...
ACPI: PCI Interrupt 0000:01:03.0[A] -> GSI 20 (level, low) -> IRQ 201
wcb4xxp 0000:01:03.0: Identified OpenVox B800P (controller rev 1) at
0001d800, IRQ 201
wcb4xxp 0000:01:03.0: NOTE: hardware echo cancellation has been disabled
wcb4xxp 0000:01:03.0: Port 1: NT mode manually set
wcb4xxp 0000:01:03.0: Port 2: NT mode manually set
wcb4xxp 0000:01:03.0: Port 3: NT mode manually set
wcb4xxp 0000:01:03.0: Port 4: NT mode manually set
wcb4xxp 0000:01:03.0: Port 5: NT mode manually set
wcb4xxp 0000:01:03.0: Port 6: NT mode manually set
wcb4xxp 0000:01:03.0: Port 7: NT mode manually set
wcb4xxp 0000:01:03.0: Port 8: NT mode manually set
wcb4xxp 0000:01:03.0: Did not do the highestorder stuff
wcb4xxp 0000:01:03.0: new card sync source: port 3
dahdi_transcode: Loaded.
INFO-xpp: revision Unknown MAX_XPDS=64 (8*8)
============pri show spans====================
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.1.18 currently running on localhost (pid =
2784)
Verbosity is at least 16
localhost*CLI> pri show spans
PRI span 1/0: Provisioned, In Alarm, Up, Active
PRI span 2/0: Provisioned, In Alarm, Up, Active
PRI span 3/0: Provisioned, Up, Active
PRI span 4/0: Provisioned, Up, Active
PRI span 5/0: Provisioned, In Alarm, Up, Active
PRI span 6/0: Provisioned, Up, Active
PRI span 7/0: Provisioned, In Alarm, Up, Active
PRI span 8/0: Provisioned, In Alarm, Up, Active

=================sip-isdn======================
 == Using SIP RTP CoS mark 5
    -- Executing [3 at from-openvox:1] Dial("SIP/100-00000005", "dahdi/7") in
new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called 7
    -- DAHDI/7-1 is ringing
    -- DAHDI/7-1 answered SIP/100-00000005
[Jul 25 02:14:25] NOTICE[2820]: chan_sip.c:20435 handle_re 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-24 05:16 zhulizhong     Note Added: 0124938                          
======================================================================




More information about the asterisk-bugs mailing list