Dahdi-linux supprots OpenVox BRI B200/B400 cards!

发布于 2022-08-20 22:51:17 字数 9820 浏览 8 评论 0

hello, all of users:
if you are interested with dahdilinux-2.1.0.4 and BRI cards, you can try that and patch the patch_b44p from:
http://bugs.digium.com/view.php?id=13897
it should work. it is tested with OpenVox B200P and B400P without any problem.
some results:
=============dmesg=====================
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
ACPI: PCI interrupt for device 0000:02:02.0 disabled
wcb4xxp 0000:02:02.0: Driver unloaded.
dahdi: Telephony Interface Unloaded
dahdi: Telephony Interface Registered on major 196
dahdi: Version: SVN-trunk-r5374M
wcb4xxp 0000:02:02.0: probe called for b4xx...
PCI: Enabling device 0000:02:02.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 22 (level, low) -> IRQ 217
wcb4xxp 0000:02:02.0: Identified OpenVox B400P (controller rev 1) at 0001a000, IRQ 217
wcb4xxp 0000:02:02.0: NOTE: hardware echo cancellation has been disabled
wcb4xxp 0000:02:02.0: Port 1: TE mode
wcb4xxp 0000:02:02.0: Port 2: TE mode
wcb4xxp 0000:02:02.0: Port 3: TE mode
wcb4xxp 0000:02:02.0: Port 4: TE mode
wcb4xxp 0000:02:02.0: Did not do the highestorder stuff
dahdi: Registered tone zone 3 (Netherlands)
wcb4xxp 0000:02:02.0: new card sync source: port 1
ACPI: PCI interrupt for device 0000:02:02.0 disabled
wcb4xxp 0000:02:02.0: Driver unloaded.
dahdi: Telephony Interface Unloaded
dahdi: Telephony Interface Registered on major 196
dahdi: Version: SVN-trunk-r5374M
wcb4xxp 0000:02:02.0: probe called for b4xx...
PCI: Enabling device 0000:02:02.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 22 (level, low) -> IRQ 217
wcb4xxp 0000:02:02.0: Identified OpenVox B400P (controller rev 1) at 0001a000, IRQ 217
wcb4xxp 0000:02:02.0: NOTE: hardware echo cancellation has been disabled
wcb4xxp 0000:02:02.0: Port 1: TE mode
wcb4xxp 0000:02:02.0: Port 2: TE mode
wcb4xxp 0000:02:02.0: Port 3: TE mode
wcb4xxp 0000:02:02.0: Port 4: TE mode
wcb4xxp 0000:02:02.0: Did not do the highestorder stuff
dahdi: Registered tone zone 3 (Netherlands)
wcb4xxp 0000:02:02.0: new card sync source: port 1
=========================================
=============asterisk console=====================
*CLI> dahdi show chhannels
No such command 'dahdi show chhannels' (type 'help dahdi show chhannels' for other possible commands)
*CLI> dahdi show channels
   Chan Extension  Context         Language   MOH Interpret        Blocked    State
pseudo            demo                       default                         In Service
      1            demo                       default                         In Service
      2            demo                       default                         In Service
      4            demo                       default                         In Service
      5            demo                       default                         In Service
      7            demo                       default                         In Service
      8            demo                       default                         In Service
     10            demo                       default                         In Service
     11            demo                       default                         In Service
*CLI>
===========system.conf==============================
# Autogenerated by ./dahdi_genconf on Mon Nov 24 20:13:58 2008 -- do not hand edit
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Global data
loadzone=nl
defaultzone=nl
# qozap span definitions
# most of the values should be bogus because we are not really zaptel
span=1,1,0,ccs,ami
span=2,2,0,ccs,ami
span=3,3,0,ccs,ami
span=4,4,0,ccs,ami

bchan=1,2
hardhdlc=3
bchan=4,5
hardhdlc=6
bchan=7,8
hardhdlc=9
bchan=10,11
hardhdlc=12
============chan_dahdi.conf=============
[channels]
;
; Default language
;
;language=en
;
; Default context
;
;
switchtype = euroisdn
echocancel=no
; p2mp TE mode (for connecting ISDN lines in point-to-multipoint mode)
signalling = bri_cpe_ptmp
; p2p TE mode (for connecting ISDN lines in point-to-point mode)
;signalling = bri_cpe
; p2mp NT mode (for connecting ISDN phones in point-to-multipoint mode)
;signalling = bri_net_ptmp
; p2p NT mode (for connecting an ISDN pbx in point-to-point mode)
;signalling = bri_net

pridialplan = local
prilocaldialplan = dynamic
nationalprefix = 0
internationalprefix = 00

priindication = passthrough

echocancel = yes

context=demo
group = 1
; S/T port 1
channel => 1-2

group = 2
; S/T port 2
channel => 4-5

group = 3
; S/T port 3
channel => 7-8

group = 4
; S/T port 4
channel => 10-11

=======asterisk logs===============================
   -- Executing [s@demo:5] BackGround("DAHDI/4-1", "demo-congrats") in new stack
    -- <DAHDI/4-1> Playing 'demo-congrats.gsm' (language 'en')
    -- Channel 0/1, span 2 got hangup request, cause 16
  == Spawn extension (demo, s, 5) exited non-zero on 'DAHDI/4-1'
    -- Hungup 'DAHDI/4-1'
TEI assiged to 65
  == Primary D-Channel on span 1 up
  == Primary D-Channel on span 2 down
[Feb 24 14:33:24] WARNING[5052]: chan_dahdi.c:2986 pri_find_dchan: No D-channels available!  Using Primary channel 6 as D-channel anyway!
[Feb 24 14:33:24] WARNING[5052]: chan_dahdi.c:2986 pri_find_dchan: No D-channels available!  Using Primary channel 6 as D-channel anyway!
    -- Going to extension s|1 because of Complete received
    -- Accepting call from '8253XXX' to 's' on channel 0/2, span 1
[Feb 24 14:33:28] WARNING[5051]: chan_dahdi.c:1654 dahdi_enable_ec: Unable to enable echo cancellation on channel 2 (No such device)
[Feb 24 14:33:28] WARNING[5051]: chan_dahdi.c:1654 dahdi_enable_ec: Unable to enable echo cancellation on channel 2 (No such device)
    -- Executing [s@demo:1] Wait("DAHDI/2-1", "1") in new stack
    -- Executing [s@demo:2] Answer("DAHDI/2-1", "") in new stack
    -- Executing [s@demo:3] Set("DAHDI/2-1", "TIMEOUT(digit)=5") in new stack
    -- Digit timeout set to 5
    -- Executing [s@demo:4] Set("DAHDI/2-1", "TIMEOUT(response)=10") in new stack
    -- Response timeout set to 10
    -- Executing [s@demo:5] BackGround("DAHDI/2-1", "demo-congrats") in new stack
    -- <DAHDI/2-1> Playing 'demo-congrats.gsm' (language 'en')
    -- Channel 0/2, span 1 got hangup request, cause 16
  == Spawn extension (demo, s, 5) exited non-zero
=================================================================

regards!
James.zhu

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文