[Freeswitch-svn] [commit] r10516 - freeswitch/trunk/src/mod/applications/mod_dptools

FreeSWITCH SVN mikej at freeswitch.org
Fri Nov 21 20:37:36 PST 2008


Author: mikej
Date: Fri Nov 21 23:37:36 2008
New Revision: 10516

Log:
minor simplification

Modified:
   freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c

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	Fri Nov 21 23:37:36 2008
@@ -1628,7 +1628,7 @@
 			*mdata++ = '\0';
 		}
 		
-		lang = switch_channel_get_variable(switch_core_session_get_channel(session), "language");
+		lang = switch_channel_get_variable(channel, "language");
 
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Execute %s(%s) lang %s\n", macro, switch_str_nil(mdata), switch_str_nil(lang));
 



More information about the Freeswitch-svn mailing list