[OpenSIPS-Devel] [OpenSIPS/opensips] fea8bc: presence_callinfo: reject a competing line-seize w...

Brisco Communications Inc noreply at github.com
Wed Aug 12 18:50:00 UTC 2026


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fea8bcbbfa4bba4699eb3e7f3ae50e50193b7c55
      https://github.com/OpenSIPS/opensips/commit/fea8bcbbfa4bba4699eb3e7f3ae50e50193b7c55
  Author: Chris Brisco <286803138+briscocom at users.noreply.github.com>
  Date:   2026-08-12 (Wed, 12 Aug 2026)

  Changed paths:
    M modules/presence_callinfo/add_events.c

  Log Message:
  -----------
  presence_callinfo: reject a competing line-seize while the seizure is live

The guard in lineseize_subs_handl tested seize_expires < get_ticks(),
which is true only once the seizure has already expired, so a live
seizure fell through to the unconditional seize_state assignment and a
competing SUBSCRIBE was answered 200 OK.

Flip the comparison so the 480 is returned while the seizure is still
valid. This matches the form already present in master and 4.0.

(cherry picked from commit 02e6d7e0a59457dc9bed22f519a10ab3e7fdd448)



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



More information about the Devel mailing list