[asterisk-users] test OpenVox B400P and junghans card for dahdi BRI wcb4xxp

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Nov 12 04:45:22 CST 2008


On Wed, Nov 12, 2008 at 05:55:29PM +0800, lizhong zhu wrote:

> the dmesg shows:
> wcb4xxp 0000:02:02.0: ec_write: Wrote 0x20 to register 0x1ab of VPM 0 but got back 0x01
> printk: 13709 messages suppressed.
> wcb4xxp 0000:02:02.0: ec_write: Wrote 0x20 to register 0x1ab of VPM 0 but got back 0x01
> printk: 13708 messages suppressed.
> wcb4xxp 0000:02:02.0: ec_write: Wrote 0x20 to register 0x1ab of VPM 0 but got back 0x01
> printk: 13708 messages suppressed.
> wcb4xxp 0000:02:02.0: ec_write: Wrote 0x20 to register 0x1ab of VPM 0 but got back 0x01
> printk: 13709 messages suppressed.
> wcb4xxp 0000:02:02.0: ec_write: Wrote 0x20 to register 0x1ab of VPM 0 but got back 0x01
> printk: 13708 messages suppressed.
> wcb4xxp 0000:02:02.0: ec_write: Wrote 0x20 to register 0x1ab of VPM 0 but got back 0x01
> printk: 13705 messages suppressed.
> wcb4xxp 0000:02:02.0: ec_write: Wrote 0x64 to register 0x1ab of VPM 0 but got back 0x01

I noticed that this is called (1000 times per second) even with
vpm_support=0 . 

> ============================
> system.conf:
> loadzone=us
> defaultzone=us
> span=1,1,3,ccs,ami
> span=2,2,3,ccs,ami
> span=3,3,3,ccs,ami
> span=4,4,3,ccs,ami
> 
> bchan=1,2
> dchan=3
> bchan=4,5
> dchan=6
> bchan=7,8
> dchan=9
> bchan=10,11
> dchan=12

It's not dchan . It's 'hardhdlc' . See the sample system.conf:
http://docs.tzafrir.org.il/dahdi-tools/#_channel_configuration

You can also set:  

  bri_hardhdlc  yes

in /etc/dahdi/genconf_parameters (which instructs dahdi_genconf to write
there 'hardhdlc'). I figure it would become the default at some point.

> ==========
> chan_dahdi.conf:
> 
> 
> [channels]
> ;
> ; Default language
> ;
> ;language=en
> ;
> ; Default context
> ;
> ;
> switchtype = euroisdn
> 
> ; 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

> anyone knows that? no incoming calls and only three leds are on. i will make further study on that. 
> thanks!
> james.zhu

'pri debug' ? 'pri intense debug'

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list