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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Nov 20 06:46:06 CST 2009


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.

-- 
               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