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

Freeswitch SVN anthm at freeswitch.org
Thu Mar 6 20:46:07 EST 2008


Author: anthm
Date: Thu Mar  6 20:46:07 2008
New Revision: 7806

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

Log:
update

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	Thu Mar  6 20:46:07 2008
@@ -1428,6 +1428,7 @@
 					msg.pointer_arg_size = strlen(r_sdp);
 				}
 				if (switch_core_session_receive_message(other_session, &msg) != SWITCH_STATUS_SUCCESS) {
+					switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Other leg is not available\n");
 					nua_respond(tech_pvt->nh, 488, "Hangup in progress", TAG_END());
 				}
 				switch_core_session_rwunlock(other_session);
@@ -1771,6 +1772,7 @@
 						msg.string_arg = (char *) r_sdp;
 						switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Passing SDP to other leg.\n%s\n", r_sdp);
 						if (switch_core_session_receive_message(other_session, &msg) != SWITCH_STATUS_SUCCESS) {
+							switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Other leg is not available\n");
 							nua_respond(tech_pvt->nh, 488, "Hangup in progress", TAG_END());
 						}					
 						switch_core_session_rwunlock(other_session);



More information about the Freeswitch-svn mailing list