[asterisk-users] Dahdi problem with dahdi_genconf

2014-09-29 Thread Claudio ML
Hi,

It's the first time i try to configure an ISDN card with dahdi, so my
experience is very poor (be kind ;))

My problem is with dahdi_genconf, when i start it it says:

/usr/sbin/dahdi_span_assignments: Missing
'/sys/bus/dahdi_devices/devices' (DAHDI driver unloaded?)
Command failed (status=256): 'dahdi_span_assignments dumpconfig >
/etc/dahdi/assigned-spans.conf' at
/usr/local/share/perl/5.18.2/Dahdi/Config/Gen/Assignedspans.pm line 40.

Here is my dahdi_scan:

[1]
active=yes
alarms=UNCONFIGURED
description=HFC-S PCI A ISDN card 0 [TE]
name=ZTHFC1
manufacturer=Cologne Chips
devicetype=HFC-S PCI-A ISDN
location=PCI Bus 01 Slot 10
basechan=1
totchans=3
irq=18
type=digital-TE
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=AMI
framing_opts=CCS
coding=
framing=CAS

dahdi_hardware
pci::01:09.0 zaphfc+  1397:2bd0 HFC-S ISDN BRI card

lsmod
zaphfc 22268  0
dahdi 204045  1 zaphfc


DAHDI Version: 2.5.0.1 Echo Canceller: HWEC

Obviously in asterisk, there is no channel configured:

*CLI> dahdi show channels
   Chan Extension   Context Language   MOH Interpret   
BlockedState  Description pseudo
defaultdefault

My big problem is i can't test the ISDN line with a phone (i don't have
an ISDN phone), so my dubt now is the NT1 is not working correctly...
Any suggestion about this ?

Thank you in advance.

Cordially,

Claudio.








-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Dahdi problem with dahdi_genconf

2014-09-29 Thread Tzafrir Cohen
On Mon, Sep 29, 2014 at 03:52:25PM +0200, Claudio ML wrote:
> Hi,
> 
> It's the first time i try to configure an ISDN card with dahdi, so my
> experience is very poor (be kind ;))
> 
> My problem is with dahdi_genconf, when i start it it says:
> 
> /usr/sbin/dahdi_span_assignments: Missing
> '/sys/bus/dahdi_devices/devices' (DAHDI driver unloaded?)

What version of the DAHDI drivers is loaded?

  cat /sys/module/dahdi/version

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Dahdi problem with dahdi_genconf

2014-09-29 Thread Claudio ML
Il 29/09/2014 15:57, Tzafrir Cohen ha scritto:
> On Mon, Sep 29, 2014 at 03:52:25PM +0200, Claudio ML wrote:
>> Hi,
>>
>> It's the first time i try to configure an ISDN card with dahdi, so my
>> experience is very poor (be kind ;))
>>
>> My problem is with dahdi_genconf, when i start it it says:
>>
>> /usr/sbin/dahdi_span_assignments: Missing
>> '/sys/bus/dahdi_devices/devices' (DAHDI driver unloaded?)
> What version of the DAHDI drivers is loaded?
>
>   cat /sys/module/dahdi/version
>
cat /sys/module/dahdi/version
2.5.0.1

It seems the right one.



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Dahdi problem with dahdi_genconf

2014-10-01 Thread Tzafrir Cohen
On Mon, Sep 29, 2014 at 04:03:52PM +0200, Claudio ML wrote:
> Il 29/09/2014 15:57, Tzafrir Cohen ha scritto:
> > On Mon, Sep 29, 2014 at 03:52:25PM +0200, Claudio ML wrote:
> >> Hi,
> >>
> >> It's the first time i try to configure an ISDN card with dahdi, so my
> >> experience is very poor (be kind ;))
> >>
> >> My problem is with dahdi_genconf, when i start it it says:
> >>
> >> /usr/sbin/dahdi_span_assignments: Missing
> >> '/sys/bus/dahdi_devices/devices' (DAHDI driver unloaded?)
> > What version of the DAHDI drivers is loaded?
> >
> >   cat /sys/module/dahdi/version
> >
> cat /sys/module/dahdi/version
> 2.5.0.1

Try running:

  dahdi_genconf system chandahdi # instead

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users