VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
vincent.delporte at bi... Guest
|
Posted: Wed Feb 20, 2008 9:30 pm Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
Hello
I'm using a standard Asterisk install with default settings, and when
I run "reload", I see that Asterisk fetches configuration information
from a lot more sources than just my extensions.conf and sip.conf.
For instance:
-- Registered indication country 've'
-- Registered indication country 'za'
-- Setting default indication country to 'us'
== Parsing '/etc/asterisk/features.conf': Found
== Parsing '/etc/asterisk/adsi.conf': Found
== Parsing '/etc/asterisk/dundi.conf': Found
== Parsing '/etc/asterisk/extensions.conf': Found
== Parsing '/etc/asterisk/users.conf': Found
[Feb 21 03:29:15] NOTICE[2563]: pbx_ael.c:4094 pbx_load_module:
Starting AEL load process.
[Feb 21 03:29:15] NOTICE[2563]: pbx_ael.c:4101 pbx_load_module: AEL
load process: calculated config file name
'/etc/asterisk/extensions.ael'.
etc.
How can I go and trim things down?
Thank you. |
|
Back to top |
|
|
shmaltz at gmail.com Guest
|
Posted: Wed Feb 20, 2008 9:44 pm Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
vi /etc/asterisk/modules.conf
On 2/20/08, Vincent <vincent.delporte at bigfoot.com> wrote:
Quote: | Hello
I'm using a standard Asterisk install with default settings, and when
I run "reload", I see that Asterisk fetches configuration information
from a lot more sources than just my extensions.conf and sip.conf.
For instance:
-- Registered indication country 've'
-- Registered indication country 'za'
-- Setting default indication country to 'us'
== Parsing '/etc/asterisk/features.conf': Found
== Parsing '/etc/asterisk/adsi.conf': Found
== Parsing '/etc/asterisk/dundi.conf': Found
== Parsing '/etc/asterisk/extensions.conf': Found
== Parsing '/etc/asterisk/users.conf': Found
[Feb 21 03:29:15] NOTICE[2563]: pbx_ael.c:4094 pbx_load_module:
Starting AEL load process.
[Feb 21 03:29:15] NOTICE[2563]: pbx_ael.c:4101 pbx_load_module: AEL
load process: calculated config file name
'/etc/asterisk/extensions.ael'.
etc.
How can I go and trim things down?
Thank you.
_______________________________________________
-- 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
|
|
|
Back to top |
|
|
vincent.delporte at bi... Guest
|
Posted: Wed Feb 20, 2008 10:10 pm Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
On Wed, 20 Feb 2008 21:44:30 -0500, "C F" <shmaltz at gmail.com> wrote:
Quote: | vi /etc/asterisk/modules.conf
|
Thanks, but this file doesn't hold much that's uncommented by default:
# cat /etc/asterisk/modules.conf
[modules]
autoload=yes
noload => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
load => res_musiconhold.so
noload => chan_alsa.so
Is this really the only file that Asterisk reads to know what to load? |
|
Back to top |
|
|
pdhales at optusnet.co... Guest
|
Posted: Wed Feb 20, 2008 11:00 pm Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
Head off into /etc/asterisk/modules.conf and add some 'noload' lines.
PaulH
On Thu, 2008-02-21 at 03:30 +0100, Vincent wrote:
Quote: | Hello
I'm using a standard Asterisk install with default settings, and when
I run "reload", I see that Asterisk fetches configuration information
from a lot more sources than just my extensions.conf and sip.conf.
For instance:
-- Registered indication country 've'
-- Registered indication country 'za'
-- Setting default indication country to 'us'
== Parsing '/etc/asterisk/features.conf': Found
== Parsing '/etc/asterisk/adsi.conf': Found
== Parsing '/etc/asterisk/dundi.conf': Found
== Parsing '/etc/asterisk/extensions.conf': Found
== Parsing '/etc/asterisk/users.conf': Found
[Feb 21 03:29:15] NOTICE[2563]: pbx_ael.c:4094 pbx_load_module:
Starting AEL load process.
[Feb 21 03:29:15] NOTICE[2563]: pbx_ael.c:4101 pbx_load_module: AEL
load process: calculated config file name
'/etc/asterisk/extensions.ael'.
etc.
How can I go and trim things down?
Thank you.
_______________________________________________
-- 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 |
|
|
Back to top |
|
|
mkezys at gmail.com Guest
|
Posted: Thu Feb 21, 2008 4:38 am Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
We do:
in modules.conf:
noload => pbx_ael.so
noload => pbx_dundi.so
noload => res_config_pgsql.so
noload => res_smdi.so
in extensions.conf delete every context [default], [demo], whatever
in sip.conf, iax.conf delete all peer/users if any
Regards,
Mindaugas Kezys
http://www.kolmisoft.com
MOR PRO - Advanced Billing for Asterisk PBX
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Vincent
Sent: Thursday, February 21, 2008 4:31 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] How to get a clean, basic configuration?
Hello
I'm using a standard Asterisk install with default settings, and when
I run "reload", I see that Asterisk fetches configuration information
from a lot more sources than just my extensions.conf and sip.conf.
For instance:
-- Registered indication country 've'
-- Registered indication country 'za'
-- Setting default indication country to 'us'
== Parsing '/etc/asterisk/features.conf': Found
== Parsing '/etc/asterisk/adsi.conf': Found
== Parsing '/etc/asterisk/dundi.conf': Found
== Parsing '/etc/asterisk/extensions.conf': Found
== Parsing '/etc/asterisk/users.conf': Found
[Feb 21 03:29:15] NOTICE[2563]: pbx_ael.c:4094 pbx_load_module:
Starting AEL load process.
[Feb 21 03:29:15] NOTICE[2563]: pbx_ael.c:4101 pbx_load_module: AEL
load process: calculated config file name
'/etc/asterisk/extensions.ael'.
etc.
How can I go and trim things down?
Thank you.
_______________________________________________
-- 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 |
|
Back to top |
|
|
vincent.delporte at bi... Guest
|
Posted: Thu Feb 21, 2008 7:59 am Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
On Thu, 21 Feb 2008 15:00:15 +1100, Paul Hales
<pdhales at optusnet.com.au> wrote:
Quote: | Head off into /etc/asterisk/modules.conf and add some 'noload' lines.
|
Ah, makes sense. Asterisk loads everything, and must be told
explicitely _not_ to load something
Is there a comprehensive list that explains what each and every module
does, so that I know what I can safely not load?
Thanks. |
|
Back to top |
|
|
peder at networkoblivi... Guest
|
Posted: Thu Feb 21, 2008 8:24 am Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
"autoload=yes" says to load everything, so you either need to change it
to no and then add load statements for every module you need, or leave
it as yes and then add noload for everything you don't need.
Vincent wrote:
Quote: | On Wed, 20 Feb 2008 21:44:30 -0500, "C F" <shmaltz at gmail.com> wrote:
Quote: | vi /etc/asterisk/modules.conf
|
Thanks, but this file doesn't hold much that's uncommented by default:
# cat /etc/asterisk/modules.conf
[modules]
autoload=yes
noload => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
load => res_musiconhold.so
noload => chan_alsa.so
Is this really the only file that Asterisk reads to know what to load?
_______________________________________________
-- 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
|
|
|
Back to top |
|
|
shmaltz at gmail.com Guest
|
Posted: Thu Feb 21, 2008 8:33 am Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
first off I anwered you to use vi and you complained showing me cat.
then for your next question about ehat each module does. show module
in asterisk in combination with show application as well as a peak at
the source should give you a clue.
also the module names are quite descriptive.
On 2/21/08, Vincent <vincent.delporte at bigfoot.com> wrote:
Quote: | On Thu, 21 Feb 2008 15:00:15 +1100, Paul Hales
<pdhales at optusnet.com.au> wrote:
Quote: | Head off into /etc/asterisk/modules.conf and add some 'noload' lines.
|
Ah, makes sense. Asterisk loads everything, and must be told
explicitely _not_ to load something
Is there a comprehensive list that explains what each and every module
does, so that I know what I can safely not load?
Thanks.
_______________________________________________
-- 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
|
|
|
Back to top |
|
|
Guest
|
Posted: Thu Feb 21, 2008 1:23 pm Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
Delete extensions.ael too, unless you're using AEL instead of the dialplan
Mindaugas Kezys wrote:
Quote: | We do:
in modules.conf:
noload => pbx_ael.so
noload => pbx_dundi.so
noload => res_config_pgsql.so
noload => res_smdi.so
in extensions.conf delete every context [default], [demo], whatever
in sip.conf, iax.conf delete all peer/users if any
Regards,
Mindaugas Kezys
http://www.kolmisoft.com
MOR PRO - Advanced Billing for Asterisk PBX
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Vincent
Sent: Thursday, February 21, 2008 4:31 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] How to get a clean, basic configuration?
Hello
I'm using a standard Asterisk install with default settings, and when
I run "reload", I see that Asterisk fetches configuration information
from a lot more sources than just my extensions.conf and sip.conf.
For instance:
-- Registered indication country 've'
-- Registered indication country 'za'
-- Setting default indication country to 'us'
== Parsing '/etc/asterisk/features.conf': Found
== Parsing '/etc/asterisk/adsi.conf': Found
== Parsing '/etc/asterisk/dundi.conf': Found
== Parsing '/etc/asterisk/extensions.conf': Found
== Parsing '/etc/asterisk/users.conf': Found
[Feb 21 03:29:15] NOTICE[2563]: pbx_ael.c:4094 pbx_load_module:
Starting AEL load process.
[Feb 21 03:29:15] NOTICE[2563]: pbx_ael.c:4101 pbx_load_module: AEL
load process: calculated config file name
'/etc/asterisk/extensions.ael'.
etc.
How can I go and trim things down?
Thank you.
_______________________________________________
-- 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
_______________________________________________
-- 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
|
|
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Thu Feb 21, 2008 3:04 pm Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
On Thu, Feb 21, 2008 at 09:23:49AM -0900, Mojo with Horan & Company, LLC wrote:
Quote: | Mindaugas Kezys wrote:
Quote: | We do:
in modules.conf:
noload => pbx_ael.so
noload => pbx_dundi.so
noload => res_config_pgsql.so
noload => res_smdi.so
|
Delete extensions.ael too, unless you're using AEL instead of the dialplan
|
extensions.ael is harmless on its own.
Quote: | Quote: |
in extensions.conf delete every context [default], [demo], whatever
in sip.conf, iax.conf delete all peer/users if any
|
|
Hmmm... try starting from an empty configuration directory and put in
only what you need?
The sample files are very handy, but are always available for you
separately.
For the brave: use modules.conf without 'autoload = yes'. This promises
you many hours of interesting dialplan debugging. Enjoy.
--
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 |
|
Back to top |
|
|
Guest
|
Posted: Thu Feb 21, 2008 8:33 pm Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
Tzafrir Cohen wrote:
Quote: | Quote: | Delete extensions.ael too, unless you're using AEL instead of the dialplan
|
extensions.ael is harmless on its own.
| It seemed that the default extensions.ael created some demo contexts and
extensions that might befuddle a new user, I could be wrong |
|
Back to top |
|
|
steve.langstaff at cit... Guest
|
Posted: Fri Feb 22, 2008 4:28 am Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
Quote: | From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
Tzafrir Cohen
|
Quote: | For the brave: use modules.conf without 'autoload = yes'.
This promises you many hours of interesting dialplan debugging. Enjoy.
|
Is there any method of automatically parsing a dialplan and generating a
list of the modules required to support it? |
|
Back to top |
|
|
vincent.delporte at bi... Guest
|
Posted: Fri Feb 22, 2008 5:53 am Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
On Thu, 21 Feb 2008 08:33:20 -0500, "C F" <shmaltz at gmail.com> wrote:
Quote: | first off I anwered you to use vi and you complained showing me cat.
|
There's some misunderstanding. I didn't complain. I just didn't know
if Asterisk only looked for stuff in modules.conf because there was so
little there and so much stuff scrolling by when I type "reload".
Before loading modules explicitely, I need to make sure what each does
precisely, and what the interdependencies are, if any, so that I know
what the consequences are if I decide not to load a mdoule that looks
like it's not needed on my setup.
Thanks. |
|
Back to top |
|
|
vincent.delporte at bi... Guest
|
Posted: Fri Feb 22, 2008 5:55 am Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
On Thu, 21 Feb 2008 22:04:41 +0200, Tzafrir Cohen
<tzafrir.cohen at xorcom.com> wrote:
Quote: | For the brave: use modules.conf without 'autoload = yes'. This promises
you many hours of interesting dialplan debugging. Enjoy.
|
Yup, that's what I anticipated, which is why I was asking which
modules I can _safely_ remove without breaking things |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Fri Feb 22, 2008 5:57 am Post subject: [asterisk-users] How to get a clean, basic configuration? |
|
|
On Fri, Feb 22, 2008 at 01:28:58AM -0800, Steve Langstaff wrote:
Quote: | Quote: | From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
Tzafrir Cohen
|
Quote: | For the brave: use modules.conf without 'autoload = yes'.
This promises you many hours of interesting dialplan debugging. Enjoy.
|
Is there any method of automatically parsing a dialplan and generating a
list of the modules required to support it?
|
You'd have to also know which modules were loaded and what applications
they have registered.
I suspect doing so would take a partial loding of Asterisk. How is
apache's configtest implemented?
--
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 |
|
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
|