diff options
Diffstat (limited to 'main/cel.c')
-rw-r--r-- | main/cel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/cel.c b/main/cel.c index bc1182aa7..b71afde22 100644 --- a/main/cel.c +++ b/main/cel.c @@ -1084,8 +1084,8 @@ static void cel_channel_state_change( return; } - was_hungup = ast_test_flag(&old_snapshot->flags, AST_FLAG_ZOMBIE) ? 1 : 0; - is_hungup = ast_test_flag(&new_snapshot->flags, AST_FLAG_ZOMBIE) ? 1 : 0; + was_hungup = ast_test_flag(&old_snapshot->flags, AST_FLAG_DEAD) ? 1 : 0; + is_hungup = ast_test_flag(&new_snapshot->flags, AST_FLAG_DEAD) ? 1 : 0; if (!was_hungup && is_hungup) { RAII_VAR(struct ast_str *, extra_str, ast_str_create(128), ast_free); |