Page 1 of 1

Question about safe_asterisk command

PostPosted: Mon Apr 06, 2020 2:01 pm
by dhijrwn
Hello guys,

I want to ask about the safe_asterisk command. It says that when asterisk crashes then it will try to restart it. By running the command safe_asterisk will it automatically run this? How can I simulate a crash? So I'll know the command is working.

Is there any alternative? I want my asterisk server up and running all the time. Thank you.

Re: Question about safe_asterisk command

PostPosted: Mon Apr 06, 2020 3:20 pm
by mflorell
In more recent versions of VICIdial we already have an auto-restart option for Asterisk(look at the server modify screen). I would not recommend using "safe_asterisk".

Re: Question about safe_asterisk command

PostPosted: Tue Apr 07, 2020 7:50 am
by dhijrwn
mflorell wrote:In more recent versions of VICIdial we already have an auto-restart option for Asterisk(look at the server modify screen). I would not recommend using "safe_asterisk".


Thank you.
I just enabled the auto restart asterisk to Y.
is this setting has a logfile? The setting said that it will check it every minute.
Where can I see the settings this file?

Re: Question about safe_asterisk command

PostPosted: Tue Apr 07, 2020 1:05 pm
by mflorell
There are no settings for that file, it will check Asterisk is up once a minute and if it has to restart Asterisk it will log that to the Admin Change Log.