Check for an act on failures to update contacts during registration.
authorMark Michelson <mmichelson@digium.com>
Tue, 6 May 2014 17:47:20 +0000 (17:47 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 6 May 2014 17:47:20 +0000 (17:47 +0000)
commit9eae6c3f5bad40f3c23f34be9c8d33f67da49c72
tree4f7bf168c7ab9c00bf45a63e9b832a89be1f4909
parent3f5d4516bdc63d398e850fd419b1b75bb2c1f212
Check for an act on failures to update contacts during registration.

There was an underlying issue in a realtime backend where database updates
would fail. Since we were not checking for failure, we would end up in a
strange state where the old database entry was still present but Asterisk
thought that it had been updated. Now when an entry fails to update, we
print a warning and delete the old contact from sorcery so there is no
mismatch between foreground and backend state.

Patches:
res_pjsip_registrar.patch by John Hardin (License #6512)
........

Merged revisions 413358 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@413359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_registrar.c