On Monday 27 January 2014, Fernando Pizarro wrote:> Hi all!
>
> I'm new with telephony cards and DAHDI drivers. I have installed
> Asterisk NOW 3.0.0 and update to Asterisk 11.7.0, modules are update too.
>
> I'm following the installation guide of Atcom [1] for AX1600P analogic
> card, modules are loaded
>
> [root at pbx ~]# lsmod | grep -E "hisax|netjet|dahdi"
> netjet 14618 0
> isdnhdlc 4523 1 netjet
> mISDNipac 33989 1 netjet
> mISDN_core 73118 3 netjet,mISDNipac
> hisax 410162 0
> isdn 119265 1 hisax
> dahdi_transcode 5240 1 wctc4xxp
> dahdi_voicebus 49368 2 wctdm24xxp,wcte12xp
> dahdi 207790 15
> xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wcaxx,wctdm24xxp,wcte11xp,wct1xxp,w
> cte13xp,wcte12xp,dahdi_voicebus,wcte43x,wct4xxp,oct612x crc_ccitt
> 1369 4 isdnhdlc,hisax,wctdm24xxp,dahdi
>
> and there is the output of lspci command:
>
> [root at pbx ~]# lspci -vvvvvv -s 02:03.0
> 02:03.0 Communication controller: Tiger Jet Network Inc. Tiger3XX
> Modem/ISDN interface
> Subsystem: Device b300:0003
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
>
> >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>
> Latency: 32 (250ns min, 32000ns max)
> Interrupt: pin A routed to IRQ 12
> Region 0: I/O ports at a000 [size=256]
> Region 1: Memory at fb001000 (32-bit, non-prefetchable) [size=4K]
> Capabilities: [40] Power Management version 2
> Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=55mA
> PME(D0+,D1-,D2+,D3hot+,D3cold+)
> Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
> Kernel modules: hisax, netjet
>
> When I run dahdi_genconf I get the following error:
>
> [root at pbx ~]# dahdi_genconf
> Empty configuration -- no spans
> /usr/sbin/dahdi_span_types: l?nea 158: cd:
> /sys/bus/dahdi_devices/devices/*: No existe el fichero o el directorio
> cat: /sys/bus/dahdi_devices/devices/*/location: No existe el fichero o
> el directorio
> cat: /sys/bus/dahdi_devices/devices/*/hardware_id: No existe el fichero
> o el directorio
> cat: /sys/bus/dahdi_devices/devices/*/spantype: No existe el fichero o
> el directorio
> Empty configuration -- no spans
> /usr/sbin/dahdi_span_assignments: l?nea 183: cd:
> /sys/bus/dahdi_devices/devices/*: No existe el fichero o el directorio
> cut: /sys/bus/dahdi_devices/devices/*/spantype: No existe el fichero o
> el directorio
> Empty configuration -- no spans
> Empty configuration -- no spans
>
> Which is the better way to install Asterisk NOW? I need install with AX
> card inserted before?
That looks like the result of a part-finished upgrade.
You probably need to rebuild DAHDI *while the card is installed in the
machine*, so it can detect the hardware properly; and then after doing that,
you may need to rebuild Asterisk again.
--
AJS
Answers come *after* questions.