[asterisk-commits] seanbright: branch 1.6.2 r196523 - /branches/1.6.2/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat May 23 10:17:40 CDT 2009
Author: seanbright
Date: Sat May 23 10:17:37 2009
New Revision: 196523
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=196523
Log:
Blocked revisions 196520 via svnmerge
........
r196520 | seanbright | 2009-05-23 11:16:59 -0400 (Sat, 23 May 2009) | 11 lines
Fix errors in cdr_custom that cause reference errors when non-CDR variable
substitution is done.
cdr_custom was creating a ast_channel struct directly and passing it into the
core for variable substition. This was fine as long as the format string
contained only calls to the CDR() function. Doing something like ${EPOCH} on
the other hand tried to lock the channel, which would fail and throw an error
because the passed channel hadn't been allocated as an ao2 object. So now we
create the dummy channel with ast_channel_alloc, and everything works as
expected.
........
Modified:
branches/1.6.2/ (props changed)
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-blocked' - no diff available.
More information about the asterisk-commits
mailing list