Skip to content

Commit

Permalink
dialog: indicate if dialog was not found when terminating
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Jul 12, 2023
1 parent f73a2b4 commit 8d6cfba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/dialog/dlg_handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -3004,6 +3004,8 @@ int terminate_dlg(const str *callid, unsigned int h_entry, unsigned int h_id,
if (dlg_end_dlg(dlg, 0, 1) ) {
LM_ERR("Failed to end dialog\n");
ret = -1;
} else {
ret = 1;
}

unref_dlg(dlg, 1);
Expand Down

0 comments on commit 8d6cfba

Please sign in to comment.