[OpenSIPS-Devel] [OpenSIPS/opensips] ecda94: mid_registrar: Improve robustness vs. bad traffic ...

Liviu Chircu noreply at github.com
Tue May 7 19:36:49 UTC 2024


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ecda948a4cd6b2463d0402b0fefb0713c96bd4eb
      https://github.com/OpenSIPS/opensips/commit/ecda948a4cd6b2463d0402b0fefb0713c96bd4eb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    M lib/reg/sip_msg.c
    M lib/reg/sip_msg.h
    M modules/mid_registrar/save.c
    M parser/msg_parser.c
    M parser/msg_parser.h

  Log Message:
  -----------
  mid_registrar: Improve robustness vs. bad traffic in mode 2

In case the main registrar returns extra contacts, make sure to
correctly match the mid-registrar's *single* contact within the list,
then strip all Contacts from the 200 OK, effectively fixing it.

Thanks go to Slava Bendersky for reporting and helping troubleshoot.

(cherry picked from commit 7a9912602aa76b2af9dbdf8632cccb8aace7b22a)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list