Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'OpenSIPSCLI' object has no attribute 'do_user' #121

Open
nselimovic opened this issue Apr 1, 2024 · 0 comments
Open

'OpenSIPSCLI' object has no attribute 'do_user' #121

nselimovic opened this issue Apr 1, 2024 · 0 comments

Comments

@nselimovic
Copy link

Hi, I've been having quite some issues with CLI working with my dockerized OpenSIPS deployment.

At first, I've installed OpenSIPS from https://github.com/OpenSIPS/docker-opensips project and tried using opensips-cli that comes with it. Connection to a local MySQL database was successful (I could create or delete a user from opensips-cli) but database commands (such as database create) resulted with 'OpenSIPSCLI' object has no attribute 'do_database' error.

Then I tried pulling opensips-cli from this project and ran it as explained in the installation section. I finally managed to solve the above mentioned error, and now I can create or drop databases. However, when I try to create a user now I get 'OpenSIPSCLI' object has no attribute 'do_user'.


root# opensips -V
version: opensips 3.4.4 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: 036d02961
main.c compiled on with gcc 10

root# opensips-cli --v
OpenSIPS CLI 0.2.0


Can you pls help me understand if I'm doing something wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant