Jump to content

Feature Request: Restart service from web page


Rob Lloyd
 Share

Recommended Posts

I'd like to request a way to restart the pbx service from the webpage. Sometimes I don't have full access to the OS, just the PBX Admin page. Having a way to restart the service from there would be helpful.

 

In the later versions we actually have something. Officially it will be a 4.0 feature, but AFAIK it is also in 3.3.

 

You can use it this way: When you are logged in as system administrator, enter a URL into the web browser that looks like this:

 

http://pbx/reg_status.htm?save=save&reboot=next

 

this will reboot the system on the next occation when there is no call active. If you want to reboot the system at midnight, you can use this one:

 

http://pbx/reg_status.htm?save=save&reboot=wait

 

What the PBX does is simply terminate the process. Then the external monitoring script has to take care about the restart of the PBX. In Windows, the service manager has to do that job. In Linux, MaxOS and FreeBSD you will have to write your own little dirty supervisor program that automatically restarts the PBX after it terminated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...