@@ -372,7 +372,7 @@ static int pv_get_rtpstat_f(struct sip_msg *, pv_param_t *, pv_value_t *);
372
372
static int pv_get_rtpquery_f (struct sip_msg * , pv_param_t * , pv_value_t * );
373
373
374
374
/*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 ,
376
376
struct mi_handler * async_hdl );
377
377
static mi_response_t * mi_show_rtpengines (const mi_params_t * params ,
378
378
struct mi_handler * async_hdl );
@@ -757,8 +757,8 @@ static const param_export_t params[] = {
757
757
758
758
static const mi_export_t mi_cmds [] = {
759
759
{ 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 }},
762
762
{EMPTY_MI_RECIPE }}
763
763
},
764
764
{ MI_SHOW_RTP_ENGINES , 0 , 0 , 0 , {
@@ -1167,7 +1167,7 @@ static int rtpengine_add_rtpengine_set( char * rtp_proxies, int set_id)
1167
1167
for (;* rtp_proxies && isspace (* rtp_proxies );rtp_proxies ++ );
1168
1168
1169
1169
if (!(* rtp_proxies )){
1170
- LM_ERR ("script error -empty rtp_proxy list\n" );
1170
+ LM_ERR ("script error -empty rtpengine list\n" );
1171
1171
return -1 ;;
1172
1172
}
1173
1173
@@ -1252,7 +1252,7 @@ static int fixup_free_set_id(void **param)
1252
1252
return 0 ;
1253
1253
}
1254
1254
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 ,
1256
1256
struct mi_handler * async_hdl )
1257
1257
{
1258
1258
str rtpe_url ;
0 commit comments