Module: sip-router Branch: master Commit: a7037aad9963678347bf2b1c15c4994e95570f86 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a7037aad...
Author: Richard Good richard.good@smilecoms.com Committer: Richard Good richard.good@smilecoms.com Date: Wed Oct 30 12:49:26 2013 +0200
modules/ims_charging: code clean up, removed duplicate timer init and dlg bind
---
modules/ims_charging/mod.c | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/modules/ims_charging/mod.c b/modules/ims_charging/mod.c index 7c118e5..9e60c7d 100644 --- a/modules/ims_charging/mod.c +++ b/modules/ims_charging/mod.c @@ -241,22 +241,6 @@ static int mod_init(void) { return -1; }
- /* init timer lists*/ - if (init_ro_timer(ro_session_ontimeout) != 0) { - LM_ERR("cannot init timer list\n"); - return -1; - } - - - /* bind to dialog module */ - if (!(load_dlg = (load_dlg_f) find_export("load_dlg", 0, 0))) { - LM_ERR("mod_init: can not import load_dlg. This module requires Kamailio dialog moduile.\n"); - } - - if (load_dlg(&dlgb) == -1) { - goto error; - } - /* register statistics */ if (register_module_stats(exports.name, charging_stats) != 0) { LM_ERR("failed to register core statistics\n");