Search the web
Sign In
New User? Sign Up
nslu2-asterisk · Asterisk on Linksys NSLU2
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Asterisk runs but can't find config files   Message List  
Reply | Forward Message #1048 of 1064 |
Everyone,

I recently loaded Asterisk on my WRT-54gl with 2gig sd. (did the ipkg, jffs,
optware etc...

Although it runs - when is I issue $asterisk -cvvv I can see that it can't quite
find the config files. I guess that the init file needs to be modified
correctly. Here is some of the output of the errors.
Otherwise, asterisk does come up with the >CLI command but no modules nor
configs are loaded - even though they are in their respective folders.

typical - error is
Parsing '/etc/asterisk/modules.conf' : Not found no such file or directories
......

Here is the current init - which I think needs to be modified to direct the
program to the correct locations - but I don't know how to modify it. Can
someone tell me where in the init to direct the program to the correct
directories?

Thanks Rand




root@sherman:/jffs/etc/init.d# cat asterisk
#!/bin/sh
DEFAULT=/etc/default/asterisk
OPTIONS=""
[ -f $DEFAULT ] && . $DEFAULT
[ "$ENABLE_ASTERISK" = "yes" ] || exit 0
case $1 in
start)
[ -d /var/run ] || mkdir -p /var/run
[ -d /var/log/asterisk ] || mkdir -p /var/log/asteri
sk
[ -d /var/spool/asterisk ] || mkdir -p /var/spool/as
terisk
/usr/sbin/asterisk $OPTIONS
;;
stop)
[ -f /var/run/asterisk.pid ] && kill $(cat /var/run/
asterisk.pid) >/dev/null 2>&1
;;
*)
echo "usage: $0 (start|stop)"
exit 1
esac

exit $?





Sun May 3, 2009 3:12 pm

shermanrand
Offline Offline
Send Email Send Email

Forward
Message #1048 of 1064 |
Expand Messages Author Sort by Date

Everyone, I recently loaded Asterisk on my WRT-54gl with 2gig sd. (did the ipkg, jffs, optware etc... Although it runs - when is I issue $asterisk -cvvv I can...
shermanrand
Offline Send Email
May 4, 2009
3:29 pm

Hello Rand, Which version of asterisk are you installing from optware? aterisk14 and asterisk16 should come preconfigured with the right directories. With...
Ovidiu Sas
ovi_sas
Offline Send Email
May 4, 2009
3:35 pm

Hi Rand, The default path to the asterisk.conf is /etc/asterisk and I believe that on Optware has been patched to be /opt/etc/asterisk. Also, you can specify...
Corneliu Doban
corneliu_doban
Offline Send Email
May 4, 2009
4:23 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help