]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_outbound_publish: state potential dropped on reloads/realtime fetches 07/2807/1
authorKevin Harwell <kharwell@digium.com>
Tue, 3 May 2016 20:43:16 +0000 (15:43 -0500)
committerKevin Harwell <kharwell@digium.com>
Wed, 11 May 2016 16:42:02 +0000 (11:42 -0500)
commit49b25a095656dd6d41a75e4fcbbe9651946b1605
treef230542135e7a80e4506d1f86bfe06abefd538d4
parent81773ceb9cb03e11b9a39fb882dcc72815784566
res_pjsip_outbound_publish: state potential dropped on reloads/realtime fetches

When reloading, or fetching realtime data, if the "apply" failed for any
numerous reasons the current state object would not be maintained. This
potentially resulted in publishes being stopped for some states/clients when
they should not have been.

This patch makes it so the current state object is kept upon any type of reload/
fetch failures.

Change-Id: Iab6020c116d628ed2ae81183e987e2eaa3c90b30
res/res_pjsip_outbound_publish.c