Module: kamailio
Branch: 5.5
Commit: 0c9d7e3378a4e3ffb1e6a7e48f89b7649aaa6fb2
URL:
https://github.com/kamailio/kamailio/commit/0c9d7e3378a4e3ffb1e6a7e48f89b76…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-09-09T10:32:45+02:00
dialog: rpc set state change to DLG_FLAG_CHANGED instead of DLG_FLAG_NEW
(cherry picked from commit b86d2490f3b96c532cbe07259786757b3ab9fc02)
---
Modified: src/modules/dialog/dialog.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0c9d7e3378a4e3ffb1e6a7e48f89b76…
Patch:
https://github.com/kamailio/kamailio/commit/0c9d7e3378a4e3ffb1e6a7e48f89b76…
---
diff --git a/src/modules/dialog/dialog.c b/src/modules/dialog/dialog.c
index 7e5b00425b..243bb9bd9f 100644
--- a/src/modules/dialog/dialog.c
+++ b/src/modules/dialog/dialog.c
@@ -2706,7 +2706,7 @@ static void rpc_dlg_set_state(rpc_t *rpc,void *c){
dlg->init_ts = (unsigned int)(time(0));
dlg->end_ts = (unsigned int)(time(0));
}
- dlg->dflags |= DLG_FLAG_NEW;
+ dlg->dflags |= DLG_FLAG_CHANGED;
dlg_unref(dlg, unref);