diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 5d7691c68a..7576929edb 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -38,6 +38,7 @@ #undef PACKAGE_BUGREPORT #undef VERSION #undef PACKAGE +#undef inline #include #include @@ -219,7 +220,7 @@ static switch_status_t ice_out(switch_rtp_t *rtp_session) elapsed = (unsigned int)((switch_time_now() - rtp_session->last_stun) / 1000); if (elapsed > 30000) { - switch_log_printf(SWITCH_CHANNEL_LOG, 3, "No stun for a long time (PUNT!)\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%s", "No stun for a long time (PUNT!)\n"); return SWITCH_STATUS_FALSE; } }