[asterisk-dev] [Review] dahdi-tools: freepbxdb configuration generator
Shaun Ruffell
sruffell at digium.com
Wed Aug 10 12:16:56 CDT 2011
On Wed, Aug 10, 2011 at 08:09:49PM +0300, Tzafrir Cohen wrote:
> On Wed, Aug 10, 2011 at 11:58:19AM -0500, Shaun Ruffell wrote:
> > On Wed, Aug 10, 2011 at 07:56:27PM +0300, Tzafrir Cohen wrote:
> > > On Wed, Aug 10, 2011 at 11:19:44AM -0500, Russ Meyerriecks wrote:
> > > > On Wed, Aug 10, 2011 at 12:50:27PM +0300, Tzafrir Cohen wrote:
> > > > > This adds another configuration generator for dahdi_genconf:
> > > > >
> > > > > dahdi_genconf freepbxdb
> > > >
> > > > This is really great. My only request is that it doesn't complain if
> > > > asterisk isn't installed like genconf does now.
> > >
> > > dahdi_genconf is typically run before starting asterisk. This module is
> > > intended to be run separately and optionally. I currently have a
> > > separate option in live_dahdi to run it (just after starting asterisk).
> > >
> > > It can't really tell that Asterisk is not installed. It can check if the
> > > socket is not there and silently do nothing. Is that what you were
> > > after?
> >
> > I'm guessing Russ was referring to something like "$dahdi_genconf system"?
>
> Err... you mean: 'dahdi_genconf chandahdi' (or some others) that fail
> if /etc/asterisk does not exist?
Essentially yes. I mostly run 'dahdi_genconf system' as opposed to just
'dahdi_genconf' since it won't fail if /etc/asterisk exists. I mostly
configure the cards on systems where I'm not running asterisk.
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list