Module: kamailio
Branch: master
Commit: 320af48dffaa3c9b2c266ad9f68233e3cf48f9f0
URL:
https://github.com/kamailio/kamailio/commit/320af48dffaa3c9b2c266ad9f68233e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-26T15:30:51+02:00
dialog: export new itermodule api functions
- get duplicate var value and status
---
Modified: src/modules/dialog/dialog.c
Modified: src/modules/dialog/dlg_load.h
---
Diff:
https://github.com/kamailio/kamailio/commit/320af48dffaa3c9b2c266ad9f68233e…
Patch:
https://github.com/kamailio/kamailio/commit/320af48dffaa3c9b2c266ad9f68233e…
---
diff --git a/src/modules/dialog/dialog.c b/src/modules/dialog/dialog.c
index 2a7fd39948..7fa6bd57c6 100644
--- a/src/modules/dialog/dialog.c
+++ b/src/modules/dialog/dialog.c
@@ -483,6 +483,8 @@ int load_dlg( struct dlg_binds *dlgb )
dlgb->set_dlg_var = set_dlg_variable;
dlgb->get_dlg_varref = get_dlg_varref;
dlgb->get_dlg_varval = get_dlg_varval;
+ dlgb->get_dlg_vardup = get_dlg_vardup;
+ dlgb->get_dlg_varstatus = get_dlg_varstatus;
dlgb->get_dlg = dlg_get_msg_dialog;
dlgb->release_dlg = dlg_release;
return 1;
diff --git a/src/modules/dialog/dlg_load.h b/src/modules/dialog/dlg_load.h
index 16fb568ef3..69d78e1ee2 100644
--- a/src/modules/dialog/dlg_load.h
+++ b/src/modules/dialog/dlg_load.h
@@ -43,14 +43,15 @@ typedef struct dlg_cell *(*get_dlg_f)(struct sip_msg *msg);
typedef void (*release_dlg_f)(struct dlg_cell *dlg);
struct dlg_binds {
- register_dlgcb_f register_dlgcb;
- terminate_dlg_f terminate_dlg;
- set_dlg_variable_f set_dlg_var;
- get_dlg_varref_f get_dlg_varref;
- get_dlg_varval_f get_dlg_varval;
- get_dlg_vardup_f get_dlg_vardup;
- get_dlg_f get_dlg;
- release_dlg_f release_dlg;
+ register_dlgcb_f register_dlgcb;
+ terminate_dlg_f terminate_dlg;
+ set_dlg_variable_f set_dlg_var;
+ get_dlg_varref_f get_dlg_varref;
+ get_dlg_varval_f get_dlg_varval;
+ get_dlg_vardup_f get_dlg_vardup;
+ get_dlg_varstatus_f get_dlg_varstatus;
+ get_dlg_f get_dlg;
+ release_dlg_f release_dlg;
};