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

Patrick Wakano pwakano at gmail.com
Tue May 19 19:11:40 CEST 2015


Many thanks Bogdan!!
Just tested and it is working!

Patrick

On Tue, May 19, 2015 at 11:10 AM, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

>  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 Developerhttp://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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150519/6bdc9c10/attachment.htm>


More information about the Users mailing list