[asterisk-bugs] [JIRA] (ASTERISK-30022) res_pjsip_registrar: Refreshing with old Path

Neimar Avila (JIRA) noreply at issues.asterisk.org
Wed Apr 20 09:12:57 CDT 2022


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

Neimar Avila updated ASTERISK-30022:
------------------------------------

    Attachment: pjsip.txt
                KamailioAsterisk.pcap
                KamailioAsteriskLogDebug.txt
                KamailioAsteriskLogConsole.txt

Attachments contains logs and pcap.

Description of pcap:
Package 1: Source: Kamailio1 (192.168.50.110)
Package 7: Source: Kamailio2 (192.168.50.96)

The expected behaviour is:
Package 9 and sequence flow to Kamailio 2, but still going to Kamailio1.

> res_pjsip_registrar: Refreshing with old Path
> ---------------------------------------------
>
>                 Key: ASTERISK-30022
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30022
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip, Resources/res_pjsip_registrar
>    Affects Versions: 18.11.1
>         Environment: Centos 7
>            Reporter: Neimar Avila
>            Assignee: Neimar Avila
>         Attachments: KamailioAsteriskLogConsole.txt, KamailioAsteriskLogDebug.txt, KamailioAsterisk.pcap, pjsip.txt
>
>
> 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