[OpenSIPS-Devel] [OpenSIPS/opensips] c1c3c0: Fix transactional tracing via LOCAL route

Bogdan Andrei IANCU noreply at github.com
Tue Mar 16 15:34:34 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c1c3c0bc5f62094aa5793e53be1727f43d378c05
      https://github.com/OpenSIPS/opensips/commit/c1c3c0bc5f62094aa5793e53be1727f43d378c05
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M modules/tm/uac.c
    M modules/tracer/tracer.c

  Log Message:
  -----------
  Fix transactional tracing via LOCAL route

* in local route do not trace as IN msg (on the spot) as logically speaking, there is no IN request here (it is generated by opensips itself)
* trace the OUT request via the TMCB_MSG_SENT_OUT callback, which is now available for the UAC transactions. The tracing must be done AFTER the local route completion, so we can trace the resulting msg (with its changes) and the correct destination (as per local route changes)

(cherry picked from commit 68cca59e450b95f921c01ff00007566ea408180d)





More information about the Devel mailing list