Module: kamailio
Branch: master
Commit: b86d2490f3b96c532cbe07259786757b3ab9fc02
URL:
https://github.com/kamailio/kamailio/commit/b86d2490f3b96c532cbe07259786757…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-09-08T10:00:56+02:00
dialog: rpc set state change to DLG_FLAG_CHANGED instead of DLG_FLAG_NEW
---
Modified: src/modules/dialog/dialog.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b86d2490f3b96c532cbe07259786757…
Patch:
https://github.com/kamailio/kamailio/commit/b86d2490f3b96c532cbe07259786757…
---
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);