[OpenSIPS-Users] testing with opensips-cli
johan de clercq
johan at democon.be
Mon Jul 1 10:58:40 EDT 2019
Dears,
Following up my dialplan troubles, I decided to test a bit with
opensips-cli.
I created below config file :
[localhost]
prompt_name: opensips-cli_localhost
prompt_intro: OpenSIPS CLI for localhost instance
communication_type: http
url: http://127.0.0.1:8888/json
and saved it as /etc/opensips-cli.cfg
When I rung opensips-cli, I have below output
root at hendrix:/# opensips-cli
Welcome to OpenSIPS Command Line Interface!
(opensips-cli):
The prompt is still opensips-cli, so it seems to me that it doesn't find the
config file.
However :
root at hendrix:/# cat /etc/opensips-cli.cfg
[localhost]
prompt_name: opensips-cli_localhost
prompt_intro: OpenSIPS CLI for localhost instance
communication_type: http
url: http://127.0.0.1:8888/json
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.
Best regards,
Johan De Clercq, Managing Director
Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke
Tel +3256980990 - GSM +32478720104
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190701/d0248b6d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 15602 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20190701/d0248b6d/attachment-0001.png>
More information about the Users
mailing list