Failed to load module res_pjsip_endpoint_identifier_dpma.so

Hello,

we have a cron job for automatic update every day at 6AM CET. This morning we found that askerisk do not work anymore after the upgrade from 21.9.1-1.sng12 to 21.10.0-1.sng12

This is the asterisk -rvvv output before asterisk crashes:

Asterisk 21.10.0, Copyright (C) 1999 - 2025, Sangoma Technologies Corporation and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 21.10.0 currently running on freepbx1-test (pid = 13351)

[ CUT .. ]

       > Loading app_stasis.so.
       > Loading res_ari_recordings.so.
       > Loading func_pjsip_contact.so.
       > Loading res_ari_applications.so.
       > Loading res_ari_events.so.
       > Loading res_ari_endpoints.so.
       > Loading func_pjsip_endpoint.so.
       > Loading func_pjsip_aor.so.
       > Loading res_stasis_playback.so.
       > Loading res_ari_sounds.so.
       > Loading res_ari_channels.so.
       > Loading res_ari_playbacks.so.
       > Loading res_ari_asterisk.so.
       > Loading res_hep_pjsip.so.
[2025-07-30 09:33:56] WARNING[13351]: res_hep_pjsip.c:236 load_module: res_hep is disabled; declining module load
       > Loading res_pjsip_stir_shaken.so.
       > Loading res_pjsip_endpoint_identifier_anonymous.so.
       > Loading res_prometheus.so.
       > Loading res_pjsip_endpoint_identifier_dpma.so.
[2025-07-30 09:33:56] NOTICE[13351]: res_pjsip_endpoint_identifier_dpma.c:719 load_module: Using ast_sip_session_get_dialog() for pjproject version 2.15.1
[2025-07-30 09:33:56] ERROR[13351]: res_pjsip_endpoint_identifier_dpma.c:727 load_module: Unable to find default outbound endpoint required for DPMA
[2025-07-30 09:33:56] WARNING[13351]: loader.c:2666 load_modules: Module 'res_adsi' has been loaded but may be removed in a future release.
[2025-07-30 09:33:56] WARNING[13351]: loader.c:2666 load_modules: Module 'app_meetme' has been loaded but was deprecated in Asterisk version 19 and may be removed in a future release. Its replacement is 'app_confbridge'.
[2025-07-30 09:33:56] WARNING[13351]: loader.c:2666 load_modules: Module 'app_getcpeid' has been loaded but may be removed in a future release.
[2025-07-30 09:33:56] WARNING[13351]: loader.c:2666 load_modules: Module 'app_adsiprog' has been loaded but may be removed in a future release.
[2025-07-30 09:33:56] ERROR[13351]: loader.c:2687 load_modules: Error loading module 'chan_local.so': /lib/x86_64-linux-gnu/asterisk/modules/chan_local.so: cannot open shared object file: No such file or directory
[2025-07-30 09:33:56] ERROR[13351]: loader.c:2687 load_modules: Error loading module 'res_pjsip_phoneprov_provider.so', missing dependency: res_phoneprov
[2025-07-30 09:33:56] ERROR[13351]: loader.c:2687 load_modules: res_timing_dahdi declined to load.
[2025-07-30 09:33:56] ERROR[13351]: loader.c:2687 load_modules: res_pjsip_dialog_info_digium_body_supplement declined to load.
[2025-07-30 09:33:56] ERROR[13351]: loader.c:2687 load_modules: chan_mobile declined to load.
[2025-07-30 09:33:56] ERROR[13351]: loader.c:2687 load_modules: cdr_csv declined to load.
[2025-07-30 09:33:56] ERROR[13351]: loader.c:2687 load_modules: cel_sqlite3_custom declined to load.
[2025-07-30 09:33:56] ERROR[13351]: loader.c:2687 load_modules: cdr_sqlite3_custom declined to load.
[2025-07-30 09:33:56] ERROR[13351]: loader.c:2687 load_modules: res_hep_rtcp declined to load.
[2025-07-30 09:33:56] ERROR[13351]: loader.c:2687 load_modules: res_hep_pjsip declined to load.
[2025-07-30 09:33:56] ERROR[13351]: loader.c:2687 load_modules: *** Failed to load module res_pjsip_endpoint_identifier_dpma.so
[2025-07-30 09:33:56] ERROR[13351]: asterisk.c:4107 check_init: Module initialization failed.  ASTERISK EXITING!

chan_local.so hasn’t existed for some time now. Remove it from modules.conf to get rid of the headline error, but I suspect that isn’t the real reason for the abort. (chan_local is now part of the core executable).

This is actually the issue. We did some DPMA fixes including checking for the required default outbound endpoint, it looks as though FreePBX is not configuring Asterisk with that for some reason. I’ve raised it with that team so we can determine the correct resolution.

I think I just set a wrong summary, the error is:

Failed to load module res_pjsip_endpoint_identifier_dpma.so

I can reproduce the issue in a new install on a fresh Debian 12. Maybe related to:

I think this is basically a dupe of Freepbx install failing - #15 by memxit

The install fails because asterisk crashes for the same reason described here.

Thanks for the support, btw

:grimacing: I hope this isn’t a production system

Per this post by memxit in a similar thread an entry in /etc/asterisk/modules.conf helps users who are not using Digium Phone Module for Asterisk by disabling auto-loading the module:

noload = res_pjsip_endpoint_identifier_dpma.so

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