[SR-Users] ERROR: <core> [core/parser/parse_uri.c:1326]: _parse_ruri(): bad uri </sip?jwt=..

Syed Shahryar syedshahryar at gmail.com
Tue Dec 15 20:27:22 CET 2020


I am sending JWT tokens via SIP URL through JSSIP for authentication before
websocket connection is made.

However, I am getting errors like:

ERROR: <core> [core/parser/parse_uri.c:1326]: _parse_ruri(): bad uri <
*/sip?jwt=..*

I have the following setting in kamailio config:
modparam("xhttp", "url_match", "^/sip") // only match this path

Is this a bug or some configuration issue? How do I resolve it?

-- 
--
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201215/a1c06462/attachment.htm>


More information about the sr-users mailing list