VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
darcy at Vex.Net Guest
|
Posted: Sat Aug 09, 2014 11:01 pm Post subject: [asterisk-users] Asterisk not honoring astetcdir |
|
|
Running 11.10.2 on NetBSD 6.1.4 but I observed this on 11.11.0 as
well. I have a directory which, through a combination of NULL mount
and UNION mount contains everything in the installed config
directory /usr/pkg/etc/asterisk except for my modified versions of
those files. Basically I mount_null /usr/pkg/etc/asterisk
on /usr/local/etc/asterisk and then mount_union my SVN directory with
my modified versions over that.
I then call asterisk with "-C /usr/local/etc/asterisk.conf" which
contains the following:
[directories](!)
astetcdir => /usr/local/etc/asterisk
etc...
I have checked and nowhere in /usr/local/etc/asterisk is the string
"pkg/etc". Yet, when I reload the logger module it
loads /usr/pkg/etc/asterisk/logger.conf instead of my modified version
in /usr/local/etc/asterisk. Is there some other place to define this?
Note, I don't want to compile the new location into asterisk because I
need the distribution files in the standard place for the above to work.
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
VoIP: sip:darcy@Vex.Net
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
jcolp at digium.com Guest
|
Posted: Sun Aug 10, 2014 5:57 am Post subject: [asterisk-users] Asterisk not honoring astetcdir |
|
|
D'Arcy J.M. Cain wrote:
Quote: | Running 11.10.2 on NetBSD 6.1.4 but I observed this on 11.11.0 as
well. I have a directory which, through a combination of NULL mount
and UNION mount contains everything in the installed config
directory /usr/pkg/etc/asterisk except for my modified versions of
those files. Basically I mount_null /usr/pkg/etc/asterisk
on /usr/local/etc/asterisk and then mount_union my SVN directory with
my modified versions over that.
I then call asterisk with "-C /usr/local/etc/asterisk.conf" which
contains the following:
[directories](!)
astetcdir => /usr/local/etc/asterisk
etc...
|
Remove (!) from the name. That marks it as a template. Unless you remove
it it won't be used.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
darcy at Vex.Net Guest
|
Posted: Sun Aug 10, 2014 7:54 am Post subject: [asterisk-users] Asterisk not honoring astetcdir |
|
|
On Sun, 10 Aug 2014 07:57:31 -0300
Joshua Colp <jcolp@digium.com> wrote:
Quote: | Quote: | [directories](!)
astetcdir => /usr/local/etc/asterisk
etc...
|
Remove (!) from the name. That marks it as a template. Unless you
remove it it won't be used.
|
Of course. Thanks. The odd thing is that that comes from the
distribution. Any idea where that template is meant to be used?
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
VoIP: sip:darcy@Vex.Net
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
jcolp at digium.com Guest
|
Posted: Sun Aug 10, 2014 7:57 am Post subject: [asterisk-users] Asterisk not honoring astetcdir |
|
|
D'Arcy J.M. Cain wrote:
Quote: | On Sun, 10 Aug 2014 07:57:31 -0300
Joshua Colp<jcolp@digium.com> wrote:
Quote: | Quote: | [directories](!)
astetcdir => /usr/local/etc/asterisk
etc...
| Remove (!) from the name. That marks it as a template. Unless you
remove it it won't be used.
|
Of course. Thanks. The odd thing is that that comes from the
distribution. Any idea where that template is meant to be used?
|
It's not as far as I know. It's just being used as a method so the
values there don't overrule the compiled-in values.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
darcy at Vex.Net Guest
|
Posted: Sun Aug 10, 2014 8:49 am Post subject: [asterisk-users] Asterisk not honoring astetcdir |
|
|
On Sun, 10 Aug 2014 09:56:48 -0300
Joshua Colp <jcolp@digium.com> wrote:
Quote: | Quote: | Of course. Thanks. The odd thing is that that comes from the
distribution. Any idea where that template is meant to be used?
|
It's not as far as I know. It's just being used as a method so the
values there don't overrule the compiled-in values.
|
Which, it seems to me, is exactly what one would want.
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
VoIP: sip:darcy@Vex.Net
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
jcolp at digium.com Guest
|
Posted: Sun Aug 10, 2014 8:53 am Post subject: [asterisk-users] Asterisk not honoring astetcdir |
|
|
D'Arcy J.M. Cain wrote:
Quote: | On Sun, 10 Aug 2014 09:56:48 -0300
Joshua Colp<jcolp@digium.com> wrote:
Quote: | Quote: | Of course. Thanks. The odd thing is that that comes from the
distribution. Any idea where that template is meant to be used?
| It's not as far as I know. It's just being used as a method so the
values there don't overrule the compiled-in values.
|
Which, it seems to me, is exactly what one would want.
|
If you set them, yes. That file has default values though which would
currently overrule the compiled in values. One option would be to just
comment out all of them and remove the template value in the sample
config. Nobody has proposed any changes relating to it though.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
darcy at Vex.Net Guest
|
Posted: Sun Aug 10, 2014 8:57 am Post subject: [asterisk-users] Asterisk not honoring astetcdir |
|
|
On Sun, 10 Aug 2014 10:52:46 -0300
Joshua Colp <jcolp@digium.com> wrote:
Quote: | If you set them, yes. That file has default values though which would
currently overrule the compiled in values. One option would be to
just comment out all of them and remove the template value in the
sample config. Nobody has proposed any changes relating to it though.
|
Another option would be to generate the file at build time using the
compiled in values. I would still comment them as you suggest though.
That's usual practice in these sorts of config files. Why parse a line
just to set what's already the default?
--
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@Vex.Net
VoIP: sip:darcy@Vex.Net
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|