Module: kamailio
Branch: master
Commit: 1368c576e11186134caeb02fca62ccc8f0c8c48b
URL:
https://github.com/kamailio/kamailio/commit/1368c576e11186134caeb02fca62ccc…
Author: jaybeepee <jason.penton(a)gmail.com>
Committer: jaybeepee <jason.penton(a)gmail.com>
Date: 2016-06-07T08:42:15+02:00
modules/ims_charging: remove useless conditions
---
Modified: modules/ims_charging/ro_timer.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1368c576e11186134caeb02fca62ccc…
Patch:
https://github.com/kamailio/kamailio/commit/1368c576e11186134caeb02fca62ccc…
---
diff --git a/modules/ims_charging/ro_timer.c b/modules/ims_charging/ro_timer.c
index d720f4a..ded2a4b 100644
--- a/modules/ims_charging/ro_timer.c
+++ b/modules/ims_charging/ro_timer.c
@@ -431,10 +431,7 @@ void ro_session_ontimeout(struct ro_tl *tl) {
counter_add(ims_charging_cnts_h.billed_secs, used_secs);
- if (ro_session->callid.s != NULL
- && ro_session->dlg_h_entry >= 0U
- && ro_session->dlg_h_id >= 0U
- && ro_session->ro_session_id.s != NULL) {
+ if (ro_session->callid.s != NULL && ro_session->ro_session_id.s
!= NULL) {
LM_DBG("Found a session to re-apply for timing [%.*s] and user is
[%.*s]\n",
ro_session->ro_session_id.len,
ro_session->ro_session_id.s,