[asterisk-bugs] [JIRA] (ASTERISK-30022) PJSIP Refreshing contact with old values

Neimar Avila (JIRA) noreply at issues.asterisk.org
Tue Apr 19 14:10:57 CDT 2022


Neimar Avila created ASTERISK-30022:
---------------------------------------

             Summary: PJSIP Refreshing contact with old values
                 Key: ASTERISK-30022
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30022
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: pjproject/pjsip
    Affects Versions: 18.11.1
         Environment: Centos 7
            Reporter: Neimar Avila


In a scenario where there are two or more Kamailio acting as proxy, and there is a dns exchange, pjsip does not validate the path field change and keeps sending OPTIONS to the previous address.
Enabling debug mode, I see the line:
res_pjsip_registrar.c: Refreshed contact 'sip:4247FCDBE148 at domain.com:5060' on AOR '4247FCDBE148' with new expiration of 300 seconds

however the qualify goes to the original address of the register and not changed it.

I imagine that the remove_existing function doesn't happen because the contact is the same, changing only the Path and Via.



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



More information about the asterisk-bugs mailing list