Module: kamailio
Branch: master
Commit: dfc893140a860f9ece20ddf7743541dbbc260c6c
URL:
https://github.com/kamailio/kamailio/commit/dfc893140a860f9ece20ddf7743541d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-02-07T15:56:37+01:00
rtjson: mark for new branching after setting ruri or duri
---
Modified: src/modules/rtjson/rtjson_routing.c
---
Diff:
https://github.com/kamailio/kamailio/commit/dfc893140a860f9ece20ddf7743541d…
Patch:
https://github.com/kamailio/kamailio/commit/dfc893140a860f9ece20ddf7743541d…
---
diff --git a/src/modules/rtjson/rtjson_routing.c b/src/modules/rtjson/rtjson_routing.c
index 9ffff9e80b..2951c142c4 100644
--- a/src/modules/rtjson/rtjson_routing.c
+++ b/src/modules/rtjson/rtjson_routing.c
@@ -359,6 +359,8 @@ int rtjson_init_serial(sip_msg_t *msg, srjson_doc_t *jdoc, sr_xavp_t
*iavp)
goto error;
}
}
+ /* mark for new branching */
+ ruri_mark_new();
rj = srjson_GetObjectItem(jdoc, nj, "path");
if(rj!=NULL && rj->type==srjson_String && rj->valuestring!=NULL)
{