Explorar o código

dialog: Update to use new tm FLAG for CANCEL

(cherry picked from commit 9740f5ea7ee0b9827cf3e113bc1c458f72b8cbf7)
Xenofon Karamanos hai 3 meses
pai
achega
5d82b77ad9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modules/dialog/dlg_req_within.c

+ 1 - 1
src/modules/dialog/dlg_req_within.c

@@ -407,7 +407,7 @@ static inline int send_bye(
 				LM_DBG("\"%d %.*s\" sent to caller\n", bye_early_code,
 						bye_early_reason.len, bye_early_reason.s);
 			} else {
-				d_tmb.cancel_all_uacs(cell->t, 0);
+				d_tmb.cancel_all_uacs(cell->t, F_CANCEL_LOCAL);
 				LM_DBG("CANCEL sent to callee(s)\n");
 			}
 			return 0;