[OpenSIPS-Devel] [OpenSIPS/opensips] d9e3ab: Added support for cloning (shm and pkg) for the si...

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jan 11 09:53:45 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d9e3ab6803668bac8ee551305ac49d017b440ba5
      https://github.com/OpenSIPS/opensips/commit/d9e3ab6803668bac8ee551305ac49d017b440ba5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-01-11 (Wed, 11 Jan 2017)

  Changed paths:
    M parser/parse_body.c
    M parser/parse_body.h

  Log Message:
  -----------
  Added support for cloning (shm and pkg) for the sip body structure.

This is needed to properly implement per-branch changes of the msg bodies and for failure route body restore.
This commit adds functions for the cloning the sip_msg_body and body_part structures (into shm or pkg, in the same or different sip_msg structure). It also provides support to allow body part parsers (SDP, ISUP, etc) to do their own cloning stuff.




More information about the Devel mailing list