]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
punt
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 10 Oct 2008 19:28:07 +0000 (19:28 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 10 Oct 2008 19:28:07 +0000 (19:28 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9942 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 41e4e89e717f6149a67e4f0a37262dc5e952589b..f93d456eaba346f862368625b616c0b11012cfd5 100644 (file)
@@ -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));