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

Patrick Wakano pwakano at gmail.com
Tue May 19 15:37:28 CEST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150519/7ef2d6c2/attachment.htm>


More information about the Users mailing list