Module: kamailio
Branch: master
Commit: 2d604beee15853a831292f835fc98eb76814dff8
URL:
https://github.com/kamailio/kamailio/commit/2d604beee15853a831292f835fc98eb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-09-15T12:25:57+02:00
ims_qos: updated to use new name for ims_dialog api
---
Modified: modules/ims_qos/cdpeventprocessor.c
Modified: modules/ims_qos/mod.c
Modified: modules/ims_qos/rx_authdata.h
---
Diff:
https://github.com/kamailio/kamailio/commit/2d604beee15853a831292f835fc98eb…
Patch:
https://github.com/kamailio/kamailio/commit/2d604beee15853a831292f835fc98eb…
---
diff --git a/modules/ims_qos/cdpeventprocessor.c b/modules/ims_qos/cdpeventprocessor.c
index 82fc2f8..14edd74 100644
--- a/modules/ims_qos/cdpeventprocessor.c
+++ b/modules/ims_qos/cdpeventprocessor.c
@@ -55,7 +55,7 @@
cdp_cb_event_list_t *cdp_event_list = 0;
extern usrloc_api_t ul;
-extern struct dlg_binds dlgb;
+extern ims_dlg_api_t dlgb;
extern int cdp_event_latency;
extern int cdp_event_threshold;
extern int cdp_event_latency_loglevel;
diff --git a/modules/ims_qos/mod.c b/modules/ims_qos/mod.c
index f57ad85..f088d1a 100644
--- a/modules/ims_qos/mod.c
+++ b/modules/ims_qos/mod.c
@@ -88,7 +88,7 @@ int authorize_video_flow = 1; //by default we authorize resources for
video flow
struct tm_binds tmb;
struct cdp_binds cdpb;
-struct dlg_binds dlgb;
+ims_dlg_api_t dlgb;
bind_usrloc_t bind_usrloc;
cdp_avp_bind_t *cdp_avp;
usrloc_api_t ul;
@@ -244,7 +244,7 @@ static int mod_init(void)
}
/* load the dialog API */
- if (load_dlg_api(&dlgb) != 0) {
+ if (load_ims_dlg_api(&dlgb) != 0) {
LM_ERR("can't load Dialog API\n");
goto error;
}
diff --git a/modules/ims_qos/rx_authdata.h b/modules/ims_qos/rx_authdata.h
index b186cd0..849d4b7 100644
--- a/modules/ims_qos/rx_authdata.h
+++ b/modules/ims_qos/rx_authdata.h
@@ -52,7 +52,7 @@
extern struct tm_binds tmb;
extern struct cdp_binds cdpb;
-extern struct dlg_binds dlgb;
+extern ims_dlg_api_t dlgb;
enum dialog_direction {
DLG_MOBILE_ORIGINATING = 1,