I want to write a shell script that can reload asterisk every 3 minutes. How to do this and what reload should I use? reload / reload sip or logger rotate? I am adding sip clients in sip.conf and I am also changing the extensions.conf. I would like to specify that I don’t want to interrupt the calls (if there are between other sip clients) while I am reloading asterisk.
I am working in Ubuntu server.
Asterisk help gives:
You probably want to use
asterisk -rx "reload when convenient"to reload the configuration when there isn’t any call volume.