[asterisk-users] Dahdi_genconf replies Empty configuration -- no spans

Olivier oza-4h07 at myamail.com
Fri Nov 20 07:36:47 CST 2009


2009/11/20 Tzafrir Cohen <tzafrir.cohen at xorcom.com>

> On Fri, Nov 20, 2009 at 08:33:17AM +0100, Olivier wrote:
> > 2009/11/19 Tzafrir Cohen <tzafrir.cohen at xorcom.com>
> >
> > > On Thu, Nov 19, 2009 at 03:46:50PM +0100, Olivier wrote:
> > > > Hello,
> > > >
> > > > On a very new system, I've got :
> > > >
> > > > # cat /etc/dahdi/genconf_parameters  | grep -v "^#"
> > > > lc_country              fr
> > > > context_lines           remote
> > > > group_lines             1
> > > > bri_sig_style           bri_ptmp
> > >
> > > This is the default and thus not needed to be explicitly set.
> > >
> > > > echo_can                oslec
> > > > pri_termtype
> > > >         SPAN/1          TE
> > > >         SPAN/2          TE
> > > >         SPAN/3          TE
> > > >         SPAN/4          TE
> > >
> > > Likewise this is the default. Also note that this is ignored for cards
> > > such as the Junghanns one where NT/TE is set in jumpers.
> > >
> > > >
> > > >
> > > > # dahdi_genconf
> > > > Empty configuration -- no spans
> > > > Empty configuration -- no spans
> > > >
> > > >
> > > > Did I miss something ?
> > >
> > > Driver not loaded?
> > >
> > > What is the output of:   dahdi_hardware
> > >
> >
> > # dahdi_hardware
> > pci:0000:01:07.0     wcb4xxp-     d161:b410 Digium Wildcard B410P
> >
> > Then I rebooted and then dahdi_genconf could produce a non-empty
> > dadhi_channels.conf file.
> >
> > Hera are the commands I typed :
> > install -m 644 -o root -g root ${SRC}/etc/dahdi/* /etc/dahdi        (I'm
> > copying /etc/dahdi/modules and /etc/dahdi/genconf_parameters from my
> > repository)
> > dahdi_genconf
> > dahdi_cfg -vvvv
> > ----> this command fails as file is empty
> >
> > modprobe dahdi
> > lsmod | grep dahdi
> > dahdi_genconf
> > dahdi_cfg -vvvv
> > ----> this command fails as file is still empty
> >
> > reboot
> > dahdi_genconf
> > dahdi_cfg -vvvv
> > ----> this command works OK as file is not empty anymore
> >
> > Is there something to type before using dahdi_genconf ?
>
> dahdi_genconf can tell what you have only after modules have loaded and
> are using the device.
>

Do you imply I should have inserted in my installation script, a "modprobe
wcb4xxp" command before "dahdi_genconf" ?


>
> --
>                Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091120/9635698b/attachment.htm 


More information about the asterisk-users mailing list