Fixed problems with ast_cdr_serialize_variables().
authorRichard Mudgett <rmudgett@digium.com>
Wed, 28 Aug 2013 22:56:03 +0000 (22:56 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 28 Aug 2013 22:56:03 +0000 (22:56 +0000)
commit94e4733d89e9616f27888d0a88efc135318ecab4
treedde4cfcfaced0d09a2a1590ce35d38f2e3f0049c
parent87bf699dc9a9835f02072aba08a0699e1734b8a1
Fixed problems with ast_cdr_serialize_variables().

* Fixed return value of ast_cdr_serialize_variables() on error.  It needs
to return 0 indicating no CDR variables found.

* Made ast_cdr_serialize_variables() check the return value of
cdr_object_format_property() and assert if nonzero.  A member of the
cdr_readonly_vars[] was not handled.

* Removed unused elements from cdr_readonly_vars[]: total_duration,
total_billsec, first_start, and first_answer.
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/cdr.c