<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 10pt; font-family: "Calibri Light", "Helvetica Light", sans-serif;">This seems to have worked:</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: "Courier New", monospace; font-size: 10pt;">diff --git src/modules/siputils/siputils.c src/modules/siputils/siputils.c</span><span><br>
</span>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">index f4376cd67..3b2d772a8 100644</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">--- src/modules/siputils/siputils.c</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">+++ src/modules/siputils/siputils.c</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">@@ -480,6 +480,11 @@ static int ki_is_uri(sip_msg_t* msg, str* suri)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> *</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> */</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> static sr_kemi_t sr_kemi_siputils_exports[] = {</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">+ { str_init("siputils"), str_init("add_uri_param"),</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">+ SR_KEMIP_INT, add_uri_param,</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">+ { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">+ },</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> { str_init("siputils"), str_init("has_totag"),</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> SR_KEMIP_INT, has_totag,</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,</span><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<span> </span><br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org> on behalf of Patrick Murphy <patmurph7@outlook.com><br>
<b>Sent:</b> Wednesday, May 15, 2019 9:41 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> [SR-Users] siputils add_uri_param not available in KEMI python3</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-size:10pt; font-family:"Calibri Light","Helvetica Light",sans-serif">Hello,</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-size:10pt; font-family:"Calibri Light","Helvetica Light",sans-serif">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. </span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-size:10pt; font-family:"Calibri Light","Helvetica Light",sans-serif">Any idea how I can perform:
</span><span style="font-size:10pt; font-family:"Courier New",monospace">KSR.siputils.add_uri_param("name=value")</span><span style="font-size:10pt; font-family:"Calibri Light","Helvetica Light",sans-serif"> ?</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-size:10pt; font-family:"Courier New",monospace">version: kamailio 5.2.2 (x86_64/linux) 9260a2<br>
</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-size:10pt; font-family:"Calibri Light","Helvetica Light",sans-serif">Cheers,</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-size:10pt; font-family:"Calibri Light","Helvetica Light",sans-serif">Pat.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
</div>
</body>
</html>