Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
06a32663
提交
06a32663
authored
9月 27, 2012
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-4655 its not a bug its a behaviour request, try this patch
上级
7c840030
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
12 行增加
和
6 行删除
+12
-6
mod_alsa.c
src/mod/endpoints/mod_alsa/mod_alsa.c
+1
-1
mod_portaudio.c
src/mod/endpoints/mod_portaudio/mod_portaudio.c
+1
-1
mod_rtmp.c
src/mod/endpoints/mod_rtmp/mod_rtmp.c
+1
-1
mod_skypopen.c
src/mod/endpoints/mod_skypopen/mod_skypopen.c
+1
-1
mod_sofia.c
src/mod/endpoints/mod_sofia/mod_sofia.c
+2
-1
mod_unicall.c
src/mod/endpoints/mod_unicall/mod_unicall.c
+1
-1
switch_core_session.c
src/switch_core_session.c
+5
-0
没有找到文件。
src/mod/endpoints/mod_alsa/mod_alsa.c
浏览文件 @
06a32663
...
...
@@ -758,7 +758,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
switch_call_cause_t
*
cancel_cause
)
{
if
((
*
new_session
=
switch_core_session_request
(
alsa_endpoint_interface
,
SWITCH_CALL_DIRECTION_OUTBOUND
,
flags
,
pool
))
!=
0
)
{
if
((
*
new_session
=
switch_core_session_request
_uuid
(
alsa_endpoint_interface
,
SWITCH_CALL_DIRECTION_OUTBOUND
,
flags
,
pool
,
switch_event_get_header
(
var_event
,
"origination_uuid"
)
))
!=
0
)
{
private_t
*
tech_pvt
;
switch_channel_t
*
channel
;
switch_caller_profile_t
*
caller_profile
;
...
...
src/mod/endpoints/mod_portaudio/mod_portaudio.c
浏览文件 @
06a32663
...
...
@@ -1157,7 +1157,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
return
retcause
;
}
if
(
!
(
*
new_session
=
switch_core_session_request
(
portaudio_endpoint_interface
,
SWITCH_CALL_DIRECTION_OUTBOUND
,
flags
,
pool
)))
{
if
(
!
(
*
new_session
=
switch_core_session_request
_uuid
(
portaudio_endpoint_interface
,
SWITCH_CALL_DIRECTION_OUTBOUND
,
flags
,
pool
,
switch_event_get_header
(
var_event
,
"origination_uuid"
)
)))
{
return
retcause
;
}
...
...
src/mod/endpoints/mod_rtmp/mod_rtmp.c
浏览文件 @
06a32663
...
...
@@ -590,7 +590,7 @@ switch_call_cause_t rtmp_outgoing_channel(switch_core_session_t *session, switch
goto
fail
;
}
if
(
!
(
*
newsession
=
switch_core_session_request
(
rtmp_globals
.
rtmp_endpoint_interface
,
flags
,
SWITCH_CALL_DIRECTION_OUTBOUND
,
inpool
)))
{
if
(
!
(
*
newsession
=
switch_core_session_request
_uuid
(
rtmp_globals
.
rtmp_endpoint_interface
,
flags
,
SWITCH_CALL_DIRECTION_OUTBOUND
,
inpool
,
switch_event_get_header
(
var_event
,
"origination_uuid"
)
)))
{
goto
fail
;
}
...
...
src/mod/endpoints/mod_skypopen/mod_skypopen.c
浏览文件 @
06a32663
...
...
@@ -1261,7 +1261,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
switch_call_cause_t
*
cancel_cause
)
{
private_t
*
tech_pvt
=
NULL
;
if
((
*
new_session
=
switch_core_session_request
(
skypopen_endpoint_interface
,
SWITCH_CALL_DIRECTION_OUTBOUND
,
flags
,
pool
))
!=
0
)
{
if
((
*
new_session
=
switch_core_session_request
_uuid
(
skypopen_endpoint_interface
,
SWITCH_CALL_DIRECTION_OUTBOUND
,
flags
,
pool
,
switch_event_get_header
(
var_event
,
"origination_uuid"
)
))
!=
0
)
{
switch_channel_t
*
channel
=
NULL
;
switch_caller_profile_t
*
caller_profile
;
char
*
rdest
;
...
...
src/mod/endpoints/mod_sofia/mod_sofia.c
浏览文件 @
06a32663
...
...
@@ -4538,7 +4538,8 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
goto
error
;
}
if
(
!
(
nsession
=
switch_core_session_request
(
sofia_endpoint_interface
,
SWITCH_CALL_DIRECTION_OUTBOUND
,
flags
,
pool
)))
{
if
(
!
(
nsession
=
switch_core_session_request_uuid
(
sofia_endpoint_interface
,
SWITCH_CALL_DIRECTION_OUTBOUND
,
flags
,
pool
,
switch_event_get_header
(
var_event
,
"origination_uuid"
))))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_CRIT
,
"Error Creating Session
\n
"
);
goto
error
;
}
...
...
src/mod/endpoints/mod_unicall/mod_unicall.c
浏览文件 @
06a32663
...
...
@@ -197,7 +197,7 @@ static switch_call_cause_t unicall_incoming_channel(zap_sigmsg_t *sigmsg, switch
*sp = NULL;
if (!(session = switch_core_session_request
(openzap_endpoint_interface, SWITCH_CALL_DIRECTION_INBOUND, SOF_NONE, NULL
))) {
if (!(session = switch_core_session_request
_uuid(openzap_endpoint_interface, SWITCH_CALL_DIRECTION_INBOUND, SOF_NONE, NULL, switch_event_get_header(var_event, "origination_uuid")
))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Initialization Error!\n");
return ZAP_FAIL;
}
...
...
src/switch_core_session.c
浏览文件 @
06a32663
...
...
@@ -1682,6 +1682,11 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_set_uuid(switch_core_session
switch_assert
(
use_uuid
);
if
(
!
strcmp
(
use_uuid
,
session
->
uuid_str
))
{
return
SWITCH_STATUS_SUCCESS
;
}
switch_mutex_lock
(
runtime
.
session_hash_mutex
);
if
(
switch_core_hash_find
(
session_manager
.
session_table
,
use_uuid
))
{
switch_log_printf
(
SWITCH_CHANNEL_SESSION_LOG
(
session
),
SWITCH_LOG_CRIT
,
"Duplicate UUID!
\n
"
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论