[sr-dev] git:master:e876770e: core: kemi - fix matching update for is_method_in("U")

Daniel-Constantin Mierla miconda at gmail.com
Sat Aug 24 16:10:52 CEST 2019


Module: kamailio
Branch: master
Commit: e876770e36c83ce47d1b0f95c14fe269b92a4e70
URL: https://github.com/kamailio/kamailio/commit/e876770e36c83ce47d1b0f95c14fe269b92a4e70

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-08-24T16:10:36+02:00

core: kemi - fix matching update for is_method_in("U")

---

Modified: src/core/kemi.c

---

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

---

diff --git a/src/core/kemi.c b/src/core/kemi.c
index 39ee38773c..f7c0086eaf 100644
--- a/src/core/kemi.c
+++ b/src/core/kemi.c
@@ -845,6 +845,12 @@ static int sr_kemi_core_is_method_in(sip_msg_t *msg, str *vmethod)
 					return SR_KEMI_TRUE;
 				}
 			break;
+			case 'U':
+			case 'u':
+				if(imethod==METHOD_UPDATE) {
+					return SR_KEMI_TRUE;
+				}
+			break;
 			case 'K':
 			case 'k':
 				if(imethod==METHOD_KDMQ) {




More information about the sr-dev mailing list