[SR-Users] JSONRPC commands
Loïc Boissy
boissy at digigram.com
Wed Sep 23 11:46:42 CEST 2015
Hello
I am trying to use JSONRPC-S Kamailio module to request for example the
content of the location table. More generally, i would like to send RPC
commands to my kamailio server using http request.
For the moment, kamailio server always returns "400 bad request: corrupted
packet".
To send my request, i use curl. For example:
curl --header 'Content-Type: application/json' --data-binary "{"id": 1,
"jsonrpc": "2.0", "method": "ul.dump" }" http://XXX.XXX.XXX.XXX/RPC/
Is there specific syntax to respect?
Kamailio server version is 4.3.2.
Thank you in advance.
Loic BOISSY
--
Visit Digigram at IBC2015 at Stand 8.C51, Sept. 11-15 in Amsterdam
Register here <http://www.ibc.org/page.cfm/link=478> for your *FREE* pass
with Digigram's Exhibitor Customer Code *4462*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150923/a769df81/attachment.html>
More information about the sr-users
mailing list