switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_ERROR," No MG configuration found against profilename[%s]\n",profilename);
if(!mg_peer){
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_ERROR," No MG peer configuration found for peername[%s] against profilename[%s]\n",mg_cfg->peer_list[0],mg_cfg->name);
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_ERROR," No MG peer configuration found for peername[%s] against profilename[%s]\n",mg_cfg->peer_list[0],profilename);
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_ERROR," No MG peer configuration found for peername[%s] against profilename[%s]\n",mg_cfg->peer_list[0],mg_cfg->name);
returnSWITCH_STATUS_FALSE;
returnSWITCH_STATUS_FALSE;
}
}
...
@@ -137,7 +195,6 @@ switch_status_t megaco_profile_xmlstatus(switch_stream_handle_t *stream, const c
...
@@ -137,7 +195,6 @@ switch_status_t megaco_profile_xmlstatus(switch_stream_handle_t *stream, const c
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_ERROR," No MG peer configuration found for peername[%s] against profilename[%s]\n",mg_cfg->peer_list[0],profilename);
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_ERROR," No MG peer configuration found for peername[%s] against profilename[%s]\n",mg_cfg->peer_list[0],mg_cfg->name);