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

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


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1b95a14540f2ef00837474ec3d99ca10d8c8eb0e
      https://github.com/OpenSIPS/opensips/commit/1b95a14540f2ef00837474ec3d99ca10d8c8eb0e
  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: e21591331655f1a7ea88ff641afca739146927bc
      https://github.com/OpenSIPS/opensips/commit/e21591331655f1a7ea88ff641afca739146927bc
  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: 5010dd66cec830f74f55f51741aada69902fad2e
      https://github.com/OpenSIPS/opensips/commit/5010dd66cec830f74f55f51741aada69902fad2e
  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/3a8a028d8fe9...5010dd66cec8



More information about the Devel mailing list