[OpenSIPS-Devel] [OpenSIPS/opensips] 0bfff2: More on migration (if RR was done is in ctx now)

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Dec 19 14:09:59 CET 2014


  Branch: refs/heads/async
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0bfff256d6a441655693b49f391531a0ac127911
      https://github.com/OpenSIPS/opensips/commit/0bfff256d6a441655693b49f391531a0ac127911
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-12-18 (Thu, 18 Dec 2014)

  Changed paths:
    M modules/rr/rr_mod.c

  Log Message:
  -----------
  More on migration (if RR was done is in ctx now)


  Commit: dd46ea01591db9e3f9a0e5a5f3856ac0dda5e1e8
      https://github.com/OpenSIPS/opensips/commit/dd46ea01591db9e3f9a0e5a5f3856ac0dda5e1e8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M data_lump.c
    M data_lump.h
    M lump_struct.h
    M modules/dialog/dlg_tophiding.c
    M modules/tm/fix_lumps.h

  Log Message:
  -----------
  Converted dup shallow to ful dup (for lumps).

Shallow duplicating for lump is not used any more, so the coresponding functions were either drop, either converting to full duplication (including the payload, for the ADD lumps).


  Commit: 51d76a9a172b140165401e54b73d952875a54249
      https://github.com/OpenSIPS/opensips/commit/51d76a9a172b140165401e54b73d952875a54249
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M modules/rr/record.c
    M modules/rr/record.h
    M modules/rr/rr_mod.c

  Log Message:
  -----------
  Rework the RR param buffering (use non-static vars)

Keep in processing context the RR status (if done, if pending RR params, etc) -> this simplify the logic for detecting double RR (from script) and for adding RR param.
Instead of buffering RR params (to wait for actual RR call) in a static buffer, add them directly as lumps in msg - lumps will be moved at RR time into the proper position.


Compare: https://github.com/OpenSIPS/opensips/compare/d15847d45193...51d76a9a172b


More information about the Devel mailing list