doc/
subfolder, the README file is autogenerated)using this new RPC method we can fetch elements key/value from any queue from an external application. This could be useful in many cases, one use case is with acc_json
curl --data-binary '{"jsonrpc":"2.0","id":"1","method":"mqueue.fetch","params": ["MY_QUEUE"]}' -H 'content-type:text/plain;' http://1270.0.1:9999:jsonrpc/
{
"jsonrpc": "2.0",
"result": {
"key": "my_key",
"val": "{\"time\": 1544217754, \"method\": \"INVITE\","\"}"
},
"id": "1"
}
kamcmd mqueue.fetch my_queue
error: 404 - Empty queue
https://github.com/kamailio/kamailio/pull/1760
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.