[sr-dev] git:master:344ef3df: imc: call handle_modify

Daniel-Constantin Mierla miconda at gmail.com
Wed Dec 7 14:22:04 CET 2022


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

Author: Joey Golan <joeygo at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-12-07T14:21:57+01:00

imc: call handle_modify

---

Modified: src/modules/imc/imc.c

---

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

---

diff --git a/src/modules/imc/imc.c b/src/modules/imc/imc.c
index 9638b5b06f..f9f931d7b5 100644
--- a/src/modules/imc/imc.c
+++ b/src/modules/imc/imc.c
@@ -590,6 +590,14 @@ static int ki_imc_manager(struct sip_msg* msg)
 				goto error;
 			}
 		break;
+		case IMC_CMDID_MODIFY:
+			if(imc_handle_modify(msg, &cmd, &src, &dst)<0)
+			{
+				LM_ERR("failed to handle 'modify'\n");
+				ret = -120;
+				goto error;
+			}
+		break;
 		case IMC_CMDID_HELP:
 			if(imc_handle_help(msg, &cmd, &src, &dst)<0)
 			{




More information about the sr-dev mailing list