Module: kamailio
Branch: master
Commit: 9140686dcd4c32712e46f3e6e824ab090545a03e
URL:
https://github.com/kamailio/kamailio/commit/9140686dcd4c32712e46f3e6e824ab0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-03-14T12:53:56+01:00
misctesc: sync-ed with fuzz function
---
Modified: src/modules/misctest/misctest_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9140686dcd4c32712e46f3e6e824ab0…
Patch:
https://github.com/kamailio/kamailio/commit/9140686dcd4c32712e46f3e6e824ab0…
---
diff --git a/src/modules/misctest/misctest_mod.c b/src/modules/misctest/misctest_mod.c
index 0867c1ae46..c00a8b9c5c 100644
--- a/src/modules/misctest/misctest_mod.c
+++ b/src/modules/misctest/misctest_mod.c
@@ -40,6 +40,7 @@
#include "../../core/parser/parse_hname2.h"
#include "../../core/parser/contact/parse_contact.h"
#include "../../core/parser/parse_to.h"
+#include "../../core/parser/parse_rr.h"
#include "../../core/parser/parse_from.h"
#include "../../core/parser/parse_refer_to.h"
#include "../../core/parser/parse_ppi_pai.h"
@@ -341,7 +342,7 @@ static int misctest_message_init(void)
parse_to_uri(&tmsg);
- parse_contact_header(&tmsg);
+ parse_contact_headers(&tmsg);
parse_refer_to_header(&tmsg);
@@ -355,6 +356,10 @@ static int misctest_message_init(void)
parse_identityinfo_header(&tmsg);
+ parse_record_route_headers(&tmsg);
+
+ parse_route_headers(&tmsg);
+
str uri;
get_src_uri(&tmsg, 0, &uri);