Module: kamailio
Branch: master
Commit: 6a633ef3dfdee015f3ea8f0b071ffb38a80a69f9
URL:
https://github.com/kamailio/kamailio/commit/6a633ef3dfdee015f3ea8f0b071ffb3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-06-13T10:28:37+02:00
dialog: fixed return type for kemi exports for var rm and is-null
---
Modified: src/modules/dialog/dialog.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6a633ef3dfdee015f3ea8f0b071ffb3…
Patch:
https://github.com/kamailio/kamailio/commit/6a633ef3dfdee015f3ea8f0b071ffb3…
---
diff --git a/src/modules/dialog/dialog.c b/src/modules/dialog/dialog.c
index 34d243a3f1..b8b68434b7 100644
--- a/src/modules/dialog/dialog.c
+++ b/src/modules/dialog/dialog.c
@@ -2085,12 +2085,12 @@ static sr_kemi_t sr_kemi_dialog_exports[] = {
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
{ str_init("dialog"), str_init("var_rm"),
- SR_KEMIP_XVAL, ki_dlg_var_rm,
+ SR_KEMIP_INT, ki_dlg_var_rm,
{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},
{ str_init("dialog"), str_init("var_is_null"),
- SR_KEMIP_XVAL, ki_dlg_var_is_null,
+ SR_KEMIP_INT, ki_dlg_var_is_null,
{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
},