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@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@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

 

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to