Rename setAutoHangup. Remove CoreSession channelvar in MonoSession destructor.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8790 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Giagnocavo committed 2008-06-09 16:55:51 +00:00
1 parent e5233533b3
commit ce07c5b233
6 files changed
+992 -986

No files matched your search

+4
View File
@@ -74,6 +74,10 @@
%rename (GetUuid) CoreSession::get_uuid;
%rename (HookState) CoreSession::hook_state;
%rename (InternalSession) CoreSession::session;
%rename (Speak) CoreSession::speak;
%rename (SetTtsParameters) CoreSession::set_tts_parms;
%rename (SetAutoHangup) CoreSession::setAutoHangup;
%rename (Serialize) Event::serialize;
%rename (SetPriority) Event::setPriority;
@@ -74,6 +74,8 @@ MonoSession::~MonoSession()
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
setAutoHangup(0);
}
// Don't let any callbacks use this CoreSession anymore
switch_channel_set_private(channel, "CoreSession", NULL);
}
}
+1 -1
View File
@@ -64,7 +64,7 @@ public:
MonoSession();
MonoSession(char *uuid);
MonoSession(switch_core_session_t *session);
~MonoSession();
virtual ~MonoSession();
virtual bool begin_allow_threads();
virtual bool end_allow_threads();