Prevent CDR backends from unregistering while billing data is in flight
authorMatthew Jordan <mjordan@digium.com>
Sun, 27 Oct 2013 20:04:17 +0000 (20:04 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sun, 27 Oct 2013 20:04:17 +0000 (20:04 +0000)
commit3713fa5c9f9bab64f21a3602c4a201bcb2458084
tree14a82dae119e398850640e050a97801bcffd3d96
parent2e24dfe4d1c44f978607aaee80225db8e18967fc
Prevent CDR backends from unregistering while billing data is in flight

This patch makes it so that CDR backends cannot be unregistered while active
CDR records exist. This helps to prevent billing data from being lost during
restarts and shutdowns.

Review: https://reviewboard.asterisk.org/r/2880/
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
14 files changed:
addons/cdr_mysql.c
cdr/cdr_adaptive_odbc.c
cdr/cdr_csv.c
cdr/cdr_custom.c
cdr/cdr_manager.c
cdr/cdr_odbc.c
cdr/cdr_pgsql.c
cdr/cdr_radius.c
cdr/cdr_sqlite.c
cdr/cdr_sqlite3_custom.c
cdr/cdr_syslog.c
cdr/cdr_tds.c
include/asterisk/cdr.h
main/cdr.c