Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
ddb34563
提交
ddb34563
authored
4月 01, 2011
作者:
Brian West
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-3220: more than just typos
上级
d4722b4b
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
12 行增加
和
7 行删除
+12
-7
switch.h
src/include/switch.h
+5
-0
switch_core.h
src/include/switch_core.h
+1
-1
switch_utils.h
src/include/switch_utils.h
+3
-3
mod_portaudio.c
src/mod/endpoints/mod_portaudio/mod_portaudio.c
+2
-2
sofia.c
src/mod/endpoints/mod_sofia/sofia.c
+1
-1
没有找到文件。
src/include/switch.h
浏览文件 @
ddb34563
...
...
@@ -150,6 +150,7 @@
*
* - Linux (x86 & x86_64)
* - Windows (MSVC 2008 & VC++ EE 2008)
* - Windows (MSVC 2010 & VC++ EE 2010)
* - Mac OS X (intel & ppc )
* - FreeBSD 6
*
...
...
@@ -176,6 +177,10 @@
* mod_pocketsphinx
* - PocketSphinx (http://www.speech.cs.cmu.edu/pocketsphinx/)
*
* mod_unimrcp
* - MRCP (http://www.unimrcp.org/)
*
*
* Codecs
* mod_speex
* - libspeex (http://www.speex.org/)
...
...
src/include/switch_core.h
浏览文件 @
ddb34563
...
...
@@ -1183,7 +1183,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_recv_dtmf(_In_ switch_core_s
///\ingroup core1
///\{
/*!
\brief Initilize a hash table
\brief Initi
a
lize a hash table
\param hash a NULL pointer to a hash table to aim at the new hash
\param pool the pool to use for the new hash
\return SWITCH_STATUS_SUCCESS if the hash is created
...
...
src/include/switch_utils.h
浏览文件 @
ddb34563
...
...
@@ -635,7 +635,7 @@ SWITCH_DECLARE(switch_time_t) switch_str_time(const char *in);
#define switch_time_from_sec(sec) ((switch_time_t)(sec) * 1000000)
/*!
\brief Declares a function designed to set a dy
ma
ic global string
\brief Declares a function designed to set a dy
nam
ic global string
\param fname the function name to declare
\param vname the name of the global pointer to modify with the new function
*/
...
...
@@ -643,9 +643,9 @@ SWITCH_DECLARE(switch_time_t) switch_str_time(const char *in);
if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
/*!
\brief Separate a string into an array based on a character delim
e
ter
\brief Separate a string into an array based on a character delim
i
ter
\param buf the string to parse
\param delim the character delim
e
ter
\param delim the character delim
i
ter
\param array the array to split the values into
\param arraylen the max number of elements in the array
\return the number of elements added to the array
...
...
src/mod/endpoints/mod_portaudio/mod_portaudio.c
浏览文件 @
ddb34563
...
...
@@ -1198,14 +1198,14 @@ static switch_status_t load_config(void)
if
(
globals
.
outdev
>
-
1
)
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_WARNING
,
"Switching to default output device
\n
"
);
}
else
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Cannot find an
in
put device
\n
"
);
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Cannot find an
out
put device
\n
"
);
status
=
SWITCH_STATUS_GENERR
;
}
}
if
(
globals
.
ringdev
<
0
)
{
if
(
globals
.
outdev
>
-
1
)
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_WARNING
,
"Invalid
ring device configured using output
device
\n
"
);
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_WARNING
,
"Invalid
or no ring device configured, using output device as ring
device
\n
"
);
globals
.
ringdev
=
globals
.
outdev
;
}
}
...
...
src/mod/endpoints/mod_sofia/sofia.c
浏览文件 @
ddb34563
...
...
@@ -6151,7 +6151,7 @@ void sofia_handle_sip_i_info(nua_t *nua, sofia_profile_t *profile, nua_handle_t
/* Barf if we didn't get our private */
assert
(
switch_core_session_get_private
(
session
));
if
(
sip
->
sip_content_type
&&
sip
->
sip_content_type
->
c_subtype
&&
sip
->
sip_content_type
->
c_type
&&
if
(
sip
&&
sip
->
sip_content_type
&&
sip
->
sip_content_type
->
c_subtype
&&
sip
->
sip_content_type
->
c_type
&&
!
strncasecmp
(
sip
->
sip_content_type
->
c_type
,
"message"
,
7
)
&&
!
strcasecmp
(
sip
->
sip_content_type
->
c_subtype
,
"update_display"
))
{
sofia_update_callee_id
(
session
,
profile
,
sip
,
SWITCH_TRUE
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论