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

Freeswitch SVN anthm at freeswitch.org
Fri Jun 8 19:05:13 EDT 2007


Author: anthm
Date: Fri Jun  8 19:05:12 2007
New Revision: 5298

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

Log:
doh

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 Jun  8 19:05:12 2007
@@ -1763,6 +1763,7 @@
 			}
 			return;
 		}
+		switch_channel_set_variable(channel, "sip_authorized", "true");
 	}
 	
 	if (!(session = switch_core_session_request(&sofia_endpoint_interface, NULL))) {
@@ -1786,7 +1787,8 @@
 	get_addr(network_ip, sizeof(network_ip), &((struct sockaddr_in *) msg_addrinfo(nua_current_request(nua))->ai_addr)->sin_addr);
 
 	channel = switch_core_session_get_channel(session);
-	switch_channel_set_variable(channel, "sip_authorized", "true");
+
+
 
 
 	if (v_event) {



More information about the Freeswitch-svn mailing list