[sr-dev] [kamailio] error while dumping dialog via RPC (#145)

Daniel-Constantin Mierla notifications at github.com
Tue May 5 23:13:05 CEST 2015


This might be kamcmd not handling arrays in response. Arrays were added quite recently and somehow mapped over structure for kamcmd.

Can you give it a try with xmlrpc or jsonrpc to see if the result there is ok? Perhaps you can emulate it with curl command if you don't have another client.

For example:

```
curl -X GET -H "Content-Type: application/json" -d '{"jsonrpc": "2.0", "method": "dlg.list", "id": 1}' http://youreserverip:5060/RPC
```

See the readme of jsonrpc-s module for more docs on configuring it.

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/145#issuecomment-99223144
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150505/65f81f98/attachment.html>


More information about the sr-dev mailing list