summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/pbx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/pbx.c b/main/pbx.c
index e00ba70b1..6359c056c 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -10084,6 +10084,7 @@ static int pbx_outgoing_attempt(const char *type, struct ast_format_cap *cap, co
if (account) {
ast_cdr_setaccount(dialed, account);
}
+ ast_set_flag(ast_channel_cdr(dialed), AST_CDR_FLAG_ORIGINATED);
if (!ast_strlen_zero(cid_num) && !ast_strlen_zero(cid_name)) {
struct ast_party_connected_line connected;