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-desktopCLI> 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-desktopCLI> 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
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.
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.