[sr-dev] [kamailio/kamailio] dialog: adding RPC dlg.kill_active_dlg command (#2111)
jklingenmeyer
notifications at github.com
Tue Dec 17 12:38:20 CET 2019
Daniel,
Thinking about it further, I would rather replace this block:
`if(ostate==DLG_STATE_CONFIRMED && sval==DLG_STATE_DELETED) {`
by this one:
`if(sval==DLG_STATE_DELETED) {`
Because if a dialog is changed to deleted state from a state < 4, it stays in the dialog memory for no reason. I think it would be cleaner to reset the timestamps each time the state is set to 5, whatever the old state was.
What is your opinion about this?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2111#issuecomment-566505273
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191217/a1ba7ebc/attachment.html>
More information about the sr-dev
mailing list