This 20.8.1 install is not going well, but I think i am down to my last issue.
I resolved an issue with the https web server not loading. It could not find the openssl, so I re-ran through the install by doing:
contrib/scripts/install_prereq install
./configure --with-jansson-bundled
make
make install
After doing so, openssl was found & the web server is now bound to 8089. Success.
But now I am noticing issue with pjsip modules not loading.
Excerpt from log:
[Jul 25 13:31:24] ERROR[93088] loader.c: Error loading module ‘res_pjsip_one_touch_record_info.so’, missing dependencies: res_pjsip, res_pjsip_session
[Jul 25 13:31:24] ERROR[93088] loader.c: Error loading module ‘res_pjsip_header_funcs.so’, missing dependencies: res_pjsip, res_pjsip_session
[Jul 25 13:31:24] ERROR[93088] loader.c: Error loading module ‘res_pjsip_path.so’, missing dependencies: res_pjsip, res_pjsip_session
[Jul 25 13:31:24] ERROR[93088] loader.c: Error loading module ‘res_pjsip_logger.so’, missing dependency: res_pjsip
[Jul 25 13:31:24] ERROR[93088] loader.c: Error loading module ‘res_pjsip_outbound_authenticator_digest.so’, missing dependency: res_pjsip
[Jul 25 13:31:24] ERROR[93088] loader.c: Error loading module ‘res_pjsip_authenticator_digest.so’, missing dependency: res_pjsip
[Jul 25 13:31:24] ERROR[93088] loader.c: Error loading module ‘chan_pjsip.so’: /usr/lib/asterisk/modules/chan_pjsip.so: undefined symbol: ast_sip_cli_traverse_objects
[Jul 25 13:31:24] ERROR[93088] loader.c: Error loading module ‘res_pjsip_pidf_eyebeam_body_supplement.so’, missing dependencies: res_pjsip, res_pjsip_pubsub
[Jul 25 13:31:24] ERROR[93088] loader.c: Error loading module ‘func_pjsip_contact.so’, missing dependency: res_pjsip
[Jul 25 13:31:24] ERROR[93088] loader.c: Error loading module ‘res_pjsip.so’: /usr/lib/asterisk/modules/res_pjsip.so: undefined symbol: pjsip_tls_transport_restart
Only the res_pjproject.so loads
asterisk -rx ‘module show’ | grep pj
res_pjproject.so PJPROJECT Log and Utility Support 1 Running core
As i understand it should go: res_pjproject.so > res_pjsip.so > res_pjsip_session.so > the rest.
If I load res_pjsip.so manually, I receive this error:
CLI> module load res_pjsip.so
Unable to load module res_pjsip.so
Command ‘module load res_pjsip.so’ failed.
[Jul 25 12:55:48] ERROR[92648]: loader.c:283 module_load_error: Error loading module ‘res_pjsip.so’: /usr/lib/asterisk/modules/res_pjsip.so: undefined symbol: pjsip_tls_transport_restart
From what I read from other pages, it again looks to be openssl related. I can’t understand why this would be occurring. Openssl is installed & I have compiled Asterisk multiple times after.
openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
I am using the pjproject that is bundled with Asterisk:
configure: checking OPENSSL with pkg-config
configure: checking whether system openssl > 1.1.0
checking for OPENSSL… yes
checking for embedded jansson (may have to download)… configuring
checking for bundled jansson… yes
checking for embedded pjproject (may have to download)… configuring
checking for bundled pjproject… yes
ldconfig -p | grep pj
libasteriskpj.so.2 (libc6,x86-64) => /usr/lib/libasteriskpj.so.2
libasteriskpj.so (libc6,x86-64) => /usr/lib/libasteriskpj.so
I have tried the modules owner as both root & asterisk, but same results:
ls -al /usr/lib/asterisk/modules/pj
-rwxr-x— 1 asterisk asterisk 885392 Jul 25 12:36 /usr/lib/asterisk/modules/chan_pjsip.so
-rwxr-x— 1 asterisk asterisk 357784 Jul 25 12:36 /usr/lib/asterisk/modules/func_pjsip_aor.so
-rwxr-x— 1 asterisk asterisk 358904 Jul 25 12:36 /usr/lib/asterisk/modules/func_pjsip_contact.so
-rwxr-x— 1 asterisk asterisk 344496 Jul 25 12:36 /usr/lib/asterisk/modules/func_pjsip_endpoint.so
-rwxr-x— 1 asterisk asterisk 393928 Jul 25 12:36 /usr/lib/asterisk/modules/res_hep_pjsip.so
-rwxr-x— 1 asterisk asterisk 352688 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjproject.so
-rwxr-x— 1 asterisk asterisk 363928 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_acl.so
-rwxr-x— 1 asterisk asterisk 450624 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_aoc.so
-rwxr-x— 1 asterisk asterisk 390088 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_authenticator_digest.so
-rwxr-x— 1 asterisk asterisk 413032 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_caller_id.so
-rwxr-x— 1 asterisk asterisk 433104 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_config_wizard.so
-rwxr-x— 1 asterisk asterisk 393384 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_dialog_info_body_generator.so
-rwxr-x— 1 asterisk asterisk 422752 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_diversion.so
-rwxr-x— 1 asterisk asterisk 387136 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_dlg_options.so
-rwxr-x— 1 asterisk asterisk 391688 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_dtmf_info.so
-rwxr-x— 1 asterisk asterisk 385368 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_empty_info.so
-rwxr-x— 1 asterisk asterisk 365376 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_endpoint_identifier_anonymous.so
-rwxr-x— 1 asterisk asterisk 426088 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_endpoint_identifier_ip.so
-rwxr-x— 1 asterisk asterisk 371792 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_endpoint_identifier_user.so
-rwxr-x— 1 asterisk asterisk 422792 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_exten_state.so
-rwxr-x— 1 asterisk asterisk 462752 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_geolocation.so
-rwxr-x— 1 asterisk asterisk 453592 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_header_funcs.so
-rwxr-x— 1 asterisk asterisk 425208 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_history.so
-rwxr-x— 1 asterisk asterisk 396760 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_logger.so
-rwxr-x— 1 asterisk asterisk 434576 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_messaging.so
-rwxr-x— 1 asterisk asterisk 334616 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_mwi_body_generator.so
-rwxr-x— 1 asterisk asterisk 479064 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_mwi.so
-rwxr-x— 1 asterisk asterisk 417800 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_nat.so
-rwxr-x— 1 asterisk asterisk 471984 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_notify.so
-rwxr-x— 1 asterisk asterisk 392624 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_one_touch_record_info.so
-rwxr-x— 1 asterisk asterisk 382888 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_outbound_authenticator_digest.so
-rwxr-x— 1 asterisk asterisk 451024 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_outbound_publish.so
-rwxr-x— 1 asterisk asterisk 575944 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_outbound_registration.so
-rwxr-x— 1 asterisk asterisk 393192 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_path.so
-rwxr-x— 1 asterisk asterisk 382584 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_phoneprov_provider.so
-rwxr-x— 1 asterisk asterisk 339128 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_pidf_body_generator.so
-rwxr-x— 1 asterisk asterisk 333552 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_pidf_digium_body_supplement.so
-rwxr-x— 1 asterisk asterisk 334024 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_pidf_eyebeam_body_supplement.so
-rwxr-x— 1 asterisk asterisk 411352 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_publish_asterisk.so
-rwxr-x— 1 asterisk asterisk 700312 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_pubsub.so
-rwxr-x— 1 asterisk asterisk 536144 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_refer.so
-rwxr-x— 1 asterisk asterisk 472672 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_registrar.so
-rwxr-x— 1 asterisk asterisk 394432 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_rfc3326.so
-rwxr-x— 1 asterisk asterisk 397064 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_rfc3329.so
-rwxr-x— 1 asterisk asterisk 601712 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_sdp_rtp.so
-rwxr-x— 1 asterisk asterisk 393960 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_send_to_voicemail.so
-rwxr-x— 1 asterisk asterisk 1036856 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_session.so
-rwxr-x— 1 asterisk asterisk 346280 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_sips_contact.so
-rwxr-x— 1 asterisk asterisk 2196320 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip.so
-rwxr-x— 1 asterisk asterisk 498544 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_t38.so
-rwxr-x— 1 asterisk asterisk 453088 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_transport_websocket.so
-rwxr-x— 1 asterisk asterisk 339016 Jul 25 12:36 /usr/lib/asterisk/modules/res_pjsip_xpidf_body_generator.so
In the modules.conf, autoload = yes, chan_sip is set to no load:
[modules]
autoload=yes
;
noload = chan_alsa.so
;noload = chan_console.so
noload = chan_sip.so
At this point, I have exhausted what little I know how to troubleshoot this issue. Does anyone have other suggestions on what to check or change?