Module: kamailio
Branch: master
Commit: 3112e49aac274c75cc893693e820da894125403b
URL:
https://github.com/kamailio/kamailio/commit/3112e49aac274c75cc893693e820da8…
Author: �������������������� �������������������������������� <git-dpa(a)aegee.org>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-01-20T11:49:51+01:00
websocket: example must listen on ports 80 and 443
otherwise the code below always matches:
if ($Rp != 80 && $Rp != 443) {
---
Modified: src/modules/websocket/doc/websocket_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/3112e49aac274c75cc893693e820da8…
Patch:
https://github.com/kamailio/kamailio/commit/3112e49aac274c75cc893693e820da8…
---
diff --git a/src/modules/websocket/doc/websocket_admin.xml
b/src/modules/websocket/doc/websocket_admin.xml
index f12d109561..5d33184a85 100644
--- a/src/modules/websocket/doc/websocket_admin.xml
+++ b/src/modules/websocket/doc/websocket_admin.xml
@@ -44,6 +44,8 @@
<programlisting><![CDATA[
...
tcp_accept_no_cl=yes
+listen=tcp:127.0.0.17:80
+listen=tls:127.0.0.17:443
...
loadmodule "sl.so"
loadmodule "xhttp.so"
@@ -135,6 +137,7 @@ event_route[xhttp:request] {
...
loadmodule "sl.so"
loadmodule "tm.so"
+loadmodule "xhttp.so"
...
loadmodule "websocket.so"
...