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

Merge "core_unreal: Fix hangupcauses not getting set on Local channels"

parents 9480ec2b 2cc56573
Branches
Tags
No related merge requests found
......@@ -566,6 +566,11 @@ int ast_unreal_indicate(struct ast_channel *ast, int condition, const void *data
res = -1;
}
break;
case AST_CONTROL_PVT_CAUSE_CODE:
/* Return -1 so that asterisk core will correctly set up hangupcauses. */
unreal_queue_indicate(p, ast, condition, data, datalen);
res = -1;
break;
default:
res = unreal_queue_indicate(p, ast, condition, data, datalen);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment