[asterisk-bugs] [JIRA] (ASTERISK-30109) res_pjsip: no contact-status AMI event on register of prune-on-boot contact that uses the same URI as before Asterisk restart

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Jul 28 11:17:10 CDT 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-30109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-30109:
-------------------------------------

    Target Release Version/s: 19.6.0

> res_pjsip: no contact-status AMI event on register of prune-on-boot contact that uses the same URI as before Asterisk restart
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-30109
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30109
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 16.26.1
>            Reporter: Michael Neuhauser
>            Assignee: Michael Neuhauser
>      Target Release: 19.6.0, 16.28.0, 18.14.0
>
>
> TLS endpoint with rewrite_contact=true is registered. Asterisk is restarted. Contact is pruned by ast_sip_location_prune_boot_contacts(). If the endpoint registers again using the same remote address and port as before (i.e., same URI), then no AMI ContactStatus event is sent.
> This happens because ast_sip_location_prune_boot_contacts() is called before res/res_pjsip/pjsip_options.c registers its contact sorcery observer so the contact is not removed from sip_options_contact_statuses when it is pruned.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list