My sip provider wants me to reboot my server. I am away and need to do it remotely. Is there a way to do it if i am able to login thru web interface?
FreePBX canât be rebooted itâs a program.
I canât see any need to reboot a server. At most you want to restart asterisk.
What Operating System are you running? If CentOS the command is âservice asterisk restartâ
If you can get to the FreePBX web interface, on the tools tab there is a toll for the asterisk cli and there is also java ssh to to get you to the linux cli.
BF
Levi, the previous commenter (edit: not Bill - apparently he and I were posting our replies at the same time - Iâm referring to the one before him) is known for giving questionable advice, and in this case heâs flat-out wrong, if only in his assumption that you wanted to âreboot FreePBXâ - how he got that out of your original message Iâll never know. If you can SSH into your server and get a Linux command prompt, you can do this:
shutdown -r now
(the -r is what makes it reboot). If you donât allow root logins on your server, then you will have to put sudo in front of the above command, as I believe it can only be run with root privileges.
If you donât have direct SSH access to your server and can only get to the FreePBX GUI, then you can go to Tools, then click on Java SSH. This should get you to a command prompt on your server, where you can issue the above command (you may have to press ENTER once or twice first, and of course youâll have to login). If for some reason you canât get to a Linux command prompt at all, then about the best you can do is, also from the Tools menu, click on Asterisk CLI and type in ârestart nowâ or if you donât want to interrupt any calls in progress, ârestart when convenientâ (without the quotes). That will restart Asterisk, although it wonât reboot the system.
I get it that your provider wants you to do this, and you want to comply. In my mind, that ought to be reason enough to answer your question as you asked it, regardless of whether I would personally see any need to do it.
The command ârebootâ also works at the CENTOS command line.
BF