Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
e422b31e
提交
e422b31e
authored
9月 11, 2012
作者:
Kapil Gupta
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
renaming stats counter from fax to t38
上级
d1c04ef6
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
5 行增加
和
4 行删除
+5
-4
media_gateway_cli.c
src/mod/endpoints/mod_media_gateway/media_gateway_cli.c
+1
-1
media_gateway_cmd_handler.c
...d/endpoints/mod_media_gateway/media_gateway_cmd_handler.c
+3
-2
mod_media_gateway.h
src/mod/endpoints/mod_media_gateway/mod_media_gateway.h
+1
-1
没有找到文件。
src/mod/endpoints/mod_media_gateway/media_gateway_cli.c
浏览文件 @
e422b31e
...
...
@@ -988,7 +988,7 @@ switch_status_t handle_show_stats(switch_stream_handle_t *stream, megaco_profile
stream
->
write_function
(
stream
,
"Total Number of RTP ADD received = %d
\n
"
,
mg_profile
->
mg_stats
->
total_num_of_rtp_add_recvd
);
stream
->
write_function
(
stream
,
"Total Number of SUB received = %d
\n
"
,
mg_profile
->
mg_stats
->
total_num_of_sub_recvd
);
stream
->
write_function
(
stream
,
"Total Number of CALL received = %d
\n
"
,
mg_profile
->
mg_stats
->
total_num_of_call_recvd
);
stream
->
write_function
(
stream
,
"Total Number of T38
-FAX CALL received = %d
\n
"
,
mg_profile
->
mg_stats
->
total_num_of_fax_call_recvd
++
);
stream
->
write_function
(
stream
,
"Total Number of T38
CALL received = %d
\n
"
,
mg_profile
->
mg_stats
->
total_num_of_t38_call_recvd
);
stream
->
write_function
(
stream
,
"Total Number of IN-Service Service change sent = %d
\n
"
,
mg_profile
->
mg_stats
->
total_num_of_term_in_service_change_sent
);
stream
->
write_function
(
stream
,
"Total Number of Out-Of-Service Service change sent = %d
\n
"
,
...
...
src/mod/endpoints/mod_media_gateway/media_gateway_cmd_handler.c
浏览文件 @
e422b31e
...
...
@@ -760,8 +760,6 @@ switch_status_t handle_mg_add_cmd(megaco_profile_t* mg_profile, MgMgcoCommand *i
mg_apply_tdm_dtmf_removal
(
term
,
mg_ctxt
);
if
((
MG_TERM_RTP
==
term
->
type
)
&&
(
term
->
u
.
rtp
.
t38_options
))
mg_profile
->
mg_stats
->
total_num_of_fax_call_recvd
++
;
mg_apply_tdm_ec
(
term
,
mg_ctxt
);
...
...
@@ -1085,6 +1083,9 @@ switch_status_t handle_mg_modify_cmd(megaco_profile_t* mg_profile, MgMgcoCommand
mg_apply_tdm_ec
(
term
,
mg_ctxt
);
if
((
MG_TERM_RTP
==
term
->
type
)
&&
(
term
->
u
.
rtp
.
t38_options
))
mg_profile
->
mg_stats
->
total_num_of_t38_call_recvd
++
;
mg_print_t38_attributes
(
term
);
/* SDP updated to termination */
...
...
src/mod/endpoints/mod_media_gateway/mod_media_gateway.h
浏览文件 @
e422b31e
...
...
@@ -68,7 +68,7 @@ typedef struct mg_stats_s{
uint32_t
total_num_of_rtp_add_recvd
;
uint32_t
total_num_of_sub_recvd
;
uint32_t
total_num_of_call_recvd
;
uint32_t
total_num_of_
fax
_call_recvd
;
uint32_t
total_num_of_
t38
_call_recvd
;
uint32_t
total_num_of_add_failed
;
uint32_t
total_num_of_term_already_in_ctxt_error
;
uint32_t
total_num_of_choose_ctxt_failed_error
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论