CTI Client network functions (C++ CTI API)CTI_NPrepareRestart |
Prepare client for restart.
Parameters lMinutes Time in minutes which should elapse before the restart. When lMinutes = 0, a restart occurs immediately. If the value is negative, the client is not restarted.
Return value None
Remarks The CTI server can shut down and restart the standard clients. This can be useful if the clients were started from the network and the files have to be changed. The restart can be triggered from the server control panel, “User administration” page.
You can also support these functions. When a CTI_CLIENTCLOSE event arrives, the IParam tells you the time until the client should restart. Call CTI_NPrepareRestart passing this time as a parameter, and end the application. The application will be restarted after the time has elapsed.
Example
See also Network functions overview | CTI_CLIENTCLOSE
© 2020 Tino Kasubke. All rights reserved.
|