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

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


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

  Changed paths:
    M modules/tm/t_fwd.c
    M modules/tm/t_fwd.h
    M modules/tm/tm.c
    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