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

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


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a01896e1606311d67e19ea76f3ab4c688eaf83b8
      https://github.com/OpenSIPS/opensips/commit/a01896e1606311d67e19ea76f3ab4c688eaf83b8
  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: 2d9a4dab95fa4f9e0f5ad330a78adea5f61c280c
      https://github.com/OpenSIPS/opensips/commit/2d9a4dab95fa4f9e0f5ad330a78adea5f61c280c
  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: bc0ce3a8c46ea60618ad42c22ce17e5b49be321a
      https://github.com/OpenSIPS/opensips/commit/bc0ce3a8c46ea60618ad42c22ce17e5b49be321a
  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/d29fea7f0b87...bc0ce3a8c46e



More information about the Devel mailing list