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

Freeswitch SVN mikej at freeswitch.org
Wed Oct 25 13:00:57 EDT 2006


Author: mikej
Date: Wed Oct 25 13:00:57 2006
New Revision: 3200

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

Log:
only need realm on auth

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Wed Oct 25 13:00:57 2006
@@ -3927,12 +3927,13 @@
 				}
 			}
 		}
-	}
 
-	if (!(scheme && realm)) {
-		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "No scheme and realm!\n");
-		return;
+		if (!(scheme && realm)) {
+			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "No scheme and realm!\n");
+			return;
+		}
 	}
+
 
 	if (sofia_private) {
 		if (sofia_private->oreg) {



More information about the Freeswitch-svn mailing list