Module: kamailio
Branch: master
Commit: 344ef3dfec5cfc4865f01db845112617c7b5e096
URL:
https://github.com/kamailio/kamailio/commit/344ef3dfec5cfc4865f01db84511261…
Author: Joey Golan <joeygo(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/344ef3dfec5cfc4865f01db84511261…
Patch:
https://github.com/kamailio/kamailio/commit/344ef3dfec5cfc4865f01db84511261…
---
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)
{