I noticed that json rpc commands have started to fail, for example,
May 2 15:41:15 char /usr/bin/sip-proxy[10440]: INFO: Executing JSON request <{"jsonrpc":"2.0","method":"siptrace.status","params":["on"],"id":1}> from <127.0.0.1> with host <127.0.0.1:6060> May 2 15:41:15 char /usr/bin/sip-proxy[10440]: ERROR: <core> [core/parser/parse_from.c:53]: parse_from_header(): bad msg or missing FROM header May 2 15:41:15 char /usr/bin/sip-proxy[10440]: ERROR: siptrace [siptrace_send.c:55]: sip_trace_prepare(): cannot parse FROM header
Has something changed that I have missed? I didn't find anything related on the wiki upgrade page.
-- Juha
This is the config command that my SIP proxy executes on the incoming JSON over HTTP request:
jsonrpc_dispatch();
-- Juha
I pushed a fix for it (not tested) -- it was the new siptrace mode trying to save to database using core callbacks and not checking it is sip traffic or not. The errors were for the http traffic.
Cheers, Daniel
On 02.05.20 15:02, Juha Heinanen wrote:
This is the config command that my SIP proxy executes on the incoming JSON over HTTP request:
jsonrpc_dispatch();
-- Juha
Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev