Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
325fba0f
提交
325fba0f
authored
3月 10, 2014
作者:
Chris Rienzo
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
ssh://git.freeswitch.org:222/freeswitch
上级
5fbe6bd1
9f804d2d
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
8 行增加
和
5 行删除
+8
-5
mod_skinny.c
src/mod/endpoints/mod_skinny/mod_skinny.c
+1
-1
skinny_protocol.c
src/mod/endpoints/mod_skinny/skinny_protocol.c
+1
-0
skinny_protocol.h
src/mod/endpoints/mod_skinny/skinny_protocol.h
+4
-2
skinny_server.c
src/mod/endpoints/mod_skinny/skinny_server.c
+2
-2
没有找到文件。
src/mod/endpoints/mod_skinny/mod_skinny.c
浏览文件 @
325fba0f
...
@@ -1142,7 +1142,7 @@ switch_status_t channel_answer_channel(switch_core_session_t *session)
...
@@ -1142,7 +1142,7 @@ switch_status_t channel_answer_channel(switch_core_session_t *session)
/* Wait for media */
/* Wait for media */
while
(
!
switch_test_flag
(
tech_pvt
,
TFLAG_IO
))
{
while
(
!
switch_test_flag
(
tech_pvt
,
TFLAG_IO
))
{
switch_cond_next
();
switch_cond_next
();
if
(
++
x
>
1
000
)
{
if
(
++
x
>
5
000
)
{
switch_log_printf
(
SWITCH_CHANNEL_SESSION_LOG
(
session
),
SWITCH_LOG_WARNING
,
"Wait tooo long to answer %s:%s
\n
"
,
switch_log_printf
(
SWITCH_CHANNEL_SESSION_LOG
(
session
),
SWITCH_LOG_WARNING
,
"Wait tooo long to answer %s:%s
\n
"
,
switch_channel_get_variable
(
channel
,
"skinny_device_name"
),
switch_channel_get_variable
(
channel
,
"skinny_device_instance"
));
switch_channel_get_variable
(
channel
,
"skinny_device_name"
),
switch_channel_get_variable
(
channel
,
"skinny_device_instance"
));
return
SWITCH_STATUS_FALSE
;
return
SWITCH_STATUS_FALSE
;
...
...
src/mod/endpoints/mod_skinny/skinny_protocol.c
浏览文件 @
325fba0f
...
@@ -911,6 +911,7 @@ switch_status_t perform_send_open_receive_channel(listener_t *listener,
...
@@ -911,6 +911,7 @@ switch_status_t perform_send_open_receive_channel(listener_t *listener,
message
->
data
.
open_receive_channel
.
echo_cancel_type
=
echo_cancel_type
;
message
->
data
.
open_receive_channel
.
echo_cancel_type
=
echo_cancel_type
;
message
->
data
.
open_receive_channel
.
g723_bitrate
=
g723_bitrate
;
message
->
data
.
open_receive_channel
.
g723_bitrate
=
g723_bitrate
;
message
->
data
.
open_receive_channel
.
conference_id2
=
conference_id2
;
message
->
data
.
open_receive_channel
.
conference_id2
=
conference_id2
;
message
->
data
.
open_receive_channel
.
rtptimeout
=
htonl
(
0x0a
);
/*
/*
message->data.open_receive_channel.reserved[0] = reserved[0];
message->data.open_receive_channel.reserved[0] = reserved[0];
message->data.open_receive_channel.reserved[1] = reserved[1];
message->data.open_receive_channel.reserved[1] = reserved[1];
...
...
src/mod/endpoints/mod_skinny/skinny_protocol.h
浏览文件 @
325fba0f
...
@@ -458,7 +458,7 @@ struct PACKED dialed_phone_book_message {
...
@@ -458,7 +458,7 @@ struct PACKED dialed_phone_book_message {
struct
PACKED
accessory_status_message
{
struct
PACKED
accessory_status_message
{
uint32_t
accessory_id
;
uint32_t
accessory_id
;
uint32_t
accessory_status
;
uint32_t
accessory_status
;
uint32_t
unknown
;
/* uint32_t unknown; */
/* this field is missing in 7925G */
};
};
/* RegisterAckMessage */
/* RegisterAckMessage */
...
@@ -683,7 +683,9 @@ struct PACKED open_receive_channel_message {
...
@@ -683,7 +683,9 @@ struct PACKED open_receive_channel_message {
uint32_t
echo_cancel_type
;
uint32_t
echo_cancel_type
;
uint32_t
g723_bitrate
;
uint32_t
g723_bitrate
;
uint32_t
conference_id2
;
uint32_t
conference_id2
;
uint32_t
reserved
[
10
];
uint32_t
reserved
[
14
];
uint32_t
rtpdtmfpayload
;
uint32_t
rtptimeout
;
};
};
/* CloseReceiveChannelMessage */
/* CloseReceiveChannelMessage */
...
...
src/mod/endpoints/mod_skinny/skinny_server.c
浏览文件 @
325fba0f
...
@@ -802,7 +802,7 @@ switch_status_t skinny_session_start_media(switch_core_session_t *session, liste
...
@@ -802,7 +802,7 @@ switch_status_t skinny_session_start_media(switch_core_session_t *session, liste
SKINNY_CODEC_ULAW_64K
,
/* uint32_t payload_capacity, */
SKINNY_CODEC_ULAW_64K
,
/* uint32_t payload_capacity, */
0
,
/* uint32_t echo_cancel_type, */
0
,
/* uint32_t echo_cancel_type, */
0
,
/* uint32_t g723_bitrate, */
0
,
/* uint32_t g723_bitrate, */
0
,
/* uint32_t conference_id2, */
tech_pvt
->
call_id
,
/* uint32_t conference_id2, */
0
/* uint32_t reserved[10] */
0
/* uint32_t reserved[10] */
);
);
}
}
...
@@ -868,7 +868,7 @@ switch_status_t skinny_session_unhold_line(switch_core_session_t *session, liste
...
@@ -868,7 +868,7 @@ switch_status_t skinny_session_unhold_line(switch_core_session_t *session, liste
SKINNY_CODEC_ULAW_64K
,
/* uint32_t payload_capacity, */
SKINNY_CODEC_ULAW_64K
,
/* uint32_t payload_capacity, */
0
,
/* uint32_t echo_cancel_type, */
0
,
/* uint32_t echo_cancel_type, */
0
,
/* uint32_t g723_bitrate, */
0
,
/* uint32_t g723_bitrate, */
0
,
/* uint32_t conference_id2, */
tech_pvt
->
call_id
,
/* uint32_t conference_id2, */
0
/* uint32_t reserved[10] */
0
/* uint32_t reserved[10] */
);
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论