Following up my dialplan troubles, I decided to test a bit with opensips-cli.
I created below config file :
prompt_intro: OpenSIPS CLI for localhost instance
and saved it as /etc/opensips-cli.cfg
When I rung opensips-cli, I have below output
Welcome to OpenSIPS Command Line Interface!
The prompt is still opensips-cli, so it seems to me that it doesn’t find the config file.
root@hendrix:/# cat /etc/opensips-cli.cfg
The documentation states this as one of the default locations where it will search for opensips-cli.cfg.
Please advice on how to fix this.
Johan De Clercq, Managing DirectorDemocon bvba - Ooigemstraat 41 - 8780 Oostrozebeke
Tel +3256980990 – GSM +32478720104
The error here is obvious: url was wrong. It should end in mi instead of json.
Hence this is fixed.
From: johan de clercq <[hidden email]> Sent: Monday, July 1, 2019 4:59 PMTo: 'OpenSIPS users mailling list' <[hidden email]>Subject: testing with opensips-cli
As said yesterday, this is fixed by putting mi instead of json in the url.