- SHM pointer is freed when it is required later by dialog callbacks. Remove the
free_dlginfo_cell() call.
This is causing crashing after the BYE, when a call is ongoing during a Kamailio restart
The free is actually done by the callback function `dlg_api.register_dlgcb()` when it is
registered in `pua_dialoginfo.c`
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/492
-- Commit Summary --
* pua_dialoginfo: fixed crash when loading dialogs from database on restart
-- File Changes --
M modules/pua_dialoginfo/doc/pua_dialoginfo.xml (11)
M modules/pua_dialoginfo/pua_dialoginfo.c (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/492.patch
https://github.com/kamailio/kamailio/pull/492.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/492