Module: kamailio Branch: master Commit: 67d60fcace6e06b3efa948a01f6eff05379c707a URL: https://github.com/kamailio/kamailio/commit/67d60fcace6e06b3efa948a01f6eff05...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2016-09-15T12:25:19+02:00
ims_charging: updated to use new name for ims_dialog api
---
Modified: modules/ims_charging/ims_ro.c Modified: modules/ims_charging/mod.c Modified: modules/ims_charging/ro_timer.c
---
Diff: https://github.com/kamailio/kamailio/commit/67d60fcace6e06b3efa948a01f6eff05... Patch: https://github.com/kamailio/kamailio/commit/67d60fcace6e06b3efa948a01f6eff05...
---
diff --git a/modules/ims_charging/ims_ro.c b/modules/ims_charging/ims_ro.c index c0c586f..222aa35 100644 --- a/modules/ims_charging/ims_ro.c +++ b/modules/ims_charging/ims_ro.c @@ -37,7 +37,7 @@ extern struct tm_binds tmb; extern struct cdp_binds cdpb; extern client_ro_cfg cfg; -extern struct dlg_binds dlgb; +extern ims_dlg_api_t dlgb; extern cdp_avp_bind_t *cdp_avp; extern str ro_forced_peer; extern int ro_db_mode; diff --git a/modules/ims_charging/mod.c b/modules/ims_charging/mod.c index f1f8242..3e927bd 100644 --- a/modules/ims_charging/mod.c +++ b/modules/ims_charging/mod.c @@ -63,7 +63,7 @@ client_ro_cfg cfg = { str_init(""),
extern struct ims_charging_counters_h ims_charging_cnts_h; struct cdp_binds cdpb; -struct dlg_binds dlgb; +ims_dlg_api_t dlgb; cdp_avp_bind_t *cdp_avp; struct tm_binds tmb;
@@ -198,7 +198,7 @@ static int mod_init(void) { goto error; }
- if (load_dlg_api(&dlgb) != 0) { /* load the dialog API */ + if (load_ims_dlg_api(&dlgb) != 0) { /* load the dialog API */ LM_ERR("can't load Dialog API\n"); goto error; } diff --git a/modules/ims_charging/ro_timer.c b/modules/ims_charging/ro_timer.c index 57bf55c..78e8242 100644 --- a/modules/ims_charging/ro_timer.c +++ b/modules/ims_charging/ro_timer.c @@ -23,7 +23,7 @@ extern int interim_request_credits; extern int ro_timer_buffer; extern int ro_db_mode; -extern struct dlg_binds dlgb; +extern ims_dlg_api_t dlgb; extern struct ims_charging_counters_h ims_charging_cnts_h;
/*! global dialog timer */