From: Anthony Minessale Date: Fri, 10 Oct 2008 19:28:07 +0000 (+0000) Subject: punt X-Git-Tag: v1.0.2~864 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29cf76e749b35c39d63144d1c8a7f029e9022e0e;p=thirdparty%2Ffreeswitch.git punt git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9942 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 41e4e89e71..f93d456eab 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2228,7 +2228,9 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status, channel = switch_core_session_get_channel(session); tech_pvt = switch_core_session_get_private(session); switch_assert(tech_pvt != NULL); - switch_assert(tech_pvt->nh != NULL); + if (!tech_pvt->nh) { + goto done; + } switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Channel %s entering state [%s]\n", switch_channel_get_name(channel), nua_callstate_name(ss_state));