The new flag will be accessible using $dlg(dflags). You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/129
-- Commit Summary --
* dialog: add new flag for expired dialogs * dialog: set DLG_FLAG_EXPIRED flag when timeout
-- File Changes --
M modules/dialog/dlg_handlers.c (3) M modules/dialog/dlg_hash.h (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/129.patch https://github.com/kamailio/kamailio/pull/129.diff
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/129
Currently, I'm checking if the flag is set as follows:
if($dlg(dflags)&(1<<10)) { ... }
Is there a cleaner solution to do it?
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/129#issuecomment-93400973
Thanks, it will be merged.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/129#issuecomment-93451366
Merged #129.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/129#event-282215662