>> >> Can I raise an Improvement issue for (ii), so that when Config UI is >> restarted from Servers page, it should navigate to " SERVER IS >> RESTARTING. PLEASE WAIT...." page and after sometime, automatically >> redirected to login page. ? > > That's the same as the issue that Tambrea Cosmin just posted about, but > in regards to restarting the server after an upgrade. > > http://list.sipfoundry.org/archive/sipx-dev/msg21726.html
I don't know if this helps Cosmin or clarifies how the configuration server restart from UI is done (through the Waiting Page), but let me re-iterate the WaitingPage mechanism. The mechanism is as follows: 1. The user presses restart button/link 2.The Waiting Page is displayed and the *afterResponseSent* sipXconfig method of the WaitingListener is called (this method is implemented by your custom WaitingListener. Among other things you want to execute, you should send a restart configuration server command) This call is handled by the browser: There is a JavaScript script that the WaitingPage executes and calls afterResponseSent method once the page is loaded in the browser. Using Dojo cross-domain Ajax capabilities, the JavaScript script verifies if the server is down and waits for the server to come up 3. When the server is up, the script redirects to the Login Page. This mechanism is already implemented in Software Update task. Also it is already implemented in Restore task, and in the new born Certificate Authorities task. Regards, Mircea > > _______________________________________________ > sipx-dev mailing list [email protected] > List Archive: http://list.sipfoundry.org/archive/sipx-dev > Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev > sipXecs IP PBX -- http://www.sipfoundry.org/ > _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
