You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3344
-- Commit Summary --
* test/ : typos
* snmpstats: typos
-- File Changes --
M src/modules/snmpstats/doc/snmpstats_admin.xml (8)
M src/modules/snmpstats/hashTable.c (2)
M src/modules/snmpstats/hashTable.h (2)
M src/modules/snmpstats/interprocess_buffer.c (6)
M src/modules/snmpstats/mibs/KAMAILIO-MIB (10)
M src/modules/snmpstats/mibs/KAMAILIO-REG-MIB (6)
M src/modules/snmpstats/mibs/KAMAILIO-SIP-COMMON-MIB (4)
M src/modules/snmpstats/mibs/KAMAILIO-SIP-SERVER-MIB (6)
M src/modules/snmpstats/mibs/KAMAILIO-TC (4)
M src/modules/snmpstats/snmpObjects.c (2)
M src/modules/snmpstats/snmpSIPContactTable.c (2)
M src/modules/snmpstats/snmpSIPContactTable.h (2)
M src/modules/snmpstats/snmpSIPRegUserLookupTable.c (4)
M src/modules/snmpstats/snmpSIPRegUserLookupTable.h (2)
M src/modules/snmpstats/snmpSIPStatusCodesTable.c (4)
M src/modules/snmpstats/sub_agent.c (2)
M test/misc/cfg/mobile61.cfg (2)
M test/misc/cfg/nc.cfg (8)
M test/misc/cfg/struas.cfg (2)
M test/misc/cfg/test1.cfg (2)
M test/misc/cfg/use_jab.cfg (2)
M test/misc/code/atomic_test.c (2)
M test/misc/code/atomic_test2.c (2)
M test/misc/code/basex.c (2)
M test/misc/code/shoot.c (2)
M test/misc/code/shoot2.c (2)
M test/misc/code/udp.c (6)
M test/misc/extra/gcc_version.sh (2)
M test/unit/5.cfg (8)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3344.patchhttps://github.com/kamailio/kamailio/pull/3344.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3344
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3344(a)github.com>
The documentation of rr.custom_user_avp speaks about option `enable_username`, but there is no such option.
I assume the documentation means `add_username`.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3352
-- Commit Summary --
* rr: doc — replace enable_username with add_username
-- File Changes --
M src/modules/rr/doc/rr_admin.xml (6)
M src/modules/rr/doc/rr_devel.xml (10)
M src/modules/rr/loose.c (10)
M src/modules/rr/loose.h (6)
M src/modules/rr/rr_mod.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3352.patchhttps://github.com/kamailio/kamailio/pull/3352.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3352
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3352(a)github.com>
I use Kamailio with `log_stderror=yes`. When Kamailio receives confirmation from the Websocket reverse proxy, it logs on stderr
```
23(24) ERROR: <core> [core/parser/parse_fline.c:271]: parse_first_line(): parse_first_line: bad message (offset: 22)
23(24) ERROR: <core> [core/parser/msg_parser.c:749]: parse_msg(): ERROR: parse_msg: message=<HTTP/1.1 101 Switching Protocols
Sia: SIP/2.0/TCP 111.11.111.11:47418
Sec-WebSocket-Protocol: sip
Upgrade: websocket
Connection: upgrade
Sec-WebSocket-Accept: Ak3/c/aw3iyHnFkDDHabw1iXcqY=
Content-Length: 0
>
23(24) ERROR: <core> [core/msg_translator.c:3256]: build_sip_msg_from_buf(): parsing failed
```
Without the included `\n` here the subsequent messages are logged on the same line as `parsing failed`.
For the record, I use this NGINX configuration:
```
location /sip {
proxy_http_version 1.1;
proxy_set_header "Accept-Encoding" ""; # delete header before sending it to Kamailio
proxy_set_header "Pragma" "";
proxy_set_header "Cache-control" "";
proxy_set_header "User-Agent" "";
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_pass http://123.12.123.12:5060;
proxy_read_timeout 86400;
}
```
and it leads to that unparsable message above.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3348
-- Commit Summary --
* core: msg_translator.c put new line after «parsing failed» error message
-- File Changes --
M src/core/msg_translator.c (16)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3348.patchhttps://github.com/kamailio/kamailio/pull/3348.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3348
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3348(a)github.com>
On receiving:
```
BYE sip:127.3.4.84;line=sr-bkhov30ei16khxiahn60i3jelfjzcwdavb.a8bhyuzda8bbavz8ymwb4lsi0iqmoigitdx9vbqgv5fjhdb.j8wcg5x8evkyv5fyqdbnguztav1yamwha8bwqfz8ymwl28o** SIP/2.0
Route: <sip:7Vu+g0t42xO1vwWQTI5OE8SQTI5O1do=@111.11.111.11;transport=ws;r2=on;lr;nat=yes>
Route: <sip:127.3.4.84;line=sr-BkHOVzLFLnGq8S7T8q0D8Xcgo6YwnboD9b0bwo9imwMaclMU7WtTm1ygmpyamW.AmQNRmbdk8bGTB3YABgCEBq7ULlaQVg.eDFUAVkaeVkJ0LW6JcX8*>
Via: SIP/2.0/WSS 964rp9hud53v.invalid;branch=z9hG4bK47814
Max-Forwards: 70
To: <sip:99372@aegee.org>;tag=kejtvxx541
From: "Online" <sip:online@example.org>;tag=b7movp1df3
Call-ID: lo20t4jpu47jpvo9mkn1
CSeq: 5788 BYE
Supported: outbound
User-Agent: SIP.js/0.7.8
Content-Length: 0
```
Kamailio 5.6.3 logs:
```
20(21) ERROR: <core> [core/kemi.c:1573]: sr_kemi_core_to_proto_helper(): failed to parse nh uri [Of^U<B2>hr$-v`<A2>qa-a&jr^Y<FA>ce@1<B1>21168.0114<F1><B2>385D<FB>^Z<B2>a&sU'rD]
```
The logged unparsable part of nh uri is not part of the input.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3351
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3351(a)github.com>