Module: kamailio
Branch: 6.0
Commit: c3160efc9b4af01d8e2997fdc6cb168838f76ba9
URL: 
https://github.com/kamailio/kamailio/commit/c3160efc9b4af01d8e2997fdc6cb168838f76ba9

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com>
Date: 2025-06-18T08:39:41Z

rtp_media_server: Update to use new tm FLAG for CANCEL

(cherry picked from commit fc5f804ad92593f74110a9392d63384e04fed218)

---

Modified: src/modules/rtp_media_server/rtp_media_server.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/c3160efc9b4af01d8e2997fdc6cb168838f76ba9.diff
Patch: 
https://github.com/kamailio/kamailio/commit/c3160efc9b4af01d8e2997fdc6cb168838f76ba9.patch

---

diff --git a/src/modules/rtp_media_server/rtp_media_server.c 
b/src/modules/rtp_media_server/rtp_media_server.c
index 720c4afd900..21abb7fb836 100644
--- a/src/modules/rtp_media_server/rtp_media_server.c
+++ b/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")) {

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to