[OpenSIPS-Devel] [OpenSIPS/opensips] 07672d: tm: run TMCB_REQUEST_BUILT before sending msg

Răzvan Crainea noreply at github.com
Tue May 21 13:08:47 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 07672d43879c01cfe28a607bd97c6cd4c7b1f7b2
      https://github.com/OpenSIPS/opensips/commit/07672d43879c01cfe28a607bd97c6cd4c7b1f7b2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-05-21 (Tue, 21 May 2019)

  Changed paths:
    M modules/tm/t_cancel.c
    M modules/tm/t_fwd.c
    M modules/tm/t_hooks.h

  Log Message:
  -----------
  tm: run TMCB_REQUEST_BUILT before sending msg

Althought this was initially documented as being ran before sending the
message out, this callback has been moved *after* the message is sent.
Therefore it can generate some concurrency issues in the dialog, when a
reply is received faster than the outgoing leg would have been updated.

(cherry picked from commit ef680f665066dabf2d99d616976ba7126092f124)





More information about the Devel mailing list