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

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


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a81afc112023a1b900198b2775e73cff13da64f1
      https://github.com/OpenSIPS/opensips/commit/a81afc112023a1b900198b2775e73cff13da64f1
  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