[Freeswitch-svn] [commit] r9942 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Fri Oct 10 15:28:08 EDT 2008


Author: anthm
Date: Fri Oct 10 15:28:07 2008
New Revision: 9942

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Log:
punt

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Fri Oct 10 15:28:07 2008
@@ -2228,7 +2228,9 @@
 		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));



More information about the Freeswitch-svn mailing list