2
0
Эх сурвалжийг харах

misc_radius: replace STR_PARAM with PARAM_STRING

Alekzander Spiridonov 11 жил өмнө
parent
commit
3230d3de3c

+ 5 - 5
modules/misc_radius/misc_radius.c

@@ -109,15 +109,15 @@ static cmd_export_t cmds[] = {
  * Exported parameters
  * Exported parameters
  */
  */
 static param_export_t params[] = {
 static param_export_t params[] = {
-    {"radius_config",       STR_PARAM, &radius_config      },
+    {"radius_config",       PARAM_STRING, &radius_config      },
     {"caller_service_type", INT_PARAM, &caller_service_type},
     {"caller_service_type", INT_PARAM, &caller_service_type},
     {"callee_service_type", INT_PARAM, &callee_service_type},
     {"callee_service_type", INT_PARAM, &callee_service_type},
     {"group_service_type",  INT_PARAM, &group_service_type },
     {"group_service_type",  INT_PARAM, &group_service_type },
     {"uri_service_type",    INT_PARAM, &uri_service_type   },
     {"uri_service_type",    INT_PARAM, &uri_service_type   },
-    {"caller_extra",        STR_PARAM, &caller_extra_str   },
-    {"callee_extra",        STR_PARAM, &callee_extra_str   },
-    {"group_extra",         STR_PARAM, &group_extra_str    },
-    {"uri_extra",           STR_PARAM, &uri_extra_str      },
+    {"caller_extra",        PARAM_STRING, &caller_extra_str   },
+    {"callee_extra",        PARAM_STRING, &callee_extra_str   },
+    {"group_extra",         PARAM_STRING, &group_extra_str    },
+    {"uri_extra",           PARAM_STRING, &uri_extra_str      },
     {"use_sip_uri_host",    INT_PARAM, &use_sip_uri_host   },
     {"use_sip_uri_host",    INT_PARAM, &use_sip_uri_host   },
     {"common_response",     INT_PARAM, &common_response    },
     {"common_response",     INT_PARAM, &common_response    },
     {0, 0, 0}
     {0, 0, 0}