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

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


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





More information about the Devel mailing list