]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_config_sqlite: Check for CDR unregistration failures
authorMatthew Jordan <mjordan@digium.com>
Sun, 8 Dec 2013 05:54:53 +0000 (05:54 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sun, 8 Dec 2013 05:54:53 +0000 (05:54 +0000)
commit1d2de2fdb867eb2c752a893bfd437fbf4856b026
tree224a60de78cc7da8218fb1ec6db0b2f4ed069ca2
parentc0b4e1890071b69e27b8421442dd9f8fc402ec1b
res_config_sqlite: Check for CDR unregistration failures

If the CDR unregistration fails due to an inflight CDR, the
res_config_sqlite module needs to bail on unloading itself. Otherwise,
the config could be unloaded (including the CDR table name) while the
CDR engine posts a CDR to the still registered backend, resulting in
a crash.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@403435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_config_sqlite.c