Hello,
thanks for testing...
Can you use latest master version, load jsonrpcs.so module and then issue the command:
kamctl rpc cr.dump_routes
Note that you may need to edit kamctlrc and set ctl engine to RPCFIFO if you have an older version of kamctlrc file installed.
Cheers,
Daniel
Hello;
lastest master branched is pulled and worked with kamailio -ddd -E . cr.reload method works fine but cr.dump_routes gives error message like "error: 500 - Internal error - carrier structure"
debug messages are here
"[ master]# 13(1479) DEBUG: ctl [../../core/io_wait.h:380]: io_watch_add(): DBG: io_watch_add(0x7f05c23756c0, 8, 3, 0x1722410), fd_no=1
13(1479) DEBUG: ctl [io_listener.c:442]: handle_new_connect(): handle_stream read: new connection (1) on /var/run/kamailio//kamailio_ctl
13(1479) DEBUG: carrierroute [cr_fifo.c:1177]: cr_rpc_dump_routes(): start processing of data
13(1479) DEBUG: ctl [io_listener.c:495]: handle_stream_read(): handle_stream read: eof on /var/run/kamailio//kamailio_ctl
13(1479) DEBUG: ctl [../../core/io_wait.h:602]: io_watch_del(): DBG: io_watch_del (0x7f05c23756c0, 8, -1, 0x10) fd_no=2 called
"
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com