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

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


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