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

changes/76/2576/1
Joshua Colp 10 years ago committed by Gerrit Code Review
commit 5eec2386cf

@ -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;

Loading…
Cancel
Save