switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_NOTICE,"Erlang communication fault with node %p %s (%s:%d): socket closed or I/O error\n",(void*)ei_node,ei_node->peer_nodename,ei_node->remote_ip,ei_node->remote_port);
switch_clear_flag(ei_node,LFLAG_RUNNING);
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_NOTICE,"Erlang communication fault with node %p %s (%s:%d): socket closed or I/O error [fault count %d]\n",(void*)ei_node,ei_node->peer_nodename,ei_node->remote_ip,ei_node->remote_port,++fault_count);
if(fault_count>=globals.io_fault_tolerance){
switch_clear_flag(ei_node,LFLAG_RUNNING);
}
break;
default:
/* OH NOS! something has gone horribly wrong, shutdown the connection if status set by ei_xreceive_msg_tmo is less than or equal to 0 */