Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
7872f795
提交
7872f795
authored
11月 09, 2006
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
swig stuff
git-svn-id:
http://svn.freeswitch.org/svn/freeswitch/trunk@3289
d0543943-73ff-0310-b7d9-9358b9ac24b2
上级
8b6be740
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
58 行增加
和
30 行删除
+58
-30
fs_perl.pm
src/mod/languages/mod_perl/fs_perl.pm
+1
-2
freeswitch.php
src/mod/languages/mod_php/freeswitch.php
+2
-2
php_freeswitch.h
src/mod/languages/mod_php/php_freeswitch.h
+21
-5
freeswitch.py
src/mod/languages/mod_python/freeswitch.py
+34
-21
没有找到文件。
src/mod/languages/mod_perl/fs_perl.pm
浏览文件 @
7872f795
# This file was created automatically by SWIG 1.3.29.
# This file was automatically generated by SWIG
# Don't modify this file, modify the SWIG interface instead.
package
fs_perl
;
package
fs_perl
;
require
Exporter
;
require
Exporter
;
require
DynaLoader
;
require
DynaLoader
;
...
...
src/mod/languages/mod_php/freeswitch.php
浏览文件 @
7872f795
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.2
9
* Version 1.3.2
1
*
*
* This file is not intended to be easily readable and contains a number of
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* coding conventions designed to improve portability and efficiency. Do not make
...
@@ -16,7 +16,7 @@ $FREESWITCH_LOADED__ = true;
...
@@ -16,7 +16,7 @@ $FREESWITCH_LOADED__ = true;
/* if our extension has not been loaded, do what we can */
/* if our extension has not been loaded, do what we can */
if
(
!
extension_loaded
(
"php_freeswitch"
))
{
if
(
!
extension_loaded
(
"php_freeswitch"
))
{
if
(
!
dl
(
"php_freeswitch.so"
))
return
;
if
(
!
dl
(
"php_freeswitch.so"
))
return
;
}
}
...
...
src/mod/languages/mod_php/php_freeswitch.h
浏览文件 @
7872f795
/* ----------------------------------------------------------------------------
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.2
9
* Version 1.3.2
1
*
*
* This file is not intended to be easily readable and contains a number of
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* coding conventions designed to improve portability and efficiency. Do not make
...
@@ -40,10 +40,6 @@ extern zend_module_entry freeswitch_module_entry;
...
@@ -40,10 +40,6 @@ extern zend_module_entry freeswitch_module_entry;
# define PHP_FREESWITCH_API
# define PHP_FREESWITCH_API
#endif
#endif
#ifdef ZTS
#include "TSRM.h"
#endif
PHP_MINIT_FUNCTION
(
freeswitch
);
PHP_MINIT_FUNCTION
(
freeswitch
);
PHP_MSHUTDOWN_FUNCTION
(
freeswitch
);
PHP_MSHUTDOWN_FUNCTION
(
freeswitch
);
PHP_RINIT_FUNCTION
(
freeswitch
);
PHP_RINIT_FUNCTION
(
freeswitch
);
...
@@ -76,4 +72,24 @@ ZEND_NAMED_FUNCTION(_wrap_fs_switch_ivr_session_transfer);
...
@@ -76,4 +72,24 @@ ZEND_NAMED_FUNCTION(_wrap_fs_switch_ivr_session_transfer);
ZEND_NAMED_FUNCTION
(
_wrap_fs_switch_ivr_speak_text
);
ZEND_NAMED_FUNCTION
(
_wrap_fs_switch_ivr_speak_text
);
ZEND_NAMED_FUNCTION
(
_wrap_fs_switch_channel_get_variable
);
ZEND_NAMED_FUNCTION
(
_wrap_fs_switch_channel_get_variable
);
ZEND_NAMED_FUNCTION
(
_wrap_fs_switch_channel_set_variable
);
ZEND_NAMED_FUNCTION
(
_wrap_fs_switch_channel_set_variable
);
/*If you declare any globals in php_freeswitch.h uncomment this:
ZEND_BEGIN_MODULE_GLOBALS(freeswitch)
ZEND_END_MODULE_GLOBALS(freeswitch)
*/
#ifdef ZTS
#define FREESWITCH_D zend_freeswitch_globals *freeswitch_globals
#define FREESWITCH_DC , FREESWITCH_D
#define FREESWITCH_C freeswitch_globals
#define FREESWITCH_CC , FREESWITCH_C
#define FREESWITCH_SG(v) (freeswitch_globals->v)
#define FREESWITCH_FETCH() zend_freeswitch_globals *freeswitch_globals = ts_resource(freeswitch_globals_id)
#else
#define FREESWITCH_D
#define FREESWITCH_DC
#define FREESWITCH_C
#define FREESWITCH_CC
#define FREESWITCH_SG(v) (freeswitch_globals.v)
#define FREESWITCH_FETCH()
#endif
#endif
/* PHP_FREESWITCH_H */
#endif
/* PHP_FREESWITCH_H */
src/mod/languages/mod_python/freeswitch.py
浏览文件 @
7872f795
# This file was created automatically by SWIG
1.3.29
.
# This file was created automatically by SWIG.
# Don't modify this file, modify the SWIG interface instead.
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.
# This file is compatible with both classic and new-style classes.
import
_freeswitch
import
_freeswitch
import
new
new_instancemethod
=
new
.
instancemethod
def
_swig_setattr
(
self
,
class_type
,
name
,
value
):
def
_swig_setattr_nondynamic
(
self
,
class_type
,
name
,
value
,
static
=
1
):
if
(
name
==
"thisown"
):
return
self
.
this
.
own
(
value
)
if
(
name
==
"this"
):
if
(
name
==
"this"
):
if
type
(
value
)
.
__name__
==
'PySwigObject'
:
if
isinstance
(
value
,
class_type
):
self
.
__dict__
[
name
]
=
value
self
.
__dict__
[
name
]
=
value
.
this
if
hasattr
(
value
,
"thisown"
):
self
.
__dict__
[
"thisown"
]
=
value
.
thisown
del
value
.
thisown
return
return
method
=
class_type
.
__swig_setmethods__
.
get
(
name
,
None
)
method
=
class_type
.
__swig_setmethods__
.
get
(
name
,
None
)
if
method
:
return
method
(
self
,
value
)
if
method
:
return
method
(
self
,
value
)
if
(
not
static
)
or
hasattr
(
self
,
name
):
self
.
__dict__
[
name
]
=
value
self
.
__dict__
[
name
]
=
value
else
:
raise
AttributeError
(
"You cannot add attributes to
%
s"
%
self
)
def
_swig_setattr
(
self
,
class_type
,
name
,
value
):
return
_swig_setattr_nondynamic
(
self
,
class_type
,
name
,
value
,
0
)
def
_swig_getattr
(
self
,
class_type
,
name
):
def
_swig_getattr
(
self
,
class_type
,
name
):
if
(
name
==
"thisown"
):
return
self
.
this
.
own
()
method
=
class_type
.
__swig_getmethods__
.
get
(
name
,
None
)
method
=
class_type
.
__swig_getmethods__
.
get
(
name
,
None
)
if
method
:
return
method
(
self
)
if
method
:
return
method
(
self
)
raise
AttributeError
,
name
raise
AttributeError
,
name
def
_swig_repr
(
self
):
try
:
strthis
=
"proxy of "
+
self
.
this
.
__repr__
()
except
:
strthis
=
""
return
"<
%
s.
%
s;
%
s >"
%
(
self
.
__class__
.
__module__
,
self
.
__class__
.
__name__
,
strthis
,)
import
types
import
types
try
:
try
:
_object
=
types
.
ObjectType
_object
=
types
.
ObjectType
...
@@ -42,31 +30,56 @@ except AttributeError:
...
@@ -42,31 +30,56 @@ except AttributeError:
del
types
del
types
fs_core_set_globals
=
_freeswitch
.
fs_core_set_globals
fs_core_set_globals
=
_freeswitch
.
fs_core_set_globals
fs_core_init
=
_freeswitch
.
fs_core_init
fs_core_init
=
_freeswitch
.
fs_core_init
fs_core_destroy
=
_freeswitch
.
fs_core_destroy
fs_core_destroy
=
_freeswitch
.
fs_core_destroy
fs_loadable_module_init
=
_freeswitch
.
fs_loadable_module_init
fs_loadable_module_init
=
_freeswitch
.
fs_loadable_module_init
fs_loadable_module_shutdown
=
_freeswitch
.
fs_loadable_module_shutdown
fs_loadable_module_shutdown
=
_freeswitch
.
fs_loadable_module_shutdown
fs_console_loop
=
_freeswitch
.
fs_console_loop
fs_console_loop
=
_freeswitch
.
fs_console_loop
fs_consol_log
=
_freeswitch
.
fs_consol_log
fs_consol_log
=
_freeswitch
.
fs_consol_log
fs_consol_clean
=
_freeswitch
.
fs_consol_clean
fs_consol_clean
=
_freeswitch
.
fs_consol_clean
fs_core_session_locate
=
_freeswitch
.
fs_core_session_locate
fs_core_session_locate
=
_freeswitch
.
fs_core_session_locate
fs_channel_answer
=
_freeswitch
.
fs_channel_answer
fs_channel_answer
=
_freeswitch
.
fs_channel_answer
fs_channel_pre_answer
=
_freeswitch
.
fs_channel_pre_answer
fs_channel_pre_answer
=
_freeswitch
.
fs_channel_pre_answer
fs_channel_hangup
=
_freeswitch
.
fs_channel_hangup
fs_channel_hangup
=
_freeswitch
.
fs_channel_hangup
fs_channel_set_variable
=
_freeswitch
.
fs_channel_set_variable
fs_channel_set_variable
=
_freeswitch
.
fs_channel_set_variable
fs_channel_get_variable
=
_freeswitch
.
fs_channel_get_variable
fs_channel_get_variable
=
_freeswitch
.
fs_channel_get_variable
fs_channel_set_state
=
_freeswitch
.
fs_channel_set_state
fs_channel_set_state
=
_freeswitch
.
fs_channel_set_state
fs_ivr_play_file
=
_freeswitch
.
fs_ivr_play_file
fs_ivr_play_file
=
_freeswitch
.
fs_ivr_play_file
fs_switch_ivr_record_file
=
_freeswitch
.
fs_switch_ivr_record_file
fs_switch_ivr_record_file
=
_freeswitch
.
fs_switch_ivr_record_file
fs_switch_ivr_sleep
=
_freeswitch
.
fs_switch_ivr_sleep
fs_switch_ivr_sleep
=
_freeswitch
.
fs_switch_ivr_sleep
fs_ivr_play_file2
=
_freeswitch
.
fs_ivr_play_file2
fs_ivr_play_file2
=
_freeswitch
.
fs_ivr_play_file2
fs_switch_ivr_collect_digits_callback
=
_freeswitch
.
fs_switch_ivr_collect_digits_callback
fs_switch_ivr_collect_digits_callback
=
_freeswitch
.
fs_switch_ivr_collect_digits_callback
fs_switch_ivr_collect_digits_count
=
_freeswitch
.
fs_switch_ivr_collect_digits_count
fs_switch_ivr_collect_digits_count
=
_freeswitch
.
fs_switch_ivr_collect_digits_count
fs_switch_ivr_originate
=
_freeswitch
.
fs_switch_ivr_originate
fs_switch_ivr_originate
=
_freeswitch
.
fs_switch_ivr_originate
fs_switch_ivr_session_transfer
=
_freeswitch
.
fs_switch_ivr_session_transfer
fs_switch_ivr_session_transfer
=
_freeswitch
.
fs_switch_ivr_session_transfer
fs_switch_ivr_speak_text
=
_freeswitch
.
fs_switch_ivr_speak_text
fs_switch_ivr_speak_text
=
_freeswitch
.
fs_switch_ivr_speak_text
fs_switch_channel_get_variable
=
_freeswitch
.
fs_switch_channel_get_variable
fs_switch_channel_get_variable
=
_freeswitch
.
fs_switch_channel_get_variable
fs_switch_channel_set_variable
=
_freeswitch
.
fs_switch_channel_set_variable
fs_switch_channel_set_variable
=
_freeswitch
.
fs_switch_channel_set_variable
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论