< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

[reSIProcate-users] Always "waiting for usages to be deleted (3)" during resip shutdown after deregistration and un-subscription


Hi,
 
My device, at power-up, does a SIP REGISTER and a SIP SUBSCRIBE, and receives a SIP NOTIFY for the SUBSCRIBE request. Then, the device is powered down. It does a deregistration and subscription, and it also receives the final notification for the subscription (state is terminated). But the resip does not call my API onDumCanBeDeleted(). It seems to be waiting for something to be released, my log is in the attachment.
 
In the log, the usages (at the point of powering down) is 5, after un-subscribe and deregister, it becomes 3 and it gets stuck in 3.
 
DEBUG | 20090731-024315.830 | sipmgr | RESIP:DUM | 706996888 | HandleManager.cxx:47 | Shutdown waiting for all usages to be deleted (5)
DEBUG | 20090731-024316.352 | sipmgr | RESIP:DUM | 706996888 | HandleManager.cxx:85 | Waiting for usages to be deleted (4)
DEBUG | 20090731-024316.357 | sipmgr | RESIP:DUM | 706996888 | HandleManager.cxx:85 | Waiting for usages to be deleted (3)
DEBUG | 20090731-024317.191 | sipmgr | RESIP:DUM | 706996888 | HandleManager.cxx:85 | Waiting for usages to be deleted (3)
What is the reason? What is resip waiting for? Did I miss out anything? Please advise. Thank you very much for your time.
 
Regards,
Kok Meng

Attachment: shutdown.log
Description: shutdown.log