[Freeswitch-branches] [commit] r11363 - freeswitch/branches/1.0/src/mod/endpoints/mod_sofia

FreeSWITCH SVN mikej at freeswitch.org
Thu Jan 22 10:17:41 PST 2009


Author: mikej
Date: Thu Jan 22 12:17:41 2009
New Revision: 11363

Log:
mod_sofia: improve outbound registration error message (r:11059)

Modified:
   freeswitch/branches/1.0/src/mod/endpoints/mod_sofia/sofia_reg.c

Modified: freeswitch/branches/1.0/src/mod/endpoints/mod_sofia/sofia_reg.c
==============================================================================
--- freeswitch/branches/1.0/src/mod/endpoints/mod_sofia/sofia_reg.c	(original)
+++ freeswitch/branches/1.0/src/mod/endpoints/mod_sofia/sofia_reg.c	Thu Jan 22 12:17:41 2009
@@ -1252,8 +1252,8 @@
 			break;
 		default:
 			sofia_private->gateway->state = REG_STATE_FAILED;
-			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%s Registration Failed with status %d. failure #%d\n", 
-							  sofia_private->gateway->name, status, ++sofia_private->gateway->failures);
+			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%s Registration Failed with status %s [%d]. failure #%d\n", 
+							  sofia_private->gateway->name, switch_str_nil(phrase), status, ++sofia_private->gateway->failures);
 			break;
 		}
 		if (ostate != sofia_private->gateway->state) {



More information about the Freeswitch-branches mailing list