Hi I'm currently busy on a similar application with a hfc-card. However, my needs is to interface the ISDN card in NE-mode with the operator. If tried using Hisax but ran into a problem with the voice quality being bad in one directions.
How did you manage to get chan_capi going for BRI ISDN hfc card. Any advice please!!!!! Are the drivers built in? Or is it necessary to download them? Or are they included with chan_capi? It is likely that I will get the same errors as you are getting and then we can put our heads together in solving them Kind Regards, Christiaan Brink Systems Developer Molo Afrika Speech Technologies (Pty) Ltd. (Cell) +2782 410 7370 (Tel) +2712 346 3336 (Fax) +2712 346 3337 South Africa -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Jagoditsch Sent: Thursday, November 18, 2004 12:52 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] mISDN & kernel 2.6.9 hi all. ive got a problem implementing my own small office asterisk solution. i want to use - a hfc-card via mISDN in NT-mode to serve my siemens gigaset 3035 isdn phone - an avm b1 to connect to pstn - sip, iax etc. working: - chan_capi via the b1 works fine, i can dial in and get the demo - sip, iax - no surprise failing: - chan_misdn via the hfc card problem: asterisk crashes with a mysterious message i found no information on the net about... > test root# asterisk -vvvgc > [...] > [chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri)) > == Parsing '/etc/asterisk/misdn.conf': Found > UnLocking config_mutex > == Registered channel type 'mISDN' (This driver enables the asterisk > to use hardware which is supported by the new ) > Locking Config Mutex > UnLocking Config Mutex > cannot request MGR_NEWENTITY from mISDN: Illegal seek > Ouch ... error while writing audio data: : Broken pipe i cant find no information about that "cannot request MGR_NEWENTITY from mISDN: Illegal seek" message anywhere and have no idea what to do next. environment: - celeron III - acer isdn 128 surf pci - avm b1, firmware b1.t4 - gentoo (recent, no nptl) - kernel 2.6.9 patched with http://home.foni.net/~jolly/download/mISDN_for_PBX4Linux-2.5-fix1.tar.gz (tried yesterdays CVS too) - mISDNuser from http://home.foni.net/~jolly/download/mISDNuser_for_PBX4Linux-2.5.tar.gz (tried yesterdays CVS too) - chan_misdn-beta-0.0.3-rc2.tgz (recompiled always after mISDN* & kernel changes) - asterisk 1.0.2 (gentoo ebuild) - chan_capi.0.3.5.tar.gz .config: > CONFIG_MISDN_DRV=m > CONFIG_MISDN_MEMDEBUG=y > CONFIG_MISDN_AVM_FRITZ=y > CONFIG_MISDN_HFCPCI=y > CONFIG_MISDN_HFCMULTI=y > CONFIG_HFCMULTI_PCIMEM=y > CONFIG_MISDN_SPEEDFAX=y > CONFIG_MISDN_W6692=y > CONFIG_MISDN_DSP=y /dev/mISDN is there: > crw-r--r-- 1 root root 46, 0 Nov 18 2004 /dev/mISDN what i have tried so far, same error: - unloading the b1, capi etc and using mISDN only - using mISDN & mISDNuser from CVS - enabling/disabling apci/acpi tried too: - using pbx4linux to test mISDN: pbx query says no cards found !?! pbx start claims above error message (cannot request MGR_NEW...) too !?! so, for me it looks like mISDN has a problem on my system - but otoh the drivers load nicely, see: > Modular ISDN Stack core $Revision: 1.23 $ > mISDN_register UserDevice id 0 > mISDN_register: obj(d0a7fe00) > mISDNd: kernel daemon started > mISDN_dsp: Audio DSP Rev. 1.9 (debug=0x7) > mISDN_register DSP id 1 > mISDN_register: obj(d0a8f9a0) > mISDN_register HFC_PCI id 2 > mISDN_register: obj(d0a623a0) > HFC card ceaba040 dch ceaba0c8 bch1 ceaba248 bch2 ceaba3d4 > mISDN: HFC-PCI driver Rev. 1.38 > PCI: Enabling device 0000:00:08.0 (0004 -> 0007) > PCI: IRQ 0 for device 0000:00:08.0 doesn't match PIRQ mask - try > pci=usepirqmask > PCI: Assigned IRQ 5 for device 0000:00:08.0 > mISDN: HFC-PCI card manufacturer: CCD/Billion/Asuscom card name: 2BD0 > HFC-PCI: defined at mem 0xd09e6000 fifo 0xce5a8000(0xe5a8000) IRQ 5 HZ > 1000 > spin_lock_adr=ceaba0a4 now(d0a5f95a) > busy_lock_adr=ceaba0a8 now(d0a5f95a) > reset_hfcpci: entered > HFC_PCI: resetting HFC ChipId(30) > HFC-PCI status(4) before reset > HFC-PCI status(2) after reset > HFC-PCI status(4) after 5us > create master stack inst(ceaba0cc) > Stack id 1 added > create child stack inst(ceaba25c) > Stack id 10000101 added > create child stack inst(ceaba3e8) > Stack id 10000201 added > register_layer:st(cfc1a0a0) inst(ceaba0cc/d0a623a0) lmask(3) id(0) > insertlayer(cfc1a0a0, ce4c4540, 3) > register_layer: inst(ceaba0cc/d0a623a0) id(40000001) changed > mISDNd: addr(f0000) prim(f1980) success > mISDNd: test event done > init_card: entered > inithfcpci: entered > HFC1 HFC-PCI: stat(b4) s1(c0) > HFC1 HFC-PCI irq c0 > HFC1 ph_state chg 0->1 > dchannel_bh: event 4 > HW_hfcD_bh: NT newstate 1 > dummy_if: hif(ceaba148) skb(cf98f780) len(0) prim(10082) > HFC PCI: IRQ 5 count 1 > do_for_all_layers: st(cfc1a0a0) inst(ceaba0cc):40000001 HFC1 > prim(f4182) arg(00000000) > HFC card cfb25040 dch cfb250c8 bch1 cfb25248 bch2 cfb253d4 > mISDN: HFC-PCI driver Rev. 1.38 > HFC-PCI: No more PCI cards found > HFC 1 cards installed loaded via: > modprobe mISDN_core debug=7 > modprobe mISDN_dsp debug=7 options=0x0 > modprobe hfcpci protocol=0x12 layermask=0x3 debug=7 i even got some kind of confirmation that the hfc-driver can communicate over the "internal" bus at least. if i do something on the gigaset phone i will get messages like ... > dchannel_bh: event 1 > dummy_if: hif(ceaba148) skb(ce959ea0) len(8) prim(110282) > HFC1 HFC-PCI: stat(d4) s1(a0) > HFC1 HFC-PCI irq a0 > HFC1 hfcpci recd f1(30) f2(29) z1(8f) z2(85) cnt(11) > dchannel_bh: event 1 > dummy_if: hif(ceaba148) skb(ce959c60) len(8) prim(110282) etc. has anybody out there a clue what i could have made wrong ? or what i could try next ? wbr.tja... _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
