[SR-Users] Manual usage and example kamailio kamctl

bayu p bayupmail at gmail.com
Fri Apr 1 12:48:38 CEST 2022


Dear Expert Kamailio,

I use this tutorial kamctl to make kamailio and other sip server
communicated
https://manpages.ubuntu.com/manpages/xenial/man8/kamctl.8.html

but, i cannot found further tutorial how use kamctl.
Could you please share, the detail/further  tutorial and example of kamctl
usage..

Since i always found error/failure during execute some command from the
link, here captured:

(1).
# kamctl cr dump
-e \E[37;31mERROR: Error opening Kamailio's FIFO
/var/run/kamailio/kamailio_rpc.fifo
-e \E[37;31mERROR: Make sure you have loaded the jsonrpcs module and set
FIFO transport parameters

(2).
# kamctl  lcr show_gws
-e \E[37;31mERROR: command disabled

(3).
# kamctl  lcr reload
-e \E[37;31mERROR: command disabled

(4).
# kamctl ping 192.168.31.50
{
  "jsonrpc":  "2.0",
  "error":  {
    "code": 400,
    "message":  "Invalid request uri \"192.168.31.50\""
  },
  "id": 76608
}

(5).
# kamctl cr reload
{
  "jsonrpc":  "2.0",
  "error":  {
    "code": 500,
    "message":  "Method Not Found"
  },
  "id": 76659
}


Warm Regards,

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220401/a04ef107/attachment.htm>


More information about the sr-users mailing list