[OpenSIPS-Devel] [OpenSIPS/opensips] 7a7626: Fixed updating transaction if no relay done in req...

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Apr 12 09:26:35 EDT 2017


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7a762610bbe916c8aba783cdac27b174f408626c
      https://github.com/OpenSIPS/opensips/commit/7a762610bbe916c8aba783cdac27b174f408626c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M modules/tm/sip_msg.c
    M modules/tm/tm.c
    M parser/msg_parser.h

  Log Message:
  -----------
  Fixed updating transaction if no relay done in request route.

If the request route ends without any t_relay() (like in the PN scenario, where there are no contact registered at the time of INVITE handling), we need to force upating the cloned request (in the UAS side of the transaction) with all the changes done over the request in script (normally this is done at the t_relay() time).

Reported by Nick Altmann.

(cherry picked from commit 6455ccba84539d91d7575161989bf9ef41c392e9)


  Commit: 097f800ef0582e6a28e33b10f58ee8e090790186
      https://github.com/OpenSIPS/opensips/commit/097f800ef0582e6a28e33b10f58ee8e090790186
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M action.c

  Log Message:
  -----------
  Expose a processing context in all routes.

If the underlaying code does not set a context when executing a script route, allocate a temporary one in run_top_route.

Related to #1097 and #1100

(cherry picked from commit b90ec06e7a0cebfe6415e145afcfa799363a726f)


Compare: https://github.com/OpenSIPS/opensips/compare/b044b721c7ac...097f800ef058


More information about the Devel mailing list