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

Michael Neuhauser (JIRA) noreply at issues.asterisk.org
Tue Jun 14 03:52:49 CDT 2022


Michael Neuhauser created ASTERISK-30109:
--------------------------------------------

             Summary: 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


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