[OpenSIPS-Devel] [OpenSIPS/opensips] fb0d90: Fix CANCELLing of transactions not forwarded.

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Oct 13 16:33:45 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fb0d90ec75601304eed98168bb988ebdbf10c260
      https://github.com/OpenSIPS/opensips/commit/fb0d90ec75601304eed98168bb988ebdbf10c260
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-10-13 (Thu, 13 Oct 2016)

  Changed paths:
    M modules/tm/t_fwd.c

  Log Message:
  -----------
  Fix CANCELLing of transactions not forwarded.

Due async operations, a transaction may be created and it may exist for a long time before any branch is created for it (via a t_relay). The current fix takes care and does proper handling on incoming CANCELs matching the transaction while it has no branch (no t_relay() on it).
Old behavior - the INVITE transaction was never getting a final reply
New brhavior - the INVITE transaction gets an internally generated 487.




More information about the Devel mailing list