<p>Kevin Harwell <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/9009">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
Kevin Harwell: Looks good to me, approved; Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_voicemail: Fix incorrect msg leaving/retrieving an ODBC voicemail<br><br>Correct the log warning message shown when ODBC voicemail<br>retrieve_file is called and there is a null value in the category<br>column.<br>A more meaningfull message is now written at debug level.<br><br>ASTERISK-27853<br><br>Change-Id: Ic36e97d5eb070a23a12ba45972f6b53e2182a3f4<br>---<br>M apps/app_voicemail.c<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c<br>index c3bfeb4..881da92 100644<br>--- a/apps/app_voicemail.c<br>+++ b/apps/app_voicemail.c<br>@@ -3978,6 +3978,10 @@<br> generate_msg_id(msg_id);<br> snprintf(rowdata, sizeof(rowdata), "%s", msg_id);<br> odbc_update_msg_id(dir, msgnum, msg_id);<br>+ } else if (res == SQL_NULL_DATA && !strcasecmp(coltitle, "category")) {<br>+ /* Ignore null column value for category */<br>+ ast_debug(3, "Ignoring null category column in ODBC voicemail retrieve_file.\n");<br>+ continue;<br> } else if (!SQL_SUCCEEDED(res)) {<br> ast_log(AST_LOG_WARNING, "SQL Get Data error! coltitle=%s\n[%s]\n\n", coltitle, sql);<br> goto bail_with_handle;<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/9009">change 9009</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/9009"/><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: merged </div>
<div style="display:none"> Gerrit-Change-Id: Ic36e97d5eb070a23a12ba45972f6b53e2182a3f4 </div>
<div style="display:none"> Gerrit-Change-Number: 9009 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nic Colledge <nic@njcolledge.net> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>