Posted: Mon Oct 11, 2010 21:13 Post subject: Asterisk Startup
I just recently installed Asterisk 1.4 on my Asus RT-N16 (build 14929) and I am having trouble with getting Asterisk to start on startup. I followed the directions in this link.
After doing the installation of the startup files and enter "asterisk" in the Administration ---> Commands field, I reboot the router and it works perfectly the first time. I tried rebooting the router a day later and it doesn't work. I've tried putting /opt/sbin/asterisk in the Commands field but no dice. It only seems to work the first time.
Anyone have any ideas? If you need more information please let me know.
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Mon Oct 11, 2010 23:45 Post subject:
Have you verified if your '/opt' location is being mounted properly?
If it is, you might need to put a 'sleep' statement of several seconds before you try launching asterisk. The startup commands tend to run concurrently with some other processes including the mounting of USB devices. If the '/opt' location is not mounted at the time of the startup script running it, then it will never start.
Also, have you tried seeing if the asterisk program is running in memory from the console? If it is not running, have you tried starting it from the command line and then see if it is running in memory? _________________ E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]
Try Dropbox for syncing files - get 2.5gb online for free by signing up.
Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
I have another question that I'm hoping someone can answer
After Asterisk starts up I checked the running processes by typing the "top" command. I see that there are over 10 running Asterisk processes all with different PIDs. Anyone have an idea as to why there are so many Asterisk processes running at one time?