[Freeswitch-trunk] [commit] r6641 - in freeswitch/trunk/src/mod: applications/mod_dptools endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Tue Dec 11 10:38:07 EST 2007


Author: anthm
Date: Tue Dec 11 10:38:07 2007
New Revision: 6641

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

Log:
change var name

Modified: freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	Tue Dec 11 10:38:07 2007
@@ -1507,7 +1507,7 @@
 
 			new_channel = switch_core_session_get_channel(*new_session);
 			
-			if ((context = switch_channel_get_variable(new_channel, "inbound_context"))) {
+			if ((context = switch_channel_get_variable(new_channel, "user_context"))) {
 				if ((cp = switch_channel_get_caller_profile(new_channel))) {
 					cp->context = switch_core_strdup(cp->pool, context);
 				}

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	Tue Dec 11 10:38:07 2007
@@ -2053,7 +2053,7 @@
 	}
 
 	if (!context) {
-		context = switch_channel_get_variable(channel, "inbound_context");
+		context = switch_channel_get_variable(channel, "user_context");
 	}
 
 	if (!context) {



More information about the Freeswitch-trunk mailing list