Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
452a4c1b
提交
452a4c1b
authored
4月 27, 2015
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
swigall
上级
3058709a
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
39 个修改的文件
包含
93509 行增加
和
4520 行删除
+93509
-4520
API.java
src/mod/languages/mod_java/src/org/freeswitch/swig/API.java
+6
-6
CoreSession.java
...nguages/mod_java/src/org/freeswitch/swig/CoreSession.java
+73
-73
DTMF.java
src/mod/languages/mod_java/src/org/freeswitch/swig/DTMF.java
+6
-6
Event.java
...mod/languages/mod_java/src/org/freeswitch/swig/Event.java
+19
-19
EventConsumer.java
...uages/mod_java/src/org/freeswitch/swig/EventConsumer.java
+19
-19
IVRMenu.java
...d/languages/mod_java/src/org/freeswitch/swig/IVRMenu.java
+5
-5
JavaSession.java
...nguages/mod_java/src/org/freeswitch/swig/JavaSession.java
+9
-9
SWIGTYPE_p_JavaVM.java
...s/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_JavaVM.java
+1
-1
SWIGTYPE_p_int.java
...ages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_int.java
+1
-1
SWIGTYPE_p_p_switch_event_node_t.java
...org/freeswitch/swig/SWIGTYPE_p_p_switch_event_node_t.java
+1
-1
SWIGTYPE_p_switch_call_cause_t.java
...c/org/freeswitch/swig/SWIGTYPE_p_switch_call_cause_t.java
+1
-1
SWIGTYPE_p_switch_channel_state_t.java
...rg/freeswitch/swig/SWIGTYPE_p_switch_channel_state_t.java
+1
-1
SWIGTYPE_p_switch_channel_t.java
.../src/org/freeswitch/swig/SWIGTYPE_p_switch_channel_t.java
+1
-1
SWIGTYPE_p_switch_core_session_t.java
...org/freeswitch/swig/SWIGTYPE_p_switch_core_session_t.java
+1
-1
SWIGTYPE_p_switch_event_t.java
...va/src/org/freeswitch/swig/SWIGTYPE_p_switch_event_t.java
+1
-1
SWIGTYPE_p_switch_event_types_t.java
.../org/freeswitch/swig/SWIGTYPE_p_switch_event_types_t.java
+1
-1
SWIGTYPE_p_switch_input_args_t.java
...c/org/freeswitch/swig/SWIGTYPE_p_switch_input_args_t.java
+1
-1
SWIGTYPE_p_switch_input_type_t.java
...c/org/freeswitch/swig/SWIGTYPE_p_switch_input_type_t.java
+1
-1
SWIGTYPE_p_switch_priority_t.java
...src/org/freeswitch/swig/SWIGTYPE_p_switch_priority_t.java
+1
-1
SWIGTYPE_p_switch_queue_t.java
...va/src/org/freeswitch/swig/SWIGTYPE_p_switch_queue_t.java
+1
-1
SWIGTYPE_p_switch_state_handler_table_t.java
...eswitch/swig/SWIGTYPE_p_switch_state_handler_table_t.java
+1
-1
SWIGTYPE_p_switch_status_t.java
...a/src/org/freeswitch/swig/SWIGTYPE_p_switch_status_t.java
+1
-1
SWIGTYPE_p_switch_stream_handle_t.java
...rg/freeswitch/swig/SWIGTYPE_p_switch_stream_handle_t.java
+1
-1
SWIGTYPE_p_uint32_t.java
...mod_java/src/org/freeswitch/swig/SWIGTYPE_p_uint32_t.java
+1
-1
SWIGTYPE_p_void.java
...ges/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_void.java
+1
-1
Stream.java
...od/languages/mod_java/src/org/freeswitch/swig/Stream.java
+6
-6
freeswitch.java
...anguages/mod_java/src/org/freeswitch/swig/freeswitch.java
+2
-2
freeswitchJNI.java
...uages/mod_java/src/org/freeswitch/swig/freeswitchJNI.java
+137
-137
input_callback_state_t.java
..._java/src/org/freeswitch/swig/input_callback_state_t.java
+10
-10
session_flag_t.java
...ages/mod_java/src/org/freeswitch/swig/session_flag_t.java
+4
-1
switch_swig_wrap.cpp
src/mod/languages/mod_java/switch_swig_wrap.cpp
+498
-344
mod_lua_wrap.cpp
src/mod/languages/mod_lua/mod_lua_wrap.cpp
+2982
-1647
freeswitch_wrap.cxx
src/mod/languages/mod_managed/freeswitch_wrap.cxx
+45121
-0
swig.cs
src/mod/languages/mod_managed/managed/swig.cs
+40840
-0
freeswitch.pm
src/mod/languages/mod_perl/freeswitch.pm
+4
-1
mod_perl_wrap.cpp
src/mod/languages/mod_perl/mod_perl_wrap.cpp
+384
-277
freeswitch.py
src/mod/languages/mod_python/freeswitch.py
+40
-34
mod_python_wrap.cpp
src/mod/languages/mod_python/mod_python_wrap.cpp
+345
-266
mod_lua_wrap.cpp
src/mod/legacy/languages/mod_lua/mod_lua_wrap.cpp
+2981
-1640
没有找到文件。
src/mod/languages/mod_java/src/org/freeswitch/swig/API.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
@@ -25,7 +25,7 @@ public class API {
delete
();
}
public
void
delete
()
{
public
synchronized
void
delete
()
{
if
(
swigCPtr
!=
0
&&
swigCMemOwn
)
{
swigCMemOwn
=
false
;
freeswitchJNI
.
delete_API
(
swigCPtr
);
...
...
@@ -34,19 +34,19 @@ public class API {
}
public
API
(
CoreSession
s
)
{
this
(
freeswitchJNI
.
new_API
(
CoreSession
.
getCPtr
(
s
)),
true
);
this
(
freeswitchJNI
.
new_API
(
CoreSession
.
getCPtr
(
s
)
,
s
),
true
);
}
public
String
execute
(
String
command
,
String
data
)
{
return
freeswitchJNI
.
API_execute
(
swigCPtr
,
command
,
data
);
return
freeswitchJNI
.
API_execute
(
swigCPtr
,
this
,
command
,
data
);
}
public
String
executeString
(
String
command
)
{
return
freeswitchJNI
.
API_executeString
(
swigCPtr
,
command
);
return
freeswitchJNI
.
API_executeString
(
swigCPtr
,
this
,
command
);
}
public
String
getTime
()
{
return
freeswitchJNI
.
API_getTime
(
swigCPtr
);
return
freeswitchJNI
.
API_getTime
(
swigCPtr
,
this
);
}
}
src/mod/languages/mod_java/src/org/freeswitch/swig/CoreSession.java
浏览文件 @
452a4c1b
差异被折叠。
点击展开。
src/mod/languages/mod_java/src/org/freeswitch/swig/DTMF.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
@@ -25,7 +25,7 @@ public class DTMF {
delete
();
}
public
void
delete
()
{
public
synchronized
void
delete
()
{
if
(
swigCPtr
!=
0
&&
swigCMemOwn
)
{
swigCMemOwn
=
false
;
freeswitchJNI
.
delete_DTMF
(
swigCPtr
);
...
...
@@ -34,19 +34,19 @@ public class DTMF {
}
public
void
setDigit
(
char
value
)
{
freeswitchJNI
.
DTMF_digit_set
(
swigCPtr
,
value
);
freeswitchJNI
.
DTMF_digit_set
(
swigCPtr
,
this
,
value
);
}
public
char
getDigit
()
{
return
freeswitchJNI
.
DTMF_digit_get
(
swigCPtr
);
return
freeswitchJNI
.
DTMF_digit_get
(
swigCPtr
,
this
);
}
public
void
setDuration
(
SWIGTYPE_p_uint32_t
value
)
{
freeswitchJNI
.
DTMF_duration_set
(
swigCPtr
,
SWIGTYPE_p_uint32_t
.
getCPtr
(
value
));
freeswitchJNI
.
DTMF_duration_set
(
swigCPtr
,
this
,
SWIGTYPE_p_uint32_t
.
getCPtr
(
value
));
}
public
SWIGTYPE_p_uint32_t
getDuration
()
{
return
new
SWIGTYPE_p_uint32_t
(
freeswitchJNI
.
DTMF_duration_get
(
swigCPtr
),
true
);
return
new
SWIGTYPE_p_uint32_t
(
freeswitchJNI
.
DTMF_duration_get
(
swigCPtr
,
this
),
true
);
}
public
DTMF
(
char
idigit
,
SWIGTYPE_p_uint32_t
iduration
)
{
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/Event.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
@@ -25,7 +25,7 @@ public class Event {
delete
();
}
public
void
delete
()
{
public
synchronized
void
delete
()
{
if
(
swigCPtr
!=
0
&&
swigCMemOwn
)
{
swigCMemOwn
=
false
;
freeswitchJNI
.
delete_Event
(
swigCPtr
);
...
...
@@ -34,28 +34,28 @@ public class Event {
}
public
void
setEvent
(
SWIGTYPE_p_switch_event_t
value
)
{
freeswitchJNI
.
Event_event_set
(
swigCPtr
,
SWIGTYPE_p_switch_event_t
.
getCPtr
(
value
));
freeswitchJNI
.
Event_event_set
(
swigCPtr
,
this
,
SWIGTYPE_p_switch_event_t
.
getCPtr
(
value
));
}
public
SWIGTYPE_p_switch_event_t
getEvent
()
{
long
cPtr
=
freeswitchJNI
.
Event_event_get
(
swigCPtr
);
long
cPtr
=
freeswitchJNI
.
Event_event_get
(
swigCPtr
,
this
);
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_switch_event_t
(
cPtr
,
false
);
}
public
void
setSerialized_string
(
String
value
)
{
freeswitchJNI
.
Event_serialized_string_set
(
swigCPtr
,
value
);
freeswitchJNI
.
Event_serialized_string_set
(
swigCPtr
,
this
,
value
);
}
public
String
getSerialized_string
()
{
return
freeswitchJNI
.
Event_serialized_string_get
(
swigCPtr
);
return
freeswitchJNI
.
Event_serialized_string_get
(
swigCPtr
,
this
);
}
public
void
setMine
(
int
value
)
{
freeswitchJNI
.
Event_mine_set
(
swigCPtr
,
value
);
freeswitchJNI
.
Event_mine_set
(
swigCPtr
,
this
,
value
);
}
public
int
getMine
()
{
return
freeswitchJNI
.
Event_mine_get
(
swigCPtr
);
return
freeswitchJNI
.
Event_mine_get
(
swigCPtr
,
this
);
}
public
Event
(
String
type
,
String
subclass_name
)
{
...
...
@@ -67,47 +67,47 @@ public class Event {
}
public
int
chat_execute
(
String
app
,
String
data
)
{
return
freeswitchJNI
.
Event_chat_execute
(
swigCPtr
,
app
,
data
);
return
freeswitchJNI
.
Event_chat_execute
(
swigCPtr
,
this
,
app
,
data
);
}
public
int
chat_send
(
String
dest_proto
)
{
return
freeswitchJNI
.
Event_chat_send
(
swigCPtr
,
dest_proto
);
return
freeswitchJNI
.
Event_chat_send
(
swigCPtr
,
this
,
dest_proto
);
}
public
String
serialize
(
String
format
)
{
return
freeswitchJNI
.
Event_serialize
(
swigCPtr
,
format
);
return
freeswitchJNI
.
Event_serialize
(
swigCPtr
,
this
,
format
);
}
public
boolean
setPriority
(
SWIGTYPE_p_switch_priority_t
priority
)
{
return
freeswitchJNI
.
Event_setPriority
(
swigCPtr
,
SWIGTYPE_p_switch_priority_t
.
getCPtr
(
priority
));
return
freeswitchJNI
.
Event_setPriority
(
swigCPtr
,
this
,
SWIGTYPE_p_switch_priority_t
.
getCPtr
(
priority
));
}
public
String
getHeader
(
String
header_name
)
{
return
freeswitchJNI
.
Event_getHeader
(
swigCPtr
,
header_name
);
return
freeswitchJNI
.
Event_getHeader
(
swigCPtr
,
this
,
header_name
);
}
public
String
getBody
()
{
return
freeswitchJNI
.
Event_getBody
(
swigCPtr
);
return
freeswitchJNI
.
Event_getBody
(
swigCPtr
,
this
);
}
public
String
getType
()
{
return
freeswitchJNI
.
Event_getType
(
swigCPtr
);
return
freeswitchJNI
.
Event_getType
(
swigCPtr
,
this
);
}
public
boolean
addBody
(
String
value
)
{
return
freeswitchJNI
.
Event_addBody
(
swigCPtr
,
value
);
return
freeswitchJNI
.
Event_addBody
(
swigCPtr
,
this
,
value
);
}
public
boolean
addHeader
(
String
header_name
,
String
value
)
{
return
freeswitchJNI
.
Event_addHeader
(
swigCPtr
,
header_name
,
value
);
return
freeswitchJNI
.
Event_addHeader
(
swigCPtr
,
this
,
header_name
,
value
);
}
public
boolean
delHeader
(
String
header_name
)
{
return
freeswitchJNI
.
Event_delHeader
(
swigCPtr
,
header_name
);
return
freeswitchJNI
.
Event_delHeader
(
swigCPtr
,
this
,
header_name
);
}
public
boolean
fire
()
{
return
freeswitchJNI
.
Event_fire
(
swigCPtr
);
return
freeswitchJNI
.
Event_fire
(
swigCPtr
,
this
);
}
}
src/mod/languages/mod_java/src/org/freeswitch/swig/EventConsumer.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
@@ -25,7 +25,7 @@ public class EventConsumer {
delete
();
}
public
void
delete
()
{
public
synchronized
void
delete
()
{
if
(
swigCPtr
!=
0
&&
swigCMemOwn
)
{
swigCMemOwn
=
false
;
freeswitchJNI
.
delete_EventConsumer
(
swigCPtr
);
...
...
@@ -34,61 +34,61 @@ public class EventConsumer {
}
public
void
setEvents
(
SWIGTYPE_p_switch_queue_t
value
)
{
freeswitchJNI
.
EventConsumer_events_set
(
swigCPtr
,
SWIGTYPE_p_switch_queue_t
.
getCPtr
(
value
));
freeswitchJNI
.
EventConsumer_events_set
(
swigCPtr
,
this
,
SWIGTYPE_p_switch_queue_t
.
getCPtr
(
value
));
}
public
SWIGTYPE_p_switch_queue_t
getEvents
()
{
long
cPtr
=
freeswitchJNI
.
EventConsumer_events_get
(
swigCPtr
);
long
cPtr
=
freeswitchJNI
.
EventConsumer_events_get
(
swigCPtr
,
this
);
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_switch_queue_t
(
cPtr
,
false
);
}
public
void
setE_event_id
(
SWIGTYPE_p_switch_event_types_t
value
)
{
freeswitchJNI
.
EventConsumer_e_event_id_set
(
swigCPtr
,
SWIGTYPE_p_switch_event_types_t
.
getCPtr
(
value
));
freeswitchJNI
.
EventConsumer_e_event_id_set
(
swigCPtr
,
this
,
SWIGTYPE_p_switch_event_types_t
.
getCPtr
(
value
));
}
public
SWIGTYPE_p_switch_event_types_t
getE_event_id
()
{
return
new
SWIGTYPE_p_switch_event_types_t
(
freeswitchJNI
.
EventConsumer_e_event_id_get
(
swigCPtr
),
true
);
return
new
SWIGTYPE_p_switch_event_types_t
(
freeswitchJNI
.
EventConsumer_e_event_id_get
(
swigCPtr
,
this
),
true
);
}
public
void
setE_callback
(
String
value
)
{
freeswitchJNI
.
EventConsumer_e_callback_set
(
swigCPtr
,
value
);
freeswitchJNI
.
EventConsumer_e_callback_set
(
swigCPtr
,
this
,
value
);
}
public
String
getE_callback
()
{
return
freeswitchJNI
.
EventConsumer_e_callback_get
(
swigCPtr
);
return
freeswitchJNI
.
EventConsumer_e_callback_get
(
swigCPtr
,
this
);
}
public
void
setE_subclass_name
(
String
value
)
{
freeswitchJNI
.
EventConsumer_e_subclass_name_set
(
swigCPtr
,
value
);
freeswitchJNI
.
EventConsumer_e_subclass_name_set
(
swigCPtr
,
this
,
value
);
}
public
String
getE_subclass_name
()
{
return
freeswitchJNI
.
EventConsumer_e_subclass_name_get
(
swigCPtr
);
return
freeswitchJNI
.
EventConsumer_e_subclass_name_get
(
swigCPtr
,
this
);
}
public
void
setE_cb_arg
(
String
value
)
{
freeswitchJNI
.
EventConsumer_e_cb_arg_set
(
swigCPtr
,
value
);
freeswitchJNI
.
EventConsumer_e_cb_arg_set
(
swigCPtr
,
this
,
value
);
}
public
String
getE_cb_arg
()
{
return
freeswitchJNI
.
EventConsumer_e_cb_arg_get
(
swigCPtr
);
return
freeswitchJNI
.
EventConsumer_e_cb_arg_get
(
swigCPtr
,
this
);
}
public
void
setEnodes
(
SWIGTYPE_p_p_switch_event_node_t
value
)
{
freeswitchJNI
.
EventConsumer_enodes_set
(
swigCPtr
,
SWIGTYPE_p_p_switch_event_node_t
.
getCPtr
(
value
));
freeswitchJNI
.
EventConsumer_enodes_set
(
swigCPtr
,
this
,
SWIGTYPE_p_p_switch_event_node_t
.
getCPtr
(
value
));
}
public
SWIGTYPE_p_p_switch_event_node_t
getEnodes
()
{
long
cPtr
=
freeswitchJNI
.
EventConsumer_enodes_get
(
swigCPtr
);
long
cPtr
=
freeswitchJNI
.
EventConsumer_enodes_get
(
swigCPtr
,
this
);
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_p_switch_event_node_t
(
cPtr
,
false
);
}
public
void
setNode_index
(
SWIGTYPE_p_uint32_t
value
)
{
freeswitchJNI
.
EventConsumer_node_index_set
(
swigCPtr
,
SWIGTYPE_p_uint32_t
.
getCPtr
(
value
));
freeswitchJNI
.
EventConsumer_node_index_set
(
swigCPtr
,
this
,
SWIGTYPE_p_uint32_t
.
getCPtr
(
value
));
}
public
SWIGTYPE_p_uint32_t
getNode_index
()
{
return
new
SWIGTYPE_p_uint32_t
(
freeswitchJNI
.
EventConsumer_node_index_get
(
swigCPtr
),
true
);
return
new
SWIGTYPE_p_uint32_t
(
freeswitchJNI
.
EventConsumer_node_index_get
(
swigCPtr
,
this
),
true
);
}
public
EventConsumer
(
String
event_name
,
String
subclass_name
,
int
len
)
{
...
...
@@ -96,16 +96,16 @@ public class EventConsumer {
}
public
int
bind
(
String
event_name
,
String
subclass_name
)
{
return
freeswitchJNI
.
EventConsumer_bind
(
swigCPtr
,
event_name
,
subclass_name
);
return
freeswitchJNI
.
EventConsumer_bind
(
swigCPtr
,
this
,
event_name
,
subclass_name
);
}
public
Event
pop
(
int
block
,
int
timeout
)
{
long
cPtr
=
freeswitchJNI
.
EventConsumer_pop
(
swigCPtr
,
block
,
timeout
);
long
cPtr
=
freeswitchJNI
.
EventConsumer_pop
(
swigCPtr
,
this
,
block
,
timeout
);
return
(
cPtr
==
0
)
?
null
:
new
Event
(
cPtr
,
true
);
}
public
void
cleanup
()
{
freeswitchJNI
.
EventConsumer_cleanup
(
swigCPtr
);
freeswitchJNI
.
EventConsumer_cleanup
(
swigCPtr
,
this
);
}
}
src/mod/languages/mod_java/src/org/freeswitch/swig/IVRMenu.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
@@ -25,7 +25,7 @@ public class IVRMenu {
delete
();
}
public
void
delete
()
{
public
synchronized
void
delete
()
{
if
(
swigCPtr
!=
0
&&
swigCMemOwn
)
{
swigCMemOwn
=
false
;
freeswitchJNI
.
delete_IVRMenu
(
swigCPtr
);
...
...
@@ -34,15 +34,15 @@ public class IVRMenu {
}
public
IVRMenu
(
IVRMenu
main
,
String
name
,
String
greeting_sound
,
String
short_greeting_sound
,
String
invalid_sound
,
String
exit_sound
,
String
transfer_sound
,
String
confirm_macro
,
String
confirm_key
,
String
tts_engine
,
String
tts_voice
,
int
confirm_attempts
,
int
inter_timeout
,
int
digit_len
,
int
timeout
,
int
max_failures
,
int
max_timeouts
)
{
this
(
freeswitchJNI
.
new_IVRMenu
(
IVRMenu
.
getCPtr
(
main
),
name
,
greeting_sound
,
short_greeting_sound
,
invalid_sound
,
exit_sound
,
transfer_sound
,
confirm_macro
,
confirm_key
,
tts_engine
,
tts_voice
,
confirm_attempts
,
inter_timeout
,
digit_len
,
timeout
,
max_failures
,
max_timeouts
),
true
);
this
(
freeswitchJNI
.
new_IVRMenu
(
IVRMenu
.
getCPtr
(
main
),
main
,
name
,
greeting_sound
,
short_greeting_sound
,
invalid_sound
,
exit_sound
,
transfer_sound
,
confirm_macro
,
confirm_key
,
tts_engine
,
tts_voice
,
confirm_attempts
,
inter_timeout
,
digit_len
,
timeout
,
max_failures
,
max_timeouts
),
true
);
}
public
void
bindAction
(
String
action
,
String
arg
,
String
bind
)
{
freeswitchJNI
.
IVRMenu_bindAction
(
swigCPtr
,
action
,
arg
,
bind
);
freeswitchJNI
.
IVRMenu_bindAction
(
swigCPtr
,
this
,
action
,
arg
,
bind
);
}
public
void
execute
(
CoreSession
session
,
String
name
)
{
freeswitchJNI
.
IVRMenu_execute
(
swigCPtr
,
CoreSession
.
getCPtr
(
session
)
,
name
);
freeswitchJNI
.
IVRMenu_execute
(
swigCPtr
,
this
,
CoreSession
.
getCPtr
(
session
),
session
,
name
);
}
}
src/mod/languages/mod_java/src/org/freeswitch/swig/JavaSession.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
@@ -24,7 +24,7 @@ public class JavaSession extends CoreSession {
delete
();
}
public
void
delete
()
{
public
synchronized
void
delete
()
{
if
(
swigCPtr
!=
0
&&
swigCMemOwn
)
{
swigCMemOwn
=
false
;
freeswitchJNI
.
delete_JavaSession
(
swigCPtr
);
...
...
@@ -46,31 +46,31 @@ public class JavaSession extends CoreSession {
}
public
boolean
begin_allow_threads
()
{
return
freeswitchJNI
.
JavaSession_begin_allow_threads
(
swigCPtr
);
return
freeswitchJNI
.
JavaSession_begin_allow_threads
(
swigCPtr
,
this
);
}
public
boolean
end_allow_threads
()
{
return
freeswitchJNI
.
JavaSession_end_allow_threads
(
swigCPtr
);
return
freeswitchJNI
.
JavaSession_end_allow_threads
(
swigCPtr
,
this
);
}
public
void
setDTMFCallback
(
org
.
freeswitch
.
DTMFCallback
dtmfCallback
,
String
funcargs
)
{
freeswitchJNI
.
JavaSession_setDTMFCallback
(
swigCPtr
,
dtmfCallback
,
funcargs
);
freeswitchJNI
.
JavaSession_setDTMFCallback
(
swigCPtr
,
this
,
dtmfCallback
,
funcargs
);
}
public
void
setHangupHook
(
org
.
freeswitch
.
HangupHook
hangupHook
)
{
freeswitchJNI
.
JavaSession_setHangupHook
(
swigCPtr
,
hangupHook
);
freeswitchJNI
.
JavaSession_setHangupHook
(
swigCPtr
,
this
,
hangupHook
);
}
public
void
check_hangup_hook
()
{
freeswitchJNI
.
JavaSession_check_hangup_hook
(
swigCPtr
);
freeswitchJNI
.
JavaSession_check_hangup_hook
(
swigCPtr
,
this
);
}
public
SWIGTYPE_p_switch_status_t
run_dtmf_callback
(
SWIGTYPE_p_void
input
,
SWIGTYPE_p_switch_input_type_t
itype
)
{
return
new
SWIGTYPE_p_switch_status_t
(
freeswitchJNI
.
JavaSession_run_dtmf_callback
(
swigCPtr
,
SWIGTYPE_p_void
.
getCPtr
(
input
),
SWIGTYPE_p_switch_input_type_t
.
getCPtr
(
itype
)),
true
);
return
new
SWIGTYPE_p_switch_status_t
(
freeswitchJNI
.
JavaSession_run_dtmf_callback
(
swigCPtr
,
this
,
SWIGTYPE_p_void
.
getCPtr
(
input
),
SWIGTYPE_p_switch_input_type_t
.
getCPtr
(
itype
)),
true
);
}
public
int
originate
(
JavaSession
aleg
,
String
destination
,
int
timeout
)
{
return
freeswitchJNI
.
JavaSession_originate
(
swigCPtr
,
JavaSession
.
getCPtr
(
aleg
)
,
destination
,
timeout
);
return
freeswitchJNI
.
JavaSession_originate
(
swigCPtr
,
this
,
JavaSession
.
getCPtr
(
aleg
),
aleg
,
destination
,
timeout
);
}
}
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_JavaVM.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_int.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_p_switch_event_node_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_call_cause_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_channel_state_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_channel_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_core_session_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_event_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_event_types_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_input_args_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_input_type_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_priority_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_queue_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_state_handler_table_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_status_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_stream_handle_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_uint32_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_void.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/Stream.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
@@ -25,7 +25,7 @@ public class Stream {
delete
();
}
public
void
delete
()
{
public
synchronized
void
delete
()
{
if
(
swigCPtr
!=
0
&&
swigCMemOwn
)
{
swigCMemOwn
=
false
;
freeswitchJNI
.
delete_Stream
(
swigCPtr
);
...
...
@@ -42,19 +42,19 @@ public class Stream {
}
public
String
read
(
SWIGTYPE_p_int
len
)
{
return
freeswitchJNI
.
Stream_read
(
swigCPtr
,
SWIGTYPE_p_int
.
getCPtr
(
len
));
return
freeswitchJNI
.
Stream_read
(
swigCPtr
,
this
,
SWIGTYPE_p_int
.
getCPtr
(
len
));
}
public
void
write
(
String
data
)
{
freeswitchJNI
.
Stream_write
(
swigCPtr
,
data
);
freeswitchJNI
.
Stream_write
(
swigCPtr
,
this
,
data
);
}
public
void
raw_write
(
String
data
,
int
len
)
{
freeswitchJNI
.
Stream_raw_write
(
swigCPtr
,
data
,
len
);
freeswitchJNI
.
Stream_raw_write
(
swigCPtr
,
this
,
data
,
len
);
}
public
String
get_data
()
{
return
freeswitchJNI
.
Stream_get_data
(
swigCPtr
);
return
freeswitchJNI
.
Stream_get_data
(
swigCPtr
,
this
);
}
}
src/mod/languages/mod_java/src/org/freeswitch/swig/freeswitch.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
@@ -54,7 +54,7 @@ public class freeswitch {
}
public
static
void
bridge
(
CoreSession
session_a
,
CoreSession
session_b
)
{
freeswitchJNI
.
bridge
(
CoreSession
.
getCPtr
(
session_a
),
CoreSession
.
getCPtr
(
session_b
)
);
freeswitchJNI
.
bridge
(
CoreSession
.
getCPtr
(
session_a
),
session_a
,
CoreSession
.
getCPtr
(
session_b
),
session_b
);
}
public
static
SWIGTYPE_p_switch_status_t
hanguphook
(
SWIGTYPE_p_switch_core_session_t
session
)
{
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/freeswitchJNI.java
浏览文件 @
452a4c1b
差异被折叠。
点击展开。
src/mod/languages/mod_java/src/org/freeswitch/swig/input_callback_state_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
@@ -25,7 +25,7 @@ public class input_callback_state_t {
delete
();
}
public
void
delete
()
{
public
synchronized
void
delete
()
{
if
(
swigCPtr
!=
0
&&
swigCMemOwn
)
{
swigCMemOwn
=
false
;
freeswitchJNI
.
delete_input_callback_state_t
(
swigCPtr
);
...
...
@@ -34,38 +34,38 @@ public class input_callback_state_t {
}
public
void
setFunction
(
SWIGTYPE_p_void
value
)
{
freeswitchJNI
.
input_callback_state_t_function_set
(
swigCPtr
,
SWIGTYPE_p_void
.
getCPtr
(
value
));
freeswitchJNI
.
input_callback_state_t_function_set
(
swigCPtr
,
this
,
SWIGTYPE_p_void
.
getCPtr
(
value
));
}
public
SWIGTYPE_p_void
getFunction
()
{
long
cPtr
=
freeswitchJNI
.
input_callback_state_t_function_get
(
swigCPtr
);
long
cPtr
=
freeswitchJNI
.
input_callback_state_t_function_get
(
swigCPtr
,
this
);
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_void
(
cPtr
,
false
);
}
public
void
setThreadState
(
SWIGTYPE_p_void
value
)
{
freeswitchJNI
.
input_callback_state_t_threadState_set
(
swigCPtr
,
SWIGTYPE_p_void
.
getCPtr
(
value
));
freeswitchJNI
.
input_callback_state_t_threadState_set
(
swigCPtr
,
this
,
SWIGTYPE_p_void
.
getCPtr
(
value
));
}
public
SWIGTYPE_p_void
getThreadState
()
{
long
cPtr
=
freeswitchJNI
.
input_callback_state_t_threadState_get
(
swigCPtr
);
long
cPtr
=
freeswitchJNI
.
input_callback_state_t_threadState_get
(
swigCPtr
,
this
);
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_void
(
cPtr
,
false
);
}
public
void
setExtra
(
SWIGTYPE_p_void
value
)
{
freeswitchJNI
.
input_callback_state_t_extra_set
(
swigCPtr
,
SWIGTYPE_p_void
.
getCPtr
(
value
));
freeswitchJNI
.
input_callback_state_t_extra_set
(
swigCPtr
,
this
,
SWIGTYPE_p_void
.
getCPtr
(
value
));
}
public
SWIGTYPE_p_void
getExtra
()
{
long
cPtr
=
freeswitchJNI
.
input_callback_state_t_extra_get
(
swigCPtr
);
long
cPtr
=
freeswitchJNI
.
input_callback_state_t_extra_get
(
swigCPtr
,
this
);
return
(
cPtr
==
0
)
?
null
:
new
SWIGTYPE_p_void
(
cPtr
,
false
);
}
public
void
setFuncargs
(
String
value
)
{
freeswitchJNI
.
input_callback_state_t_funcargs_set
(
swigCPtr
,
value
);
freeswitchJNI
.
input_callback_state_t_funcargs_set
(
swigCPtr
,
this
,
value
);
}
public
String
getFuncargs
()
{
return
freeswitchJNI
.
input_callback_state_t_funcargs_get
(
swigCPtr
);
return
freeswitchJNI
.
input_callback_state_t_funcargs_get
(
swigCPtr
,
this
);
}
public
input_callback_state_t
()
{
...
...
src/mod/languages/mod_java/src/org/freeswitch/swig/session_flag_t.java
浏览文件 @
452a4c1b
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.
29
* Version 1.3.
35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
...
...
@@ -27,15 +27,18 @@ public enum session_flag_t {
throw
new
IllegalArgumentException
(
"No enum "
+
session_flag_t
.
class
+
" with value "
+
swigValue
);
}
@SuppressWarnings
(
"unused"
)
private
session_flag_t
()
{
this
.
swigValue
=
SwigNext
.
next
++;
}
@SuppressWarnings
(
"unused"
)
private
session_flag_t
(
int
swigValue
)
{
this
.
swigValue
=
swigValue
;
SwigNext
.
next
=
swigValue
+
1
;
}
@SuppressWarnings
(
"unused"
)
private
session_flag_t
(
session_flag_t
swigEnum
)
{
this
.
swigValue
=
swigEnum
.
swigValue
;
SwigNext
.
next
=
this
.
swigValue
+
1
;
...
...
src/mod/languages/mod_java/switch_swig_wrap.cpp
浏览文件 @
452a4c1b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/mod/languages/mod_lua/mod_lua_wrap.cpp
浏览文件 @
452a4c1b
差异被折叠。
点击展开。
src/mod/languages/mod_managed/freeswitch_wrap.cxx
0 → 100644
浏览文件 @
452a4c1b
差异被折叠。
点击展开。
src/mod/languages/mod_managed/managed/swig.cs
0 → 100644
浏览文件 @
452a4c1b
差异被折叠。
点击展开。
src/mod/languages/mod_perl/freeswitch.pm
浏览文件 @
452a4c1b
# This file was created automatically by SWIG 1.3.29.
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.35
#
# Don't modify this file, modify the SWIG interface instead.
package
freeswitch
;
require
Exporter
;
@ISA
=
qw(Exporter)
;
...
...
src/mod/languages/mod_perl/mod_perl_wrap.cpp
浏览文件 @
452a4c1b
差异被折叠。
点击展开。
src/mod/languages/mod_python/freeswitch.py
浏览文件 @
452a4c1b
差异被折叠。
点击展开。
src/mod/languages/mod_python/mod_python_wrap.cpp
浏览文件 @
452a4c1b
差异被折叠。
点击展开。
src/mod/legacy/languages/mod_lua/mod_lua_wrap.cpp
浏览文件 @
452a4c1b
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论