I am running FreePBX 14.0.11 with Asterisk 13.22.0.
I downloaded the Asterisk 13.22.0 source to my freepbx system, installed jansson-2.12 (./configure; make; make install), made a few changes to main/pbx.c to add a few ast_log messages, to better understand the behavior of my system, and built Asterisk (./bootstrap.sh; ./configure; make). I did NOT do a make install, because I am not ready to replace my running system.
I have a two questions:
- The new asterisk that I’ve built is almost four times larger (15366832 bytes vs. 4038152 bytes) than the asterisk that was installed with freepbx. Any theories as to what would cause such a significant discrepancy, or whether this is a cause for concern?
- I temporarily replaced /usr/sbin/asterisk with my newly built asterisk, and restarted the system. I got about 75 Error loading module … undefined symbol messages, and my system would not accept any incoming calls. A small sample of these messages is listed below. I immediately restored the original asterisk and restarted the system, and all was back to normal. Any theories on what would cause these errors, and how to resolve them?
[2019-06-08 14:38:30] WARNING loader.c: Error loading module ‘cdr_adaptive_odbc.so’: /usr/lib64/asterisk/modules/cdr_adaptive_odbc.so: undefined symbol: ast_odbc_backslash_is_escape
[2019-06-08 14:38:30] WARNING loader.c: Error loading module ‘chan_pjsip.so’: /usr/lib64/asterisk/modules/chan_pjsip.so: undefined symbol: ast_sip_cli_traverse_objects
[2019-06-08 14:38:30] WARNING loader.c: Error loading module ‘res_pjsip.so’: /usr/lib64/asterisk/modules/res_pjsip.so: undefined symbol: pjsip_invite_method
[2019-06-08 14:38:30] WARNING loader.c: Error loading module ‘res_ari_events.so’: /usr/lib64/asterisk/modules/res_ari_events.so: undefined symbol: stasis_app_register_all
[2019-06-08 14:38:30] WARNING loader.c: Error loading module ‘res_monitor.so’: /usr/lib64/asterisk/modules/res_monitor.so: undefined symbol: __ast_beep_start