This seems to have worked:
diff --git src/modules/siputils/siputils.c src/modules/siputils/siputils.c
index f4376cd67..3b2d772a8 100644
--- src/modules/siputils/siputils.c
+++ src/modules/siputils/siputils.c
@@ -480,6 +480,11 @@ static int ki_is_uri(sip_msg_t* msg, str* suri)
*
*/
static sr_kemi_t sr_kemi_siputils_exports[] = {
+ { str_init("siputils"), str_init("add_uri_param"),
+ SR_KEMIP_INT, add_uri_param,
+ { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+ },
{ str_init("siputils"), str_init("has_totag"),
SR_KEMIP_INT, has_totag,
{ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
________________________________
From: sr-users <sr-users-bounces(a)lists.kamailio.org> on behalf of Patrick Murphy
<patmurph7(a)outlook.com>
Sent: Wednesday, May 15, 2019 9:41 PM
To: Kamailio (SER) - Users Mailing List
Subject: [SR-Users] siputils add_uri_param not available in KEMI python3
Hello,
I am using the following version of Kamailio and using app_python3 with KEMI but I cannot
find any exported function of add_uri_param from the siputils module.
Any idea how I can perform: KSR.siputils.add_uri_param("name=value") ?
version: kamailio 5.2.2 (x86_64/linux) 9260a2
Cheers,
Pat.