[sr-dev] git:master:56ed5c02: sst: debug message when setting timeout avp
Daniel-Constantin Mierla
miconda at gmail.com
Sun Mar 22 15:28:21 CET 2020
Module: kamailio
Branch: master
Commit: 56ed5c028bd97837c7a9e0017a2599f09554211f
URL: https://github.com/kamailio/kamailio/commit/56ed5c028bd97837c7a9e0017a2599f09554211f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/56ed5c028bd97837c7a9e0017a2599f09554211f.diff
Patch: https://github.com/kamailio/kamailio/commit/56ed5c028bd97837c7a9e0017a2599f09554211f.patch
---
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);
More information about the sr-dev
mailing list