FreePBX disabling modules for pjsip

Hi,

I am using both sip and pjsip extensions on my Asterisk setup.
But sometimes FreePBX is disabling my pjsip modules at startup by modifying the modules.conf.

it is adding the following lines:

noload = chan_pjsip.so
noload = res_pjsip_endpoint_identifier_anonymous.so
noload = res_pjsip_messaging.so
noload = res_pjsip_pidf.so
noload = res_pjsip_session.so
noload = func_pjsip_endpoint.so
noload = res_pjsip_endpoint_identifier_ip.so
noload = res_pjsip_mwi.so
noload = res_pjsip_pubsub.so
noload = res_pjsip.so
noload = res_pjsip_acl.so
noload = res_pjsip_endpoint_identifier_user.so
noload = res_pjsip_nat.so
noload = res_pjsip_refer.so
noload = res_pjsip_t38.so
noload = res_pjsip_authenticator_digest.so
noload = res_pjsip_exten_state.so
noload = res_pjsip_notify.so
noload = res_pjsip_registrar_expire.so
noload = res_pjsip_transport_websocket.so
noload = res_pjsip_caller_id.so
noload = res_pjsip_header_funcs.so
noload = res_pjsip_one_touch_record_info.so
noload = res_pjsip_registrar.so
noload = res_pjsip_diversion.so
noload = res_pjsip_log_forwarder.so
noload = res_pjsip_outbound_authenticator_digest.so
noload = res_pjsip_rfc3326.so
noload = res_pjsip_dtmf_info.so
noload = res_pjsip_logger.so
noload = res_pjsip_outbound_registration.so
noload = res_pjsip_sdp_rtp.so
noload = res_pjsip_outbound_publish.so
noload = res_pjsip_config_wizard.so
noload = res_pjproject.so

what might be the reason for such behaviour ?

What is the setting in Advanced settings for SIP Driver? This is where you control which drivers are being loaded.

1 Like

ok. I see it now.
it was set to "only sip"
but even with that setting , I was able to use pjsip endpoints if I load modules.
is this setting for module enable/disable only ?

Correct. The proper place to enable/disable drivers is in advanced settings.

2 Likes

thanks.

1 Like

And FYI, many conf files can’t be edited directly, including modules.conf. Note the warning at the top:

[[email protected] ~]# head /etc/asterisk/modules.conf
;--------------------------------------------------------------------------------;
;          Do NOT edit this file as it is auto-generated by FreePBX.             ;
;--------------------------------------------------------------------------------;
; For information on adding additional paramaters to this file, please visit the ;
; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ;
; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ;
; is totally deliberate.                                                         ;
;--------------------------------------------------------------------------------;

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