[SR-Users] siputils add_uri_param not available in KEMI python3

Patrick Murphy patmurph7 at outlook.com
Thu May 16 00:25:27 CEST 2019


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 at lists.kamailio.org> on behalf of Patrick Murphy <patmurph7 at 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190515/b979d7f8/attachment.html>


More information about the sr-users mailing list