[OpenSIPS-Devel] [OpenSIPS/opensips] 4c1b9a: b2b_entities: fix incorrect entity key after loadi...

Vlad Pătrașcu noreply at github.com
Fri May 19 19:01:29 UTC 2023


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4c1b9a5ce284582cdcd65b1c33dc32458d908710
      https://github.com/OpenSIPS/opensips/commit/4c1b9a5ce284582cdcd65b1c33dc32458d908710
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M modules/b2b_entities/b2b_entities.c
    M modules/b2b_entities/b2be_clustering.c
    M modules/b2b_entities/b2be_db.c
    M modules/b2b_entities/client.c
    M modules/b2b_entities/dlg.c
    M modules/b2b_entities/dlg.h
    M modules/b2b_entities/server.c
    M modules/b2b_entities/ua_api.c

  Log Message:
  -----------
  b2b_entities: fix incorrect entity key after loading from DB

Do not generate a new random part for the entity key when loading from
DB.

(cherry picked from commit 168808757d45af6ce098e123b1524f2a7d367cd6)


  Commit: 69f5f824be70a152e7870d6d5eb00435f4c8a39c
      https://github.com/OpenSIPS/opensips/commit/69f5f824be70a152e7870d6d5eb00435f4c8a39c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M lib/reg/lookup.c
    M lib/reg/lookup.h
    M lib/reg/save_flags.c
    M lib/reg/save_flags.h
    M modules/mid_registrar/mid_registrar.c
    M modules/registrar/reg_mod.c

  Log Message:
  -----------
  [mid_]registrar: fix default flag values for lookup() and save()

The default values for unset flags were not properly set if any other flags
were provided to the save()/lookup() functions.

Fixes #3097

(cherry picked from commit 89f947b690f54d17425235d0e6d5c3cb00f9d37a)


Compare: https://github.com/OpenSIPS/opensips/compare/99c9d66d8267...69f5f824be70



More information about the Devel mailing list