I may have stumbled across another bug with this module. I believe the
htable.dump method isn't correctly recognizing that a table name is being
provided:
[root@server ~]# curl -s --header 'Content-Type: application/json'
--data-binary '{"jsonrpc": "2.0", "method": "htable.dump", "name":
"callstats"}' http://1.2.3.4:5060/jsonrpc
{"jsonrpc":"2.0","error":{"code":-32000,"message":"Execution Error"}}
Debug log:
2016-04-19T17:42:30.046892+00:00 server /usr/local/sbin/kamailio[21634]: DEBUG:
<core> [tcp_main.c:2465]: tcpconn_do_send(): buf=#012HTTP/1.1 500 No htable
name given#015#012Sia: SIP/2.0/TCP 1.2.3.4:54912#015#012Content-Type:
application/json#015#012Server: kamailio (4.4.0-rc1
(x86_64/linux))#015#012Content-Length:
69#015#012#015#012{"jsonrpc":"2.0","error":{"code":-32000,"message":"Execution
Error"}}
Brooks Bridges | Sr. Voice Services Engineer
O1 Communications
5190 Golden Foothill Pkwy
El Dorado Hills, CA 95762
office: 916.235.2097 | main: 888.444.1111, Option 2
email: [email protected]<mailto:[email protected]> | web:
www.o1.com<http://www.o1.com/>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users