]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Revert "pjsip_location: Delete contact_status object when contact is deleted" 73/1973/1
authorGeorge Joseph <george.joseph@fairview5.com>
Sat, 9 Jan 2016 23:57:45 +0000 (16:57 -0700)
committerGeorge Joseph <george.joseph@fairview5.com>
Sun, 10 Jan 2016 00:08:46 +0000 (17:08 -0700)
commit4b10fc917340bbbfe6222fa7c6131f004912879a
tree59d00b5a2ebbcdcc74ec424d07702a2f4269228a
parent573b37c6581b54cfe80dfd9a956c29c33f11f4bd
Revert "pjsip_location: Delete contact_status object when contact is deleted"

This reverts commit 0a9941de9d24093b5ff44096d1d7406f29d11e45.

Matt,

This patch causes another problem and should not have been needed.
Before this patch, persistent_endpoint_contact_deleted_observer WAS
deleting the contact_status when ast_sip_location_delete_contact was
called.  By deleting it yourself in ast_sip_location_delete_contact
it was gone before the observer could run and the observer therefore
was throwing an error and not sending stasis/AMI/statsd messages.

So, I don't think this was the cause of your original issue.  I also
had verified the contact AMI and statsd lifecycle and it was working.
I'll double check now though.

ASTERISK-25675
Reported-by: Daniel Journo
Change-Id: Ib586a6b7f90acb641b0c410f659743ab90e84f1a
res/res_pjsip/location.c