Skip to content
Snippets Groups Projects
user avatar
Ashley Sanders authored
            Sections Exist in pjsip.conf

This patch modifies the current loading strategy of the pjsip configuration. If
duplicate sections (e.g. sections containing the same [id/type]) are defined in
[pjsip.conf], the loader will consider the configuration for the given type as
invalid when the duplicate section is encountered. The entire configuration
(including what was previously loaded) for the duplicate [id/type] sections
will be rejected and destroyed, an error message is logged and the load
processing for the given stops.

ASTERISK-24996
Reported By: Ashley Sanders

Change-Id: I35090ca4cd40f1f34881dfe701a329145c347aef
46cf643c
History
Name Last commit Last update
..
ael
ari
parking
res_pjsip
snmp
stasis
stasis_recording
Makefile
ari.make
res_adsi.c
res_ael_share.c
res_ael_share.exports.in
res_agi.c
res_agi.exports.in
res_ari.c
res_ari.exports.in
res_ari_applications.c
res_ari_asterisk.c
res_ari_bridges.c
res_ari_channels.c
res_ari_device_states.c
res_ari_endpoints.c
res_ari_events.c
res_ari_mailboxes.c
res_ari_model.c
res_ari_model.exports.in
res_ari_playbacks.c
res_ari_recordings.c
res_ari_sounds.c
res_calendar.c
res_calendar.exports.in
res_calendar_caldav.c
res_calendar_ews.c
res_calendar_exchange.c
res_calendar_icalendar.c
res_chan_stats.c
res_clialiases.c
res_clioriginate.c
res_config_curl.c
res_config_ldap.c
res_config_odbc.c
res_config_pgsql.c
res_config_sqlite.c
res_config_sqlite3.c
res_convert.c
res_corosync.c
res_crypto.c
res_crypto.exports.in
res_curl.c
res_fax.c
res_fax.exports.in
res_fax_spandsp.c
res_format_attr_celt.c
res_format_attr_h263.c
res_format_attr_h264.c
res_format_attr_opus.c
res_format_attr_silk.c
res_hep.c
res_hep.exports.in
res_hep_pjsip.c
res_hep_rtcp.c
res_http_post.c
res_http_websocket.c
res_http_websocket.exports.in
res_jabber.exports.in
res_limit.c
res_manager_devicestate.c
res_manager_presencestate.c
res_monitor.c
res_monitor.exports.in
res_musiconhold.c
res_mutestream.c
res_mwi_external.c
res_mwi_external.exports.in
res_mwi_external_ami.c
res_odbc.c
res_odbc.exports.in
res_parking.c
res_phoneprov.c
res_phoneprov.exports.in
res_pjsip.c
res_pjsip.exports.in
res_pjsip_acl.c
res_pjsip_authenticator_digest.c
res_pjsip_caller_id.c
res_pjsip_config_wizard.c
res_pjsip_dialog_info_body_generator.c
res_pjsip_diversion.c
res_pjsip_dlg_options.c
res_pjsip_dtmf_info.c
res_pjsip_endpoint_identifier_anonymous.c
res_pjsip_endpoint_identifier_ip.c
res_pjsip_endpoint_identifier_user.c
res_pjsip_exten_state.c
res_pjsip_exten_state.exports.in
res_pjsip_header_funcs.c
res_pjsip_keepalive.c
res_pjsip_log_forwarder.c
res_pjsip_logger.c
res_pjsip_messaging.c
res_pjsip_multihomed.c
res_pjsip_mwi.c
res_pjsip_mwi_body_generator.c
res_pjsip_nat.c
res_pjsip_notify.c
res_pjsip_one_touch_record_info.c
res_pjsip_outbound_authenticator_digest.c
res_pjsip_outbound_publish.c
res_pjsip_outbound_publish.exports.in
res_pjsip_outbound_registration.c
res_pjsip_path.c
res_pjsip_phoneprov_provider.c
res_pjsip_pidf_body_generator.c
res_pjsip_pidf_digium_body_supplement.c
res_pjsip_pidf_eyebeam_body_supplement.c
res_pjsip_publish_asterisk.c
res_pjsip_pubsub.c
res_pjsip_pubsub.exports.in
res_pjsip_refer.c
res_pjsip_registrar.c
res_pjsip_registrar_expire.c
res_pjsip_rfc3326.c
res_pjsip_sdp_rtp.c
res_pjsip_send_to_voicemail.c
res_pjsip_session.c
res_pjsip_session.exports.in
res_pjsip_sips_contact.c
res_pjsip_t38.c
res_pjsip_transport_websocket.c
res_pjsip_xpidf_body_generator.c
res_pktccops.c
res_pktccops.exports.in
res_realtime.c
res_resolver_unbound.c
res_rtp_asterisk.c
res_rtp_multicast.c
res_security_log.c
res_smdi.c
res_smdi.exports.in
res_snmp.c
res_sorcery_astdb.c
res_sorcery_config.c
res_sorcery_memory.c
res_sorcery_realtime.c
res_speech.c
res_speech.exports.in
res_srtp.c
res_srtp.exports.in
res_stasis.c
res_stasis.exports.in
res_stasis_answer.c
res_stasis_answer.exports.in
res_stasis_device_state.c
res_stasis_device_state.exports.in
res_stasis_mailbox.c
res_stasis_mailbox.exports.in
res_stasis_playback.c
res_stasis_playback.exports.in
res_stasis_recording.c
res_stasis_recording.exports.in
res_stasis_snoop.c
res_stasis_snoop.exports.in
res_stasis_test.c
res_stasis_test.exports.in
res_statsd.c
res_statsd.exports.in
res_stun_monitor.c
res_timing_dahdi.c
res_timing_kqueue.c
res_timing_pthread.c
res_timing_timerfd.c
res_xmpp.c
res_xmpp.exports.in