<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>can you provide the entire http request with such a URL?</p>
<p>Also, run with debug=3 in kamailio.cfg and attach all the log
messages printed by kamailio when processing such request.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 15.12.20 20:27, Syed Shahryar wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+mcf=uMnoNjo9KnH6TotnNkVNeLMW5AzpH8BDYQvvu60qUQ=Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div><br>
</div>
I am sending JWT tokens via SIP URL through JSSIP for
authentication before websocket connection is made.
<div>
<div>However, I am getting errors like:</div>
<div><br clear="all">
<div><font face="monospace">ERROR: <core>
[core/parser/parse_uri.c:1326]: _parse_ruri(): bad uri
<<b>/sip?jwt=..</b><br>
</font></div>
<div><br>
</div>
<div>I have the following setting in kamailio config:</div>
<div><font face="monospace">modparam("xhttp", "url_match",
"^/sip") // only match this path<br>
</font></div>
<div><br>
</div>
<div>Is this a bug or some configuration issue? How do I
resolve it?</div>
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">--<br>
This message contains confidential information and
is intended only for the individual named. If you
are not the named addressee, you should not
disseminate, distribute or copy this email. Please
notify the sender immediately by email if you have
received this email by mistake and delete this email
from your system. Email transmission cannot be
guaranteed to be secure or error-free, as
information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain
viruses. The sender, therefore, does not accept
liability for any errors or omissions in the
contents of this message which arise as a result of
email transmission. If verification is required,
please request a hard-copy version.<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
</body>
</html>