<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Just try the pointed patch, to see if it
solves your problem..<br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
<div class="moz-cite-prefix">On 21.03.2024 08:37, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALf-Q45hHB93vR+DgZHi29j0JGznOSmfJvRiuuPYuszi4fD90w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">We are using webrtc Client integrated with browsers
using sipml5 client library . I think this is a common library
used across the glob .
<div>Every customer that has this same client running with
webrtc Server (having opensips) is common . </div>
<div>But the error I have seen is for one or two agents only . </div>
<div><br>
</div>
<div><br>
</div>
<div>So the error is for the client or the network ? If it can
be the network then I may suggest the customer to change the
network while using webrtc client . </div>
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2024 at
7:55 PM Bogdan-Andrei Iancu <<a
href="mailto:bogdan@opensips.org" moz-do-not-send="true"
class="moz-txt-link-freetext">bogdan@opensips.org</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> <font face="monospace">Hi,<br>
<br>
There is a fix (to tolerate different version numbers
there) but only in OpenSIPS 3.5 [1] (the devel version),
not yet backported to stable 3.4 and 3.2. You can try to
do the backport by yourself.<br>
<br>
BTW, what WS client & browser are you using ?? It is
pretty unusual what you report here.<br>
<br>
[1]
<a
href="https://github.com/OpenSIPS/opensips/commit/e30a355397b285a5140ebb25a485bed7134de7ee"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://github.com/OpenSIPS/opensips/commit/e30a355397b285a5140ebb25a485bed7134de7ee</a><br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.siphub.com</a></pre>
<div>On 20.03.2024 15:30, Sasmita Panda wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi Bogdan,</div>
<div>I appreciate your reply . </div>
<div><br>
</div>
How can I suggest modifying this header ? Because I have
seen this for some remote agents who run in the browser
. I don't have access to the browser .
<div>The browser which got connected successfully I
couldn't see such types of logs . <br>
<div><br>
</div>
<div>What causes this header version in the wss
connection ? </div>
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and
Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2024
at 6:51 PM Bogdan-Andrei Iancu <<a
href="mailto:bogdan@opensips.org" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">bogdan@opensips.org</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> <font face="monospace">Hi,<br>
<br>
OpenSIPS does not like that 1.1 version in the VIA
hdr - it expects 2.0 (the SIP version).<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.siphub.com</a></pre>
<div>On 12.03.2024 10:57, Sasmita Panda wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi All ,
<div><br>
</div>
<div>1" :callID
080a9ef8-3911-6c41-689c-fbb5d02e3aae<br>
Mar 12 08:23:11 localhost
/usr/sbin/opensips[12987]:
ERROR:core:parse_via: bad char <1> on
state 100<br>
Mar 12 08:23:11 localhost
/usr/sbin/opensips[12987]:
ERROR:core:parse_via: <1.1 <a
href="http://p1wsa01.rivagecapital.com:80"
target="_blank" moz-do-not-send="true">p1wsa01.rivagecapital.com:80</a>
(Cisco-WSA/12.5.4-011)#015#012#015#012><br>
Mar 12 08:23:11 localhost
/usr/sbin/opensips[12987]:
ERROR:core:parse_via: via parse failed<br>
Mar 12 08:23:11 localhost
/usr/sbin/opensips[12987]:
ERROR:core:get_hdr_field: bad via<br>
Mar 12 08:23:11 localhost
/usr/sbin/opensips[12987]: <a
moz-do-not-send="true">INFO:core:parse_headers</a>:
bad header field<br>
Mar 12 08:23:11 localhost
/usr/sbin/opensips[12987]: ERROR:proto_<a
moz-do-not-send="true">wss:ws_parse_req_handshake</a>:
cannot parse headers#012Upgrade:
websocket#015#012Connection:
Upgrade#015#012Host: <a
href="http://ir-webrtc2.3ccloud.com#015%23012Pragma" target="_blank"
moz-do-not-send="true">ir-webrtc2.3ccloud.com#015#012Pragma</a>:
no-cache#015#012Cache-Control:
no-cache#015#012User-Agent: Mozilla/5.0
(Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<a
href="http://122.0.0.0" target="_blank"
moz-do-not-send="true">122.0.0.0</a>
Safari/537.36 Edg/<a
href="http://122.0.0.0#015%23012Origin"
target="_blank" moz-do-not-send="true">122.0.0.0#015#012Origin</a>:
<a
href="https://ir-static.3ccloud.com#015%23012Sec-WebSocket-Version"
target="_blank" moz-do-not-send="true">https://ir-static.3ccloud.com#015#012Sec-WebSocket-Version</a>:
13#015#012Accept-Encoding: gzip,
br#015#012Accept-Language:
en-GB,en;q=0.9,en-US;q=0.8#015#012Sec-WebSocket-Key:
I/8XqtXyBCAGorZYjnTYQA==#015#012Sec-WebSocket-Extensions:
permessage-deflate;
client_max_window_bits#015#012Sec-WebSocket-Protocol:
sip#015#012X-IMForwards: 20#015#012Via: 1.1 <a
href="http://p1wsa01.rivagecapital.com:80"
target="_blank" moz-do-not-send="true">p1wsa01.rivagecapital.com:80</a>
(Cisco-WSA/12.5.4-011)#015#012#015#012</div>
<div><br>
</div>
<div><br>
</div>
<div> I am getting this error on my opensips
server where I am running webrtc . What is
this error for ? </div>
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks &
Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and
Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>