diff --git a/main/pbx.c b/main/pbx.c index e00ba70b18207e958c74a8935119aeb23fc52730..6359c056c2ca924b344e59a14f3693d280e503b0 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;