[OpenSIPS-Users] Pseudo variable $proto is null for websocket

Bogdan-Andrei Iancu bogdan at opensips.org
Tue May 19 16:10:00 CEST 2015


Hi Patrick,

Thank you for your report. Both code and docs were fixed. See
https://github.com/OpenSIPS/opensips/commit/59145d218b534119f11fc54c5254ab20fe71c0cd)

Please update from git (trunk and 2.1) and  try again.

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 19.05.2015 16:37, Patrick Wakano wrote:
> Hello,
>
> During my first tests with WebRTC and Opensips 2.1 I noticed that the 
> pseudo variable $proto is <null> if my endpoint is using websocket. Is 
> it a bug?
> The doc doesn't include the 'WS' or 'WSS' as transport types... 
> (http://www.opensips.org/Documentation/Script-CoreVar-2-1#toc62)
>
> For instance, the line
>     xlog("L_NOTICE","$rm: Received $proto request");
> writes
>     REGISTER: Received <null> request
> for a websocket Register request in the syslog.
>
> Thanks,
> Patrick
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150519/a369e9d0/attachment.htm>


More information about the Users mailing list