[sr-dev] git:master:54cb0e7e: ims_charging: Do not close dialog upon Ro credit control timeout before answer
Marco Sinibaldi
marco.sinibaldi at athonet.com
Mon Jul 25 09:24:36 CEST 2016
Module: kamailio
Branch: master
Commit: 54cb0e7e7821e4158b105419e79e030eec6453f7
URL: https://github.com/kamailio/kamailio/commit/54cb0e7e7821e4158b105419e79e030eec6453f7
Author: Marco Sinibaldi <marco.sinibaldi at athonet.com>
Committer: Marco Sinibaldi <marco.sinibaldi at athonet.com>
Date: 2016-07-21T14:49:26+02:00
ims_charging: Do not close dialog upon Ro credit control timeout before answer
---
Modified: modules/ims_charging/ro_timer.c
---
Diff: https://github.com/kamailio/kamailio/commit/54cb0e7e7821e4158b105419e79e030eec6453f7.diff
Patch: https://github.com/kamailio/kamailio/commit/54cb0e7e7821e4158b105419e79e030eec6453f7.patch
---
diff --git a/modules/ims_charging/ro_timer.c b/modules/ims_charging/ro_timer.c
index 3f6c8dd..57bf55c 100644
--- a/modules/ims_charging/ro_timer.c
+++ b/modules/ims_charging/ro_timer.c
@@ -473,6 +473,9 @@ void ro_session_ontimeout(struct ro_tl *tl) {
case delayed_delete:
destroy_ro_session(ro_session);
return;
+ case pending:
+ /* call is not answered yet. No point asking more credit. Just wait for dialog to progress somehow */
+ return;
default:
LM_ERR("Diameter call session - event [%d]\n", ro_session->event_type);
More information about the sr-dev
mailing list