<p>Joshua Colp has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/6461">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">func_cdr: honour 'u' flag on dummy channel<br><br>Fixes ${CDR(...,u)} when used in cdr_custom.conf<br><br>ASTERISK-27165 #close<br><br>Change-Id: Ia4e0b6ba93e03d27886354c279737790e2cd6a83<br>---<br>M funcs/func_cdr.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/61/6461/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/funcs/func_cdr.c b/funcs/func_cdr.c<br>index 219e004..5734312 100644<br>--- a/funcs/func_cdr.c<br>+++ b/funcs/func_cdr.c<br>@@ -280,7 +280,7 @@<br> <br> if (ast_strlen_zero(ast_channel_name(payload->chan))) {<br> /* Format request on a dummy channel */<br>- ast_cdr_format_var(ast_channel_cdr(payload->chan), args.variable, &value, tempbuf, sizeof(tempbuf), 0);<br>+ ast_cdr_format_var(ast_channel_cdr(payload->chan), args.variable, &value, tempbuf, sizeof(tempbuf), ast_test_flag(&flags, OPT_UNPARSED));<br> if (ast_strlen_zero(value)) {<br> return;<br> }<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6461">change 6461</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/6461"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ia4e0b6ba93e03d27886354c279737790e2cd6a83 </div>
<div style="display:none"> Gerrit-Change-Number: 6461 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jacek Konieczny <jkonieczny@eggsoft.pl> </div>