[OpenSIPS-Devel] [OpenSIPS/opensips] ef3990: dialog: keep a mapping between INVITE&ACK

Răzvan Crainea noreply at github.com
Sat Aug 5 04:19:28 UTC 2023


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ef39908713fef9555acd846f873c6aec6bc70cd2
      https://github.com/OpenSIPS/opensips/commit/ef39908713fef9555acd846f873c6aec6bc70cd2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-08-05 (Sat, 05 Aug 2023)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h

  Log Message:
  -----------
  dialog: keep a mapping between INVITE&ACK

This prevents concurrency bugs that would generate an ACK with a higher
CSeq than the INVITE. Addresses #1071

(cherry picked from commit 80ff319d5f9f688369df689418a1d06a4945fbb4)


  Commit: eded1a4c0df726de9a9f5c209eb3438698393e11
      https://github.com/OpenSIPS/opensips/commit/eded1a4c0df726de9a9f5c209eb3438698393e11
  Author: Ovidiu Sas <osas at voipembedded.com>
  Date:   2023-08-05 (Sat, 05 Aug 2023)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_req_within.c
    M modules/uac/auth.c

  Log Message:
  -----------
  dialog/uac: fix in-dialog authentication
 - closes #3041

(cherry picked from commit 155995b2bae4e4947c07c4df1cb0901da4a72a82)


  Commit: c13ee4575b9e1ff05db74545dba7620c35b36cdf
      https://github.com/OpenSIPS/opensips/commit/c13ee4575b9e1ff05db74545dba7620c35b36cdf
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-08-05 (Sat, 05 Aug 2023)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.h

  Log Message:
  -----------
  dialog: complete cseq maps implementation

Do not limit the number of maps, update existing in case the same cseq
is incremented multiple times (due to authentication), optimize the
number of maps and remove them when the transction is deleted.

Complete and close #1071

(cherry picked from commit a76af3f49ccc8bf62fbdbf29d240e652e86050c8)


Compare: https://github.com/OpenSIPS/opensips/compare/02187e44f6a1...c13ee4575b9e



More information about the Devel mailing list