Question about safe_asterisk command

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Question about safe_asterisk command

Postby dhijrwn » Mon Apr 06, 2020 2:01 pm

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.
Cluster setup i7-9700 cpu @ 3.00ghz 32GB ram 1xDB WEB ARCH 11xTEL 4core
ViciBox v.9.0.3 ISO VERSION:2.14-853a BUILD: 220328-1420
SVN: 3595 DB Schema: 1657 | Asterisk 13.29.2-vici
Zoiper 5 | VICIPhone| No Digium/Sangoma Hardware
dhijrwn
 
Posts: 149
Joined: Tue Jan 07, 2020 6:12 am

Re: Question about safe_asterisk command

Postby mflorell » Mon Apr 06, 2020 3:20 pm

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".
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Question about safe_asterisk command

Postby dhijrwn » Tue Apr 07, 2020 7:50 am

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?
Cluster setup i7-9700 cpu @ 3.00ghz 32GB ram 1xDB WEB ARCH 11xTEL 4core
ViciBox v.9.0.3 ISO VERSION:2.14-853a BUILD: 220328-1420
SVN: 3595 DB Schema: 1657 | Asterisk 13.29.2-vici
Zoiper 5 | VICIPhone| No Digium/Sangoma Hardware
dhijrwn
 
Posts: 149
Joined: Tue Jan 07, 2020 6:12 am

Re: Question about safe_asterisk command

Postby mflorell » Tue Apr 07, 2020 1:05 pm

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.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 26 guests