Start Asterisk wih option -vvvgc

All installation and configuration problems and questions

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

Start Asterisk wih option -vvvgc

Postby saulortega » Fri Feb 13, 2015 4:35 pm

Hello.

How can I to do that Asterisk runs with option -vvvgc after every reboot?
saulortega
 
Posts: 118
Joined: Mon Jul 29, 2013 11:46 am

Re: Start Asterisk wih option -vvvgc

Postby chasejordan1 » Sat Feb 14, 2015 12:11 am

You can set up a cronjob.

30 6 * * * /usr/sbin/asterisk -vvvvgc


This should restart asterisk at 6 30 am every morning. You can test it in the command line and if it works then just put it into crontab and set the time.

Hope this helps.
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Re: Start Asterisk wih option -vvvgc

Postby DomeDan » Mon Feb 16, 2015 2:57 am

it is started with -vvvvgcT by default

it starts with /etc/init.d/vicidial
which executes /usr/share/astguiclient/start_asterisk_boot.pl at boot
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: Start Asterisk wih option -vvvgc

Postby saulortega » Tue Feb 17, 2015 9:01 am

DomeDan wrote:it is started with -vvvvgcT by default

it starts with /etc/init.d/vicidial
which executes /usr/share/astguiclient/start_asterisk_boot.pl at boot
Yes, thanck you.
saulortega
 
Posts: 118
Joined: Mon Jul 29, 2013 11:46 am


Return to Support

Who is online

Users browsing this forum: No registered users and 146 guests