jonas kellens
2009-Sep-29 18:19 UTC
[asterisk-users] Asterisk on DD-WRT : modules.conf not found
Through the optware-package I have installed Asterisk on an external USB. Further I have a Linksys WRT610N with DD-WRT v24 mega. I start asterisk with the following command : /opt/sbin/asterisk -c I get the following WARNING : root at DD-WRT:/opt/etc/asterisk# /opt/sbin/asterisk -c Asterisk 1.4.22.1, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster at digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================[ Booting... [ Reading Master Configuration ] Errors detected in logger.conf: see above; default settings will be used. [Jan 1 00:56:22] Asterisk Event Logger Started /var/log/asterisk/event_log [Jan 1 00:56:22] Asterisk Dynamic Loader Starting: [Jan 1 00:56:22] WARNING[4942]: loader.c:786 load_modules: No 'modules.conf' found, no modules will be loaded. ... Although I have a modules.conf file in /opt/etc/asterisk/-directory : root at DD-WRT:/opt/etc/asterisk# ls -l /opt/etc/asterisk/ -rw-r--r-- 1 root root 2845 Jan 13 2009 agents.conf -rw-r--r-- 1 root root 2675 Jan 13 2009 alsa.conf -rw-r--r-- 1 root root 767 Jan 13 2009 amd.conf -rw-r--r-- 1 root root 1981 Jan 1 00:39 asterisk.conf -rw-r--r-- 1 root root 7324 Jan 13 2009 cdr.conf -rw-r--r-- 1 root root 190 Jan 13 2009 dnsmgr.conf -rw-r--r-- 1 root root 1506 Jan 13 2009 extconfig.conf -rw-r--r-- 1 root root 1976 Jan 1 00:42 extensions.conf -rw-r--r-- 1 root root 5301 Jan 13 2009 features.conf -rw-r--r-- 1 root root 3755 Jan 13 2009 followme.conf -rw-r--r-- 1 root root 997 Jan 13 2009 http.conf -rw-r--r-- 1 root root 1548 Jan 1 00:39 iax.conf -rw-r--r-- 1 root root 25247 Jan 1 00:39 indications.conf -rw-r--r-- 1 root root 2174 Jan 1 00:49 logger.conf -rw-r--r-- 1 root root 926 Jan 13 2009 meetme.conf -rw-r--r-- 1 root root 1393 Jan 1 00:54 modules.conf -rw-r--r-- 1 root root 1943 Jan 13 2009 musiconhold.conf -rw-r--r-- 1 root root 3594 Jan 13 2009 oss.conf -rw-r--r-- 1 root root 11732 Jan 13 2009 queues.conf -rw-r--r-- 1 root root 496 Jan 13 2009 rtp.conf -rw-r--r-- 1 root root 38583 Jan 13 2009 sip.conf -rw-r--r-- 1 root root 317 Jan 13 2009 sip_notify.conf -rw-r--r-- 1 root root 6695 Jan 13 2009 sla.conf Could I change something to point Asterisk to the correct modules.conf-file ?? Also there are no sip and/or iax-users : *CLI> sip show users No such command 'sip show users' (type 'help sip show' for other possible commands) *CLI> iax2 show users No such command 'iax2 show users' (type 'help iax2 show' for other possible commands) The command sip show and iax2 show do not seem to be present... Can someone advise ?? Greetingz, Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090929/f91d5afd/attachment.htm
Tzafrir Cohen
2009-Sep-29 22:07 UTC
[asterisk-users] Asterisk on DD-WRT : modules.conf not found
On Tue, Sep 29, 2009 at 08:19:16PM +0200, jonas kellens wrote:> Through the optware-package I have installed Asterisk on an external > USB. Further I have a Linksys WRT610N with DD-WRT v24 mega. > > I start asterisk with the following command : /opt/sbin/asterisk -c > I get the following WARNING : > > root at DD-WRT:/opt/etc/asterisk# /opt/sbin/asterisk -c > Asterisk 1.4.22.1, Copyright (C) 1999 - 2008 Digium, Inc. and others. > Created by Mark Spencer <markster at digium.com> > Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' > for details. > This is free software, with components licensed under the GNU General > Public > License version 2 and other licenses; you are welcome to redistribute it > under > certain conditions. Type 'core show license' for details. > ========================================================================> [ Booting... > [ Reading Master Configuration ] > Errors detected in logger.conf: see above; default settings will be > used. > [Jan 1 00:56:22] Asterisk Event Logger > Started /var/log/asterisk/event_log > [Jan 1 00:56:22] Asterisk Dynamic Loader Starting: > [Jan 1 00:56:22] WARNING[4942]: loader.c:786 load_modules: No > 'modules.conf' found, no modules will be loaded. > ... > > Although I have a modules.conf file in /opt/etc/asterisk/-directory : > > root at DD-WRT:/opt/etc/asterisk# ls -l /opt/etc/asterisk/ > -rw-r--r-- 1 root root 2845 Jan 13 2009 agents.conf > -rw-r--r-- 1 root root 2675 Jan 13 2009 alsa.conf > -rw-r--r-- 1 root root 767 Jan 13 2009 amd.conf > -rw-r--r-- 1 root root 1981 Jan 1 00:39 asterisk.conf > -rw-r--r-- 1 root root 7324 Jan 13 2009 cdr.conf > -rw-r--r-- 1 root root 190 Jan 13 2009 dnsmgr.conf > -rw-r--r-- 1 root root 1506 Jan 13 2009 extconfig.conf > -rw-r--r-- 1 root root 1976 Jan 1 00:42 extensions.conf > -rw-r--r-- 1 root root 5301 Jan 13 2009 features.conf > -rw-r--r-- 1 root root 3755 Jan 13 2009 followme.conf > -rw-r--r-- 1 root root 997 Jan 13 2009 http.conf > -rw-r--r-- 1 root root 1548 Jan 1 00:39 iax.conf > -rw-r--r-- 1 root root 25247 Jan 1 00:39 indications.conf > -rw-r--r-- 1 root root 2174 Jan 1 00:49 logger.conf > -rw-r--r-- 1 root root 926 Jan 13 2009 meetme.conf > -rw-r--r-- 1 root root 1393 Jan 1 00:54 modules.conf > -rw-r--r-- 1 root root 1943 Jan 13 2009 musiconhold.conf > -rw-r--r-- 1 root root 3594 Jan 13 2009 oss.conf > -rw-r--r-- 1 root root 11732 Jan 13 2009 queues.conf > -rw-r--r-- 1 root root 496 Jan 13 2009 rtp.conf > -rw-r--r-- 1 root root 38583 Jan 13 2009 sip.conf > -rw-r--r-- 1 root root 317 Jan 13 2009 sip_notify.conf > -rw-r--r-- 1 root root 6695 Jan 13 2009 sla.confIs /opt/etc/asterisk the compiled config directory (astetcdir)? What is the contents of asterisk.conf? -- 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