Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
468739da
提交
468739da
authored
9月 06, 2012
作者:
Robert Jongbloed
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
More T.38 fax support changes for mod_opal. Not quite there yet.
上级
a580c311
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
90 行增加
和
52 行删除
+90
-52
mod_spandsp_fax.c
src/mod/applications/mod_spandsp/mod_spandsp_fax.c
+12
-12
mod_opal.cpp
src/mod/endpoints/mod_opal/mod_opal.cpp
+75
-39
mod_opal.h
src/mod/endpoints/mod_opal/mod_opal.h
+3
-1
没有找到文件。
src/mod/applications/mod_spandsp/mod_spandsp_fax.c
浏览文件 @
468739da
...
...
@@ -1109,21 +1109,21 @@ static t38_mode_t request_t38(pvt_t *pvt)
if
(
!
(
t38_options
=
switch_channel_get_private
(
channel
,
"_preconfigured_t38_options"
)))
{
t38_options
=
switch_core_session_alloc
(
session
,
sizeof
(
*
t38_options
));
switch_channel_set_private
(
channel
,
"_preconfigured_t38_options"
,
NULL
);
t38_options
->
T38MaxBitRate
=
(
pvt
->
disable_v17
)
?
9600
:
14400
;
t38_options
->
T38FaxVersion
=
0
;
t38_options
->
T38FaxFillBitRemoval
=
1
;
t38_options
->
T38FaxTranscodingMMR
=
0
;
t38_options
->
T38FaxTranscodingJBIG
=
0
;
t38_options
->
T38FaxRateManagement
=
"transferredTCF"
;
t38_options
->
T38FaxMaxBuffer
=
2000
;
t38_options
->
T38FaxMaxDatagram
=
LOCAL_FAX_MAX_DATAGRAM
;
t38_options
->
T38FaxUdpEC
=
"t38UDPRedundancy"
;
t38_options
->
T38VendorInfo
=
"0 0 0"
;
}
t38_options
->
T38MaxBitRate
=
(
pvt
->
disable_v17
)
?
9600
:
14400
;
t38_options
->
T38FaxVersion
=
0
;
t38_options
->
T38FaxFillBitRemoval
=
1
;
t38_options
->
T38FaxTranscodingMMR
=
0
;
t38_options
->
T38FaxTranscodingJBIG
=
0
;
t38_options
->
T38FaxRateManagement
=
"transferredTCF"
;
t38_options
->
T38FaxMaxBuffer
=
2000
;
t38_options
->
T38FaxMaxDatagram
=
LOCAL_FAX_MAX_DATAGRAM
;
t38_options
->
T38FaxUdpEC
=
"t38UDPRedundancy"
;
t38_options
->
T38VendorInfo
=
"0 0 0"
;
switch_channel_set_private
(
channel
,
"t38_options"
,
t38_options
);
switch_channel_set_private
(
channel
,
"_preconfigured_t38_options"
,
NULL
);
switch_channel_set_private
(
channel
,
"t38_options"
,
t38_options
);
pvt
->
t38_mode
=
T38_MODE_REQUESTED
;
switch_channel_set_app_flag_key
(
"T38"
,
channel
,
CF_APP_T38_REQ
);
...
...
src/mod/endpoints/mod_opal/mod_opal.cpp
浏览文件 @
468739da
差异被折叠。
点击展开。
src/mod/endpoints/mod_opal/mod_opal.h
浏览文件 @
468739da
...
...
@@ -305,7 +305,9 @@ class FSConnection : public OpalLocalConnection
void
SetCodecs
();
bool
WaitForMedia
();
#if HAVE_T38
void
SetT38OptionsFromMediaFormat
(
const
OpalMediaFormat
&
mediaFormat
);
void
SetT38OptionsFromMediaFormat
(
const
OpalMediaFormat
&
mediaFormat
,
const
char
*
varname
);
bool
IndicateSwitchedT38
();
void
AbortT38
();
#endif
switch_status_t
read_frame
(
const
OpalMediaType
&
mediaType
,
switch_frame_t
**
frame
,
switch_io_flag_t
flags
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论