[sr-dev] git:master:be94ca47: dialog_ng: corrected PARAM_STR to PARAM_STRING (partial revert from 2d6d34b21320b269c6eceb5a44c5c91eb44740fc)

Carsten Bock carsten at ng-voice.com
Tue Mar 3 23:21:29 CET 2015


Module: kamailio
Branch: master
Commit: be94ca47bb1d8f214591b7139687c8a317f0dae5
URL: https://github.com/kamailio/kamailio/commit/be94ca47bb1d8f214591b7139687c8a317f0dae5

Author: Carsten Bock <carsten at ng-voice.com>
Committer: Carsten Bock <carsten at ng-voice.com>
Date: 2015-03-03T23:20:01+01:00

dialog_ng: corrected PARAM_STR to PARAM_STRING (partial revert from 2d6d34b21320b269c6eceb5a44c5c91eb44740fc)

PARAM_STRING is correct in some cases.

---

Modified: modules/dialog_ng/dialog.c

---

Diff:  https://github.com/kamailio/kamailio/commit/be94ca47bb1d8f214591b7139687c8a317f0dae5.diff
Patch: https://github.com/kamailio/kamailio/commit/be94ca47bb1d8f214591b7139687c8a317f0dae5.patch

---

diff --git a/modules/dialog_ng/dialog.c b/modules/dialog_ng/dialog.c
index 1724a60..412ef71 100644
--- a/modules/dialog_ng/dialog.c
+++ b/modules/dialog_ng/dialog.c
@@ -126,7 +126,7 @@ static cmd_export_t cmds[] = {
 
 static param_export_t mod_params[] = {
     { "hash_size", INT_PARAM, &dlg_hash_size},
-    { "rr_param", PARAM_STR, &rr_param},
+    { "rr_param", PARAM_STRING, &rr_param},
     { "dlg_flag", INT_PARAM, &dlg_flag},
     { "timeout_avp", PARAM_STR, &timeout_spec},
     { "default_timeout", INT_PARAM, &default_timeout},
@@ -140,8 +140,8 @@ static param_export_t mod_params[] = {
     { "db_fetch_rows",		INT_PARAM, &db_fetch_rows			}
     ,
     { "detect_spirals",		INT_PARAM, &detect_spirals			},
-    { "profiles_with_value",PARAM_STR, &profiles_wv_s			},
-    { "profiles_no_value",	PARAM_STR, &profiles_nv_s			},
+    { "profiles_with_value",PARAM_STRING, &profiles_wv_s			},
+    { "profiles_no_value",	PARAM_STRING, &profiles_nv_s			},
     { "bridge_controller",	PARAM_STR, &dlg_bridge_controller	},
     { "ruri_pvar",			PARAM_STR, &ruri_pvar_param		},
 




More information about the sr-dev mailing list