Module: kamailio
Branch: master
Commit: 56ed5c028bd97837c7a9e0017a2599f09554211f
URL:
https://github.com/kamailio/kamailio/commit/56ed5c028bd97837c7a9e0017a2599f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-03-22T15:27:46+01:00
sst: debug message when setting timeout avp
---
Modified: src/modules/sst/sst_handlers.c
---
Diff:
https://github.com/kamailio/kamailio/commit/56ed5c028bd97837c7a9e0017a2599f…
Patch:
https://github.com/kamailio/kamailio/commit/56ed5c028bd97837c7a9e0017a2599f…
---
diff --git a/src/modules/sst/sst_handlers.c b/src/modules/sst/sst_handlers.c
index be55eb8883..aa39859c34 100644
--- a/src/modules/sst/sst_handlers.c
+++ b/src/modules/sst/sst_handlers.c
@@ -876,15 +876,14 @@ static int set_timeout_avp(struct sip_msg *msg, unsigned int value)
if (timeout_avp->setf(msg,&timeout_avp->pvp,EQ_T,&pv_val)!=0) {
LM_ERR("failed to set new dialog timeout value\n");
} else {
+ LM_DBG("Timeout avp value set to %d\n", value);
rtn = 0;
}
}
- }
- else {
+ } else {
LM_ERR("SST not reset. get avp result is %d\n", result);
}
- }
- else {
+ } else {
LM_ERR("SST needs to know the name of the dialog timeout AVP!\n");
}
return(rtn);