diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 827a305cc9..6100766b41 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -3465,8 +3465,6 @@ static int broadsoft_sla_gather_state_callback(void *pArg, int argc, char **argv callee_name = "unknown"; } - //callee_number = "666"; - if (data) { tmp = switch_core_sprintf(sh->pool, "%s,;%s;appearance-state=%s;appearance-uri=\"\\\"%s\\\" \"", diff --git a/src/switch_core.c b/src/switch_core.c index d38f3d1a92..606ccb59be 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -2795,7 +2795,6 @@ SWITCH_DECLARE(int32_t) switch_core_session_ctl(switch_session_ctl_t cmd, void * switch_set_flag((&runtime), SCF_RESTART); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Restarting\n"); } else { - assert(0); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Shutting down\n"); #ifdef _MSC_VER fclose(stdin);