<p>Joshua Colp <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/6388">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve; Approved for Submit
George Joseph: Looks good to me, approved
</div><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;">diff --git a/funcs/func_cdr.c b/funcs/func_cdr.c<br>index a56b47a..66d0861 100644<br>--- a/funcs/func_cdr.c<br>+++ b/funcs/func_cdr.c<br>@@ -282,7 +282,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/6388">change 6388</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/6388"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 14 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: Ia4e0b6ba93e03d27886354c279737790e2cd6a83 </div>
<div style="display:none"> Gerrit-Change-Number: 6388 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Jacek Konieczny <jkonieczny@eggsoft.pl> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>