]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub: Postpone destruction of old subscriptions on RLS update
authorAlexei Gradinari <alex2grad@gmail.com>
Wed, 3 Aug 2022 14:55:47 +0000 (10:55 -0400)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Fri, 9 Sep 2022 13:36:02 +0000 (08:36 -0500)
commit8d57581c779e2121abb15b3766ca5a2b776ccab5
treebd57128e3ca9996a8d636fb3aeb5c307f37393fc
parent7db21bb8edb892607c3b89ed38c9134f53fb405c
res_pjsip_pubsub: Postpone destruction of old subscriptions on RLS update

Set termination state to old subscriptions to prevent queueing and sending
NOTIFY messages on exten/device state changes.

Postpone destruction of old subscriptions until all already queued tasks
that may be using old subscriptions have completed.

ASTERISK-29906

Change-Id: I96582aad3a26515ca73a8460ee6756f56f6ba23b
res/res_pjsip_exten_state.c
res/res_pjsip_pubsub.c