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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 68cca59e450b95f921c01ff00007566ea408180d
      https://github.com/OpenSIPS/opensips/commit/68cca59e450b95f921c01ff00007566ea408180d
  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)





More information about the Devel mailing list