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 <[email protected]> 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 > * [email protected] > 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/ > >
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * [email protected] 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
