[sr-dev] [kamailio] dialog: run event_route[dialog:end] in case of dialog termination by … (#246)

Andrey Utkin notifications at github.com
Thu Jul 16 17:04:06 CEST 2015


> The unrefs should be ok. One is done in case bye was not sent out, to destroy dialog faster, otherwise it will wait for the reply of the bye to unref and destroy dialog.

I meant that the new code is this:
```
 			if(dlg_bye_all(dlg, NULL)<0)
 				dlg_unref(dlg, 1);
 			dlg_unref(dlg, 1);
```

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


More information about the sr-dev mailing list