mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 07:04:17 +00:00
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:
1 parent
e5233533b3
commit
ce07c5b233
6 files changed
+992
-986
No files matched your search
@@ -227,7 +227,7 @@ namespace FreeSWITCH
|
||||
if (fType == null) return false;
|
||||
|
||||
using (var session = new Native.MonoSession(new Native.SWIGTYPE_p_switch_core_session(sessionHandle, false))) {
|
||||
session.setAutoHangup(false);
|
||||
session.SetAutoHangup(false);
|
||||
try {
|
||||
var f = (AppFunction)Activator.CreateInstance(fType);
|
||||
f.RunInternal(session, args);
|
||||
|
||||
@@ -157,13 +157,13 @@ public class CoreSession : IDisposable {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public int speak(string text) {
|
||||
int ret = freeswitchPINVOKE.CoreSession_speak(swigCPtr, text);
|
||||
public int Speak(string text) {
|
||||
int ret = freeswitchPINVOKE.CoreSession_Speak(swigCPtr, text);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public void set_tts_parms(string tts_name, string voice_name) {
|
||||
freeswitchPINVOKE.CoreSession_set_tts_parms(swigCPtr, tts_name, voice_name);
|
||||
public void SetTtsParameters(string tts_name, string voice_name) {
|
||||
freeswitchPINVOKE.CoreSession_SetTtsParameters(swigCPtr, tts_name, voice_name);
|
||||
}
|
||||
|
||||
public int CollectDigits(int timeout) {
|
||||
@@ -206,8 +206,8 @@ public class CoreSession : IDisposable {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public int setAutoHangup(bool val) {
|
||||
int ret = freeswitchPINVOKE.CoreSession_setAutoHangup(swigCPtr, val);
|
||||
public int SetAutoHangup(bool val) {
|
||||
int ret = freeswitchPINVOKE.CoreSession_SetAutoHangup(swigCPtr, val);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user