<div dir="ltr">Andrew,<div><br></div><div>   I believe per docs it finds a param with no value, so it may not match if there is a value on that attribute.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 21, 2019 at 1:24 PM Andrew Chen <<a href="mailto:achen@fuze.com">achen@fuze.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi all,<div><br></div><div>Question.  I'm executing uri_param() function to look for our customized Request-URI parameters generated by our client.  However, it keeps saying the param is not there even though my client logs shows the param was generated.  Below is an example Request-URI from a test call I made:</div><div><br></div><div>sips:<some long string>@sjomainkamavip50.fuzemeeting.com:443;FN=<a href="http://sjomainfn92.a.fuzemeeting.com" target="_blank">sjomainfn92.a.fuzemeeting.com</a>;BR=<a href="http://sjomainfn91.a.fuzemeeting.com" target="_blank">sjomainfn91.a.fuzemeeting.com</a>;AK=<some key>;transport=wss"<br></div><div><div><br></div><div>And here is my line of code to check it:</div><div><br></div><div><div>                        if(uri_param("AK") ||uri_param("ak")) {</div><div>                                xlog("L_INFO", "[CSeq $cs] AK value detected");</div><div>                        } else {</div><div>                                xlog("L_INFO", "[CSeq $cs] AK value not detected.  Aborting call");</div><div>                                drop();</div><div>                        }</div></div><div>Am I misusing this function somehow?</div><div><br></div><div>I'm running 5.1.2.</div><div><br></div><div>Thanks</div><div><br></div><div>Regards,</div><div><br></div>-- <br><div dir="ltr" class="gmail-m_8785546957574508128gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px">Andy Chen</div><div dir="ltr" style="font-size:12.8px"><div><br></div></div></div></div></div></div></div></div></div>

<br>
<span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">*Confidentiality Notice: The information contained in this e-mail and any</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments may be confidential. If you are not an intended recipient, you</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">are hereby notified that any dissemination, distribution or copying of this</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">e-mail is strictly prohibited. If you have received this e-mail in error,</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">please notify the sender and permanently delete the e-mail and any</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments immediately. You should not retain, copy or use this e-mail or</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">any attachment for any purpose, nor disclose all or any part of the</span><br style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">contents to any other person. Thank you.*</span>_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>