root@debian:/usr/local/kamailio/sbin# Nov 10 04:56:34 debian ./kamailio[5527]: DEBUG: <core> [ip_addr.c:229]: print_ip(): tcpconn_new: new tcp connection: 127.0.0.1
Nov 10 04:56:34 debian ./kamailio[5527]: DEBUG: <core> [tcp_main.c:985]: tcpconn_new(): on port 49396, type 2
Nov 10 04:56:34 debian ./kamailio[5527]: DEBUG: <core> [tcp_main.c:1295]: tcpconn_add(): hashes: 395:373:662, 1
Nov 10 04:56:34 debian ./kamailio[5527]: DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa1d280, 38, 2, 0x7f5abcd36708), fd_no=31
Nov 10 04:56:34 debian ./kamailio[5527]: DEBUG: <core> [io_wait.h:598]: io_watch_del(): DBG: io_watch_del (0xa1d280, 38, -1, 0x0) fd_no=32 called
Nov 10 04:56:34 debian ./kamailio[5527]: DEBUG: <core> [tcp_main.c:4131]: handle_tcpconn_ev(): sending to child, events 1
Nov 10 04:56:34 debian ./kamailio[5527]: DEBUG: <core> [tcp_main.c:3813]: send2child(): selected tcp worker 0 15(5515) for activity on [tcp:0.0.0.0:5060], 0x7f5abcd3670 8
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [tcp_read.c:1566]: handle_io(): received n=8 con=0x7f5abcd36708, fd=10
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [tcp_read.c:1366]: tcp_read_req(): content-length=105
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:608]: parse_msg(): SIP Request:
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:610]: parse_msg(): method: <POST>
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:612]: parse_msg(): uri: </rpc_path/>
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:614]: parse_msg(): version: <HTTP/1.1>
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:187]: get_hdr_field(): DEBUG: get_hdr_body : content_length=105
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:89]: get_hdr_field(): found end of header
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [receive.c:178]: receive_msg(): After parse_msg...
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: xhttp [xhttp_mod.c:356]: xhttp_handler(): new fake msg created (296 bytes):#012<POST /rpc_path/ HTTP/1.1#015#012Via: SIP
12Content-Length: 105#015#012#015#012{"jsonrpc": "2.0", "method": "dlg.profile_get_size","params":{"accountno": "1234567"}, "id": "0deadb33f"}>
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:608]: parse_msg(): SIP Request:
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:610]: parse_msg(): method: <POST>
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:612]: parse_msg(): uri: </rpc_path/>
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:614]: parse_msg(): version: <HTTP/1.1>
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=2
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:498]: parse_headers(): parse_headers: this is the first via
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:187]: get_hdr_field(): DEBUG: get_hdr_body : content_length=105
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [parser/msg_parser.c:89]: get_hdr_field(): found end of header
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: sl [sl.c:280]: send_reply(): reply in stateless mode (sl)
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [msg_translator.c:158]: check_via_address(): (127.0.0.1, 127.0.0.1, 0)
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [tcp_main.c:2196]: tcpconn_send_put(): send from reader (5515 (15)), reusing fd
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [tcp_main.c:2430]: tcpconn_do_send(): sending...
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [tcp_main.c:2464]: tcpconn_do_send(): after real write: c= 0x7f5abcd36708 n=293 fd=10
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [tcp_main.c:2465]: tcpconn_do_send(): buf=#012HTTP/1.1 404 Profile not found: 1234567#015#012Sia: SIP/2.0/TCP 127.0.0.1:49396#015#012Call-ID: abc12#015#012Content-Type: application/json#015#012Server: kamailio (4.4.1 (x86_64/linux))#015#012Content-Length: 106#015#012#015#012{#012#011"jsonrpc":#011"2.0",#012#011"error":#011{#012#011#011"code":#011-32000,#012#011#011"message":#011"Execution Error"#012#011},#012#011"id":#011"0deadb33f"#012} Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [xavp.c:446]: xavp_destroy_list(): destroying xavp list (nil)
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [receive.c:322]: receive_msg(): cleaning up
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa76680, 10, 2, 0x7f5abcd36708), fd_no=1
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [tcp_read.c:195]: tcp_make_closed_event(): TCP closed event creation triggered
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [tcp_read.c:203]: tcp_make_closed_event(): no callback registering for handling TCP closed event - dropping!
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [tcp_read.c:310]: tcp_read_data(): EOF on 0x7f5abcd36708, FD 10 ([127.0.0.1]:49396 -> [127.0.0.1]:5060)
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [tcp_read.c:1342]: tcp_read_req(): EOF
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [io_wait.h:598]: io_watch_del(): DBG: io_watch_del (0xa76680, 10, -1, 0x10) fd_no=2 called
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [tcp_read.c:1490]: release_tcpconn(): releasing con 0x7f5abcd36708, state -1, fd=10, id=1 ([127.0.0.1]:49396 -> [127.0.0.1]:5060)
Nov 10 04:56:34 debian ./kamailio[5515]: DEBUG: <core> [tcp_read.c:1491]: release_tcpconn(): extra_data (nil)
Nov 10 04:56:34 debian ./kamailio[5527]: DEBUG: <core> [tcp_main.c:3243]: handle_tcp_child(): reader response= 7f5abcd36708, -1 from 0
Let me know if you need anything else.