[OpenSIPS-Devel] [OpenSIPS/opensips] a7c32d: [tm] fix resuming aysnc jobs which initially were ...

Bogdan Andrei IANCU noreply at github.com
Thu Oct 8 09:36:00 UTC 2026


  Branch: refs/heads/3.6
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a7c32d90e5f4495b34fc847672313575f6bf9653
      https://github.com/OpenSIPS/opensips/commit/a7c32d90e5f4495b34fc847672313575f6bf9653
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-10-08 (Thu, 08 Oct 2026)

  Changed paths:
    M modules/tm/async.c

  Log Message:
  -----------
  [tm] fix resuming aysnc jobs which initially were handled in sync mode

if an async() switches to sync mode (due to wrong route type), we use the t==NULL in the async ctx as marker to discard any furhter attempt to run a resume on this job.
Real case: async(wait_for_event()) in failure route. The waiting will be resumed in line, but the EBR subscription (already created) will generate a resume on timeout -> this must be supressed.
Reported by Nick Altmann @nikbyte

(cherry picked from commit 190f404ac731a3c07efb997cffbf28751a8d15b7)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list