Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
86e4e580
提交
86e4e580
authored
6月 23, 2013
作者:
Nathan Neulinger
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
logging
上级
4b0bae5a
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
8 行删除
+5
-8
mod_skinny.c
src/mod/endpoints/mod_skinny/mod_skinny.c
+5
-5
skinny_protocol.c
src/mod/endpoints/mod_skinny/skinny_protocol.c
+0
-3
没有找到文件。
src/mod/endpoints/mod_skinny/mod_skinny.c
浏览文件 @
86e4e580
...
...
@@ -1440,7 +1440,7 @@ static void *SWITCH_THREAD_FUNC listener_run(switch_thread_t *thread, void *obj)
switch_socket_timeout_set
(
listener
->
sock
,
5000000
);
#endif
if
(
listener
->
profile
->
debug
>
0
)
{
skinny_log_l
(
listener
,
SWITCH_LOG_DEBUG
,
"Connection Open%s
\n
"
,
"
"
);
skinny_log_l
_msg
(
listener
,
SWITCH_LOG_DEBUG
,
"Connection Open
\n
"
);
}
switch_set_flag_locked
(
listener
,
LFLAG_RUNNING
);
...
...
@@ -1454,7 +1454,7 @@ static void *SWITCH_THREAD_FUNC listener_run(switch_thread_t *thread, void *obj)
if
(
status
!=
SWITCH_STATUS_SUCCESS
)
{
switch
(
status
)
{
case
SWITCH_STATUS_TIMEOUT
:
skinny_log_l
(
listener
,
SWITCH_LOG_DEBUG
,
"Communication Time Out%s
\n
"
,
"
"
);
skinny_log_l
_msg
(
listener
,
SWITCH_LOG_DEBUG
,
"Communication Time Out
\n
"
);
if
(
listener
->
expire_time
<
switch_epoch_time_now
(
NULL
))
{
switch_event_t
*
event
=
NULL
;
...
...
@@ -1464,7 +1464,7 @@ static void *SWITCH_THREAD_FUNC listener_run(switch_thread_t *thread, void *obj)
}
break
;
default:
skinny_log_l
(
listener
,
SWITCH_LOG_DEBUG
,
"Communication Error%s
\n
"
,
"
"
);
skinny_log_l
_msg
(
listener
,
SWITCH_LOG_DEBUG
,
"Communication Error
\n
"
);
}
switch_clear_flag_locked
(
listener
,
LFLAG_RUNNING
);
break
;
...
...
@@ -1487,7 +1487,7 @@ static void *SWITCH_THREAD_FUNC listener_run(switch_thread_t *thread, void *obj)
remove_listener
(
listener
);
if
(
listener
->
profile
->
debug
>
0
)
{
skinny_log_l
(
listener
,
SWITCH_LOG_DEBUG
,
"Communication Complete%s
\n
"
,
"
"
);
skinny_log_l
_msg
(
listener
,
SWITCH_LOG_DEBUG
,
"Communication Complete
\n
"
);
}
switch_thread_rwlock_wrlock
(
listener
->
rwlock
);
...
...
@@ -1500,7 +1500,7 @@ static void *SWITCH_THREAD_FUNC listener_run(switch_thread_t *thread, void *obj)
switch_thread_rwlock_unlock
(
listener
->
rwlock
);
if
(
listener
->
profile
->
debug
>
0
)
{
skinny_log_l
(
listener
,
SWITCH_LOG_DEBUG
,
"Communication Closed%s
\n
"
,
"
"
);
skinny_log_l
_msg
(
listener
,
SWITCH_LOG_DEBUG
,
"Communication Closed
\n
"
);
}
if
(
destroy_pool
==
0
)
{
...
...
src/mod/endpoints/mod_skinny/skinny_protocol.c
浏览文件 @
86e4e580
...
...
@@ -754,9 +754,6 @@ switch_status_t perform_send_define_current_time_date(listener_t *listener,
ts
=
switch_micro_time_now
();
switch_time_exp_lt
(
&
tm
,
ts
);
skinny_log_l_ffl
(
listener
,
file
,
func
,
line
,
SWITCH_LOG_DEBUG
,
"Send Define Current Time Date with Timestamp (%d)
\n
"
,
(
uint32_t
)
ts
/
1000000
);
return
send_define_time_date
(
listener
,
tm
.
tm_year
+
1900
,
tm
.
tm_mon
+
1
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论