Skip to content
Snippets Groups Projects
user avatar
Evgenios_Greek authored
When unsubscribing from an endpoint technology a FRACK
would occur due to incorrect reference counting. This fixes
that issue, along with some other issues.

Fixed a typo in get_subscription when calling ao2_find as it
needed to pass the endpoint ID and not the entire object.

Fixed scenario where a subscription would get returned when
it shouldn't have been when searching based on endpoint
technology.

A doulbe unreference has also been resolved by only explicitly
releasing the reference held by tech_subscriptions.

ASTERISK-28237 #close
Reported by: Lucas Tardioli Silveira

Change-Id: Ia91b15f8e5ea68f850c66889a6325d9575901729
2193cf1b
History
Name Last commit Last update
..
ael
ari
parking
prometheus
res_pjsip
res_pjsip_session
res_stir_shaken
snmp
srtp
stasis
stasis_recording
Makefile
ari.make
res.xml
res_adsi.c
res_aeap.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_audiosocket.c
res_audiosocket.exports.in
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_endpoint_stats.c
res_fax.c
res_fax.exports.in
res_fax_spandsp.c
res_format_attr_celt.c
res_format_attr_g729.c
res_format_attr_h263.c
res_format_attr_h264.c
res_format_attr_ilbc.c
res_format_attr_opus.c
res_format_attr_silk.c
res_format_attr_siren14.c
res_format_attr_siren7.c
res_format_attr_vp8.c
res_hep.c
res_hep.exports.in
res_hep_pjsip.c
res_hep_rtcp.c
res_http_media_cache.c
res_http_post.c
res_http_websocket.c
res_http_websocket.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_devstate.c
res_mwi_external.c
res_mwi_external.exports.in
res_mwi_external_ami.c
res_odbc.c
res_odbc.exports.in
res_odbc_transaction.c
res_odbc_transaction.exports.in
res_parking.c
res_phoneprov.c
res_phoneprov.exports.in
res_pjproject.c
res_pjproject.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_empty_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_history.c
res_pjsip_logger.c
res_pjsip_messaging.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_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_stir_shaken.c
res_pjsip_t38.c
res_pjsip_transport_websocket.c
res_pjsip_xpidf_body_generator.c
res_pktccops.c
res_pktccops.exports.in
res_prometheus.c
res_prometheus.exports.in
res_realtime.c
res_remb_modifier.c
res_resolver_unbound.c
res_rtp_asterisk.c
res_rtp_multicast.c
res_rtp_multicast.exports.in
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_memory_cache.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_stir_shaken.c
res_stir_shaken.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