No such command pjsip show endpoints

Hello,

I am new to asterisk, I am facing an issue No such command ‘pjsip show endpoints’

I am using asterisk-22.2.0 on ubuntu

pbx-desktopCLI>
pbx-desktop
CLI> pjsip show endpoints
No such command ‘pjsip show endpoints’ (type ‘core show help pjsip show endpoints’ for other possible commands)
pbx-desktopCLI> pjsip reoad
No such command ‘pjsip reoad’ (type ‘core show help pjsip reoad’ for other possible commands)
pbx-desktop
CLI> pjsip reload
No such module ‘res_pjsip.so’
No such module ‘res_pjsip_authenticator_digest.so’
No such module ‘res_pjsip_endpoint_identifier_ip.so’
No such module ‘res_pjsip_mwi.so’
No such module ‘res_pjsip_notify.so’
No such module ‘res_pjsip_outbound_publish.so’
No such module ‘res_pjsip_publish_asterisk.so’
No such module ‘res_pjsip_outbound_registration.so’
pbx-desktop*CLI> module show like res_pjsip
Module Description Use Count Status Support Level
0 modules loaded

Thanks in advance

How was Asterisk installed?

  1. downloaded .targz file
  2. installed dependencies
  3. run ./configure
  4. make
  5. make install
  6. make samples
  7. asterisk
  8. asterisk -rvvvvvv

How did you install dependencies?
If you go into the Asterisk source directory, do “make menuselect”, and go to “Resource Modules” and move to “res_pjproject” and “res_pjsip” do they have asterisks to indicate they are selected?

Oh, you’re also on a Raspberry Pi. I know people are building and using Asterisk including PJSIP on such a device, usually using Raspbian or a Debian base. I don’t know anything further or if there are things specific to your installation.

I installed dependencies using

sudo apt-get update
sudo apt-get install -y build-essential wget libssl-dev libncurses5-dev libnewt-dev libxml2-dev libsqlite3-dev uuid-dev libjansson-dev libedit-dev

I checked the make menuselect res_pjproject and res_pjsip is selected
I am using ubuntu on raspberry pi 5

Distributor ID: Ubuntu
Description: Ubuntu 24.10
Release: 24.10
Codename: oracular

asterisk version: Asterisk 22.2.0

I was getting following error but i resolved it by installing LTS version of asterisk

When you ran ./configure, what were the exact command line arguments used?
If you didn’t use --prefix or --libdir, then the modules were probably installed to /usr/local/lib/asterisk/modules. Check there to make sure they were installed then check the astmoddir entry in /etc/asterisk/asterisk.conf to make sure it matches.

If you did use --prefix and/or --libdir make sure astmoddir points to the appropriate place.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.