Skip to content

Commit 73ab11a

Browse files
Merge pull request #3586 from NormB/fix_duplicate_mi_enable_rtp_proxy
Fix duplicate mi_enable_rtp_proxy function name
2 parents 26e8cac + 471c5e9 commit 73ab11a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/rtpengine/rtpengine.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ static int pv_get_rtpstat_f(struct sip_msg *, pv_param_t *, pv_value_t *);
372372
static int pv_get_rtpquery_f(struct sip_msg *, pv_param_t *, pv_value_t *);
373373

374374
/*mi commands*/
375-
static mi_response_t *mi_enable_rtp_proxy(const mi_params_t *params,
375+
static mi_response_t *mi_enable_rtpengine(const mi_params_t *params,
376376
struct mi_handler *async_hdl);
377377
static mi_response_t *mi_show_rtpengines(const mi_params_t *params,
378378
struct mi_handler *async_hdl);
@@ -757,8 +757,8 @@ static const param_export_t params[] = {
757757

758758
static const mi_export_t mi_cmds[] = {
759759
{ MI_ENABLE_RTP_ENGINE, 0, 0, 0, {
760-
{mi_enable_rtp_proxy, {"url", "enable", 0}},
761-
{mi_enable_rtp_proxy, {"url", "enable", "setid", 0}},
760+
{mi_enable_rtpengine, {"url", "enable", 0}},
761+
{mi_enable_rtpengine, {"url", "enable", "setid", 0}},
762762
{EMPTY_MI_RECIPE}}
763763
},
764764
{ MI_SHOW_RTP_ENGINES, 0, 0, 0, {
@@ -1167,7 +1167,7 @@ static int rtpengine_add_rtpengine_set( char * rtp_proxies, int set_id)
11671167
for(;*rtp_proxies && isspace(*rtp_proxies);rtp_proxies++);
11681168

11691169
if(!(*rtp_proxies)){
1170-
LM_ERR("script error -empty rtp_proxy list\n");
1170+
LM_ERR("script error -empty rtpengine list\n");
11711171
return -1;;
11721172
}
11731173

@@ -1252,7 +1252,7 @@ static int fixup_free_set_id(void **param)
12521252
return 0;
12531253
}
12541254

1255-
static mi_response_t *mi_enable_rtp_proxy(const mi_params_t *params,
1255+
static mi_response_t *mi_enable_rtpengine(const mi_params_t *params,
12561256
struct mi_handler *async_hdl)
12571257
{
12581258
str rtpe_url;

0 commit comments

Comments
 (0)