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

[reSIProcate-users] Any way to kill a DUM subscription in case of deregistration?


Hello,

We are implementing a third-party registration system over DUM where upon an 
incoming registration, we subscribe to the reg event for the user and keep some 
information in a subclass of AppDialogSet. In case a deregistration event comes 
in, we would like to stop the subscription. We can do this by calling 
AppDialogSet::end() which in turn calls DialogSet::end(), ending the dialog by 
sending a SUBSCRIBE message with a zero expiration time.

Normally, it is a good idea to indicate dialog cleanup to a peer. However, our 
idea is that when a user device had already deregistered, that indicates an 
application shutdown and we would rather not send the extra zero-expiration 
SUBSCRIBE message.

We could not find any public member function of resip::DialogSet that can 
simply kill the subscription message without sending the extra SUBSCRIBE. I 
suspect the possiblyDie() member function would do what we want, but it is a 
private member function.

Is there any chance for reSIProcate/DUM to support killing a dialog like this? 
Can you give us a clue what to do?

Thanks,
Chris

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.