Asterisk 22 - pjsip: no such module

Hello,

I installed the prereq scripts under “contrib” and ```
./configure --with-pjproject-bundled

but asterisk is still missing the pjsip modules.

What did I do worng please?

asterisk*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'

What happens if you try to do “module load res_pjproject.so”?

What platform/distro/environment are you on?

Hello & thank you for your help,

I found out what I did wrong:

I assume me not running ./configure --with-pjproject-bundled and the install prereq script on the first installation attempt have left some things shaky for the next try with pjproject-bundled enabled. I somehow understood what is written in the install wiki that installing pjsip is now the default when I run ./configure.

Updating the install howto would be great to show the following steps to make this as painless as possible.

I solved the problem by removing everything with “make distclean” and again running the following commands:
install_prereq install
installprereq install-unpackaged
./configure --with-pjproject-bundled
make
make install
make samples
make config

by doing this, pjsip was compiled and loaded