Device registration timeout
For an integration we are monitoring users via the SOAP API, and we especially use the findUser function to get a user's information and State flag, which indicates whether or not there is a device registered.
The problem is that the user's State flag is not updated fast enough. For example, if I unplug a phone, it takes at least 30 or more seconds before the user's State flag that is returned via the findUser SOAP call, contains a 0 instead of a 1.
In case myPBX is used, this works faster if the user uses the login/logoff functionality, but, I guess this is because the "logoff" is called and makes sure the registration is gone, while, for a normal telephony device this has to do with the device's registration interval.
Is this indeed the case, and, if so, is it possible to reduce this interval in such a way that the fact that the device is gone, is noticed sooner (e.g. after 5 seconds)? If you have any other ideas on how to better monitor users and their devices, please also let me know...
Thx in advance
Wim