do not print this debug info unless the profile is in debug mode
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11440 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
33a3bcf56c
commit
4ef999c963
|
@ -192,7 +192,9 @@ void sofia_handle_sip_i_notify(switch_core_session_t *session, int status,
|
|||
}
|
||||
|
||||
if (!sofia_private || !sofia_private->gateway) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Gateway information missing Subscription Event: %s\n", sip->sip_event->o_type);
|
||||
if (profile->debug) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Gateway information missing Subscription Event: %s\n", sip->sip_event->o_type);
|
||||
}
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue