[sr-dev] [kamailio] modules/dialog: make dialog context available in event route tm:local… (#291)

Daniel-Constantin Mierla notifications at github.com
Mon Aug 24 09:38:56 CEST 2015


At that stage, dialog needs to be unref'ed two times in order to be destroyed. If BYE is sent ok, then one unref is done when processing the response of the BYE. If BYE is not sent, then the dialog is unref'ed by that IF condition, because there is no expected response.

Removing one unref is not ok and it is not 'fixed' by a next unref. This manages a reference counter, not a mutex.

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/291#issuecomment-134073572
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150824/7624b61a/attachment-0001.html>


More information about the sr-dev mailing list