Make cdr_mysql compile again by not directly setting the run-time CDR object
authorMatthew Jordan <mjordan@digium.com>
Mon, 17 Jun 2013 03:31:19 +0000 (03:31 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 17 Jun 2013 03:31:19 +0000 (03:31 +0000)
commit2b992bc74d13ae3ecb28f711a29c7bb6413be762
tree3c43e7f06a75fc354c57966a1d9a1a6b462a7024
parent6258bbe7bd1885ac5dec095ed0c4490c83a99f44
Make cdr_mysql compile again by not directly setting the run-time CDR object

A stray ast_cdr_setvar was missed in cdr_mysql (silly addons). This has now
been refactored to not set the property, as the property would have been set
on a run-time object that was already dispatched to the backend. The module
simply remembers the value it wanted to set and writes it to MySQL later
in the processing.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
addons/cdr_mysql.c