[SR-Users] Manual usage and example kamailio kamctl
bayu p
bayupmail at gmail.com
Mon Apr 4 19:31:43 CEST 2022
I got by default installation kamailio version are 5.3.2.
If some kamctl command are disabled, what should I used to make my kamailio
communicate with other sip server as sip proxy kamailio ?
What should i did to use "least cost routing" modules, such as lcr or
carrierroute modules ?
On Mon, Apr 4, 2022, 22:00 Daniel-Constantin Mierla <miconda at gmail.com>
wrote:
> Hello,
>
> you have to tell what kamailio version you are running to know what
> commands are available. Some for lcr are disabled on purpose, nobody
> updated them, as it is written in the output.
>
> Cheers,
> Daniel
> On 01.04.22 12:48, bayu p wrote:
>
> 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,
>
>>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Online
> March 28-31, 2022 (Europe Timezone)
> * https://www.asipto.com/sw/kamailio-advanced-training-online/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220405/c4019671/attachment.htm>
More information about the sr-users
mailing list