I have qualify=500 set in the sip.conf. I expected that this setting will cause a TOO LAGGED/UNREACHABLE message in the log file and on console every time a sip client goes offline. However it is not the case. Many times I’ve seen a device go offline. It was clear that asterisk has detected that the device is offline (UNKNOWN in ‘sip show peers’ output). However the message in the log did not appear.
Is that a bug? Or there are some other requirements to be met in order to put the UNREACHABLE message in the log? Does anybody know the way to monitor every reachable/unreachable state change for the devices registered in asterisk (currently the most reliable method I’ve found is parsing the output of ‘sip show peers’ once in a while)?
Thanks in advance