Skip to content
Snippets Groups Projects
Commit 3dae4279 authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "func_cdr: Allow empty value for CDR dialplan function."

parents c62b5721 4146facf
No related branches found
No related tags found
No related merge requests found
......@@ -377,7 +377,7 @@ static void cdr_write_callback(void *data, struct stasis_subscription *sub, stru
payload->cmd, payload->cmd);
return;
}
if (ast_strlen_zero(payload->value)) {
if (!payload->value) {
ast_log(AST_LOG_WARNING, "%s requires a value (%s(variable)=value)\n)",
payload->cmd, payload->cmd);
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment