Asterisk server stops automatically

General discussions about AsteriskNOW.

Moderators: Moderator, Support

Asterisk server stops automatically

Postby authentic.sols » Tue Dec 27, 2011 11:29 pm

Hi Everybody,
I don't know but after some time, my asterisk server stops automatically and I have to re run it again. Actually, I have one script written in PHP which is continuously listening for events on the AMI port (i.e. 5038). Due to this issue, my script also stops working because asterisk goes down. Let me tell you that I'm running the asterisk in the background with the following command:

nohup asterisk -vvvgci &

similarly, in order to run my PHP script in the background, I'm using the following command:

nohup /usr/bin/php /var/www/vhosts/ --run=/readevents/ > /var/www/vhosts/ &

Please let me know if there is something wrong I'm doing or there is something I'm missing.

Thank you!
Posts: 5
Joined: Sat Jun 11, 2011 12:02 am

Return to AsteriskNOW General

Who is online

Users browsing this forum: No registered users and 1 guest