[OpenSIPS-Devel] [OpenSIPS/opensips] 71a9d0: b2b_entities: fix DB serialization of the entity s...

Vlad Pătrașcu noreply at github.com
Mon Nov 9 17:30:37 EST 2020


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 71a9d0a4240a793337162f307cc44d3237a96f89
      https://github.com/OpenSIPS/opensips/commit/71a9d0a4240a793337162f307cc44d3237a96f89
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M modules/b2b_entities/b2be_db.c
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: fix DB serialization of the entity storage

The entity storage written to DB was always either a NULL value
or bogus data.

(cherry picked from commit af19d50733be3adde756f07845756f3c7f3ca0df)


  Commit: e85b96028bf7d5f89b0737260635a2b75bc7aa4c
      https://github.com/OpenSIPS/opensips/commit/e85b96028bf7d5f89b0737260635a2b75bc7aa4c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M modules/b2b_entities/b2be_db.c

  Log Message:
  -----------
  b2b_entities: fix restoring of DB persisted server entities

Server entities restored from DB would not use the original To tag due to
regenerating the timestamp part of the entity key.

(cherry picked from commit dd237c001791be0b3b071d07b36057221f6ed3f6)


Compare: https://github.com/OpenSIPS/opensips/compare/ac01ed5e02c5...e85b96028bf7



More information about the Devel mailing list