PJSIP show endpoints returning no objects found

Hello all,

After a core stop now and a reload on Asterisk, I lost the ability to use pjsip show endpoints.
I’m not sure what else I should point out, I was able to see them before restarting asterisk and now I can’t see them anymore.

box-transbordo-comum*CLI> pjsip show endpoints
No objects found.

box-transbordo-comum*CLI> pjsip show aors
No objects found.

box-transbordo-comum*CLI> pjsip show channels
No objects found.

I’m running asterisk 16 on a CentOS 7

You should look at the Asterisk log when it is started and see if an issue was encountered when parsing the configuration.

I get several modules failing to load, amongst them there is:
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: res_pjsip_transport_websocket declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: res_pjsip_transport_websocket declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cdr_csv declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cdr_csv declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cdr_sqlite3_custom declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cdr_sqlite3_custom declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cdr_radius declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cdr_radius declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cdr_pgsql declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cdr_pgsql declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cdr_tds declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cdr_tds declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cel_radius declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cel_radius declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cel_tds declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: cel_tds declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: res_hep_rtcp declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: res_hep_rtcp declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: pbx_ael declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: pbx_ael declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: res_hep_pjsip declined to load.
[2022-11-04 12:14:00.447] ERROR[41991] loader.c: res_hep_pjsip declined to load.
[2022-11-04 12:14:00.447] VERBOSE[41991] asterisk.c: Asterisk Ready.

However, I don’t see chan_pjsip.so in here

Also: When I check if chan_pjsip is loaded I get this:

box-transbordo-comum*CLI> module load chan_pjsip.so
Unable to load module chan_pjsip.so
Command ‘module load chan_pjsip.so’ failed.
[2022-11-04 12:31:41.367] WARNING[42182]: loader.c:1776 load_resource: Module ‘chan_pjsip.so’ already loaded and running.

It would still load, it would just output messages when parsing configuration. Your logging may be too low.

Curiously I can’t run any pjsip command