Browse Source

rtp_media_server: Update to use new tm FLAG for CANCEL

(cherry picked from commit fc5f804ad92593f74110a9392d63384e04fed218)
Xenofon Karamanos 3 tháng trước cách đây
mục cha
commit
c3160efc9b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/modules/rtp_media_server/rtp_media_server.c

+ 1 - 1
src/modules/rtp_media_server/rtp_media_server.c

@@ -1024,7 +1024,7 @@ static int rms_sip_cancel(struct sip_msg *msg, str *callid_s, str *cseq_s)
 	cancel_data.reason.cause = rcode;
 	cancel_data.cancel_bitmap = 0;
 	tmb.prepare_to_cancel(trans, &cancel_data.cancel_bitmap, 0);
-	tmb.cancel_uacs(trans, &cancel_data, 0);
+	tmb.cancel_uacs(trans, &cancel_data, F_CANCEL_LOCAL);
 
 	tmb.t_sett(bkt, bkb);
 	if(!tmb.t_reply(msg, 202, "cancelling")) {