[Freeswitch-trunk] [commit] r12717 - freeswitch/trunk/src/mod/languages/mod_lua

FreeSWITCH SVN anthm at freeswitch.org
Sun Mar 22 14:19:25 PDT 2009


Author: anthm
Date: Sun Mar 22 16:19:25 2009
New Revision: 12717

Log:
update

Modified:
   freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.cpp

Modified: freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.cpp
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.cpp	(original)
+++ freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.cpp	Sun Mar 22 16:19:25 2009
@@ -134,7 +134,7 @@
 static switch_status_t lua_hanguphook(switch_core_session_t *session_hungup)
 {
 	switch_channel_t *channel = switch_core_session_get_channel(session_hungup);
-	CoreSession *coresession = NULL;
+	Session *coresession = NULL;
 	switch_channel_state_t state = switch_channel_get_state(channel);
 
 	if (session_hungup) {
@@ -142,7 +142,7 @@
 		channel = switch_core_session_get_channel(session_hungup);
 
 		if (channel) {
-			coresession = (CoreSession *) switch_channel_get_private(channel, "CoreSession");
+			coresession = (Session *) switch_channel_get_private(channel, "CoreSession");
 		}
 		
 		if (!(coresession && coresession->hook_state)) {



More information about the Freeswitch-trunk mailing list