Module: kamailio
Branch: master
Commit: 72270c67fa76d653f09c132933460d268645a568
URL:
https://github.com/kamailio/kamailio/commit/72270c67fa76d653f09c132933460d2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-01-10T12:51:51+01:00
rtp_media_server: removed unnecessary condition
---
Modified: src/modules/rtp_media_server/rtp_media_server.c
---
Diff:
https://github.com/kamailio/kamailio/commit/72270c67fa76d653f09c132933460d2…
Patch:
https://github.com/kamailio/kamailio/commit/72270c67fa76d653f09c132933460d2…
---
diff --git a/src/modules/rtp_media_server/rtp_media_server.c
b/src/modules/rtp_media_server/rtp_media_server.c
index bc528d40a30..e29a43aa4ba 100644
--- a/src/modules/rtp_media_server/rtp_media_server.c
+++ b/src/modules/rtp_media_server/rtp_media_server.c
@@ -944,9 +944,6 @@ static int rms_sip_cancel(struct sip_msg *msg, str *callid_s, str
*cseq_s)
int fl = 0;
int rcode = 0;
- if(rcode<100 || rcode>699)
- rcode = 0;
-
bkt = tmb.t_gett();
bkb = tmb.t_gett_branch();
if (tmb.t_lookup_callid(&trans, *callid_s, *cseq_s) < 0 ) {