Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
cfe087ec
提交
cfe087ec
authored
3月 29, 2011
作者:
Jeff Lenk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-3202
上级
06bccf28
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
13 行增加
和
13 行删除
+13
-13
mod_say_de.c
src/mod/say/mod_say_de/mod_say_de.c
+1
-1
mod_say_en.c
src/mod/say/mod_say_en/mod_say_en.c
+1
-1
mod_say_es.c
src/mod/say/mod_say_es/mod_say_es.c
+1
-1
mod_say_fr.c
src/mod/say/mod_say_fr/mod_say_fr.c
+1
-1
mod_say_hr.c
src/mod/say/mod_say_hr/mod_say_hr.c
+1
-1
mod_say_hu.c
src/mod/say/mod_say_hu/mod_say_hu.c
+1
-1
mod_say_it.c
src/mod/say/mod_say_it/mod_say_it.c
+1
-1
mod_say_ja.c
src/mod/say/mod_say_ja/mod_say_ja.c
+1
-1
mod_say_nl.c
src/mod/say/mod_say_nl/mod_say_nl.c
+1
-1
mod_say_pt.c
src/mod/say/mod_say_pt/mod_say_pt.c
+1
-1
mod_say_ru.c
src/mod/say/mod_say_ru/mod_say_ru.c
+1
-1
mod_say_th.c
src/mod/say/mod_say_th/mod_say_th.c
+1
-1
mod_say_zh.c
src/mod/say/mod_say_zh/mod_say_zh.c
+1
-1
没有找到文件。
src/mod/say/mod_say_de/mod_say_de.c
浏览文件 @
cfe087ec
...
...
@@ -327,7 +327,7 @@ static switch_status_t de_say_money(switch_core_session_t *session, char *tosay,
char
*
dollars
=
NULL
;
char
*
cents
=
NULL
;
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
{
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
}
...
...
src/mod/say/mod_say_en/mod_say_en.c
浏览文件 @
cfe087ec
...
...
@@ -394,7 +394,7 @@ static switch_status_t en_say_money(switch_core_session_t *session, char *tosay,
char
*
dollars
=
NULL
;
char
*
cents
=
NULL
;
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
{
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
}
...
...
src/mod/say/mod_say_es/mod_say_es.c
浏览文件 @
cfe087ec
...
...
@@ -362,7 +362,7 @@ static switch_status_t es_say_money(switch_core_session_t *session, char *tosay,
char
*
dollars
=
NULL
;
char
*
cents
=
NULL
;
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
{
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
}
...
...
src/mod/say/mod_say_fr/mod_say_fr.c
浏览文件 @
cfe087ec
...
...
@@ -399,7 +399,7 @@ static switch_status_t fr_say_money(switch_core_session_t *session, char *tosay,
char
*
dollars
=
NULL
;
char
*
cents
=
NULL
;
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
{
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
}
...
...
src/mod/say/mod_say_hr/mod_say_hr.c
浏览文件 @
cfe087ec
...
...
@@ -1016,7 +1016,7 @@ static switch_status_t hr_say_money(switch_core_session_t *session, char *tosay,
int
zadnja_lipa
=
0
;
int
predzadnja_lipa
=
0
;
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
...
...
src/mod/say/mod_say_hu/mod_say_hu.c
浏览文件 @
cfe087ec
...
...
@@ -356,7 +356,7 @@ static switch_status_t hu_say_money(switch_core_session_t *session, char *tosay,
char
sbuf
[
16
]
=
""
;
char
*
forint
;
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
{
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
}
...
...
src/mod/say/mod_say_it/mod_say_it.c
浏览文件 @
cfe087ec
...
...
@@ -355,7 +355,7 @@ static switch_status_t it_say_money(switch_core_session_t *session, char *tosay,
char
*
dollars
=
NULL
;
char
*
cents
=
NULL
;
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
{
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
}
...
...
src/mod/say/mod_say_ja/mod_say_ja.c
浏览文件 @
cfe087ec
...
...
@@ -398,7 +398,7 @@ static switch_status_t ja_say_money(switch_core_session_t *session, char *tosay,
char
*
dollars
=
NULL
;
char
*
cents
=
NULL
;
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
{
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
}
...
...
src/mod/say/mod_say_nl/mod_say_nl.c
浏览文件 @
cfe087ec
...
...
@@ -319,7 +319,7 @@ static switch_status_t nl_say_money(switch_core_session_t *session, char *tosay,
char
*
dollars
=
NULL
;
char
*
cents
=
NULL
;
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
{
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
}
...
...
src/mod/say/mod_say_pt/mod_say_pt.c
浏览文件 @
cfe087ec
...
...
@@ -428,7 +428,7 @@ static switch_status_t pt_say_money(switch_core_session_t *session, char *tosay,
char
*
dollars
=
NULL
;
char
*
cents
=
NULL
;
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
{
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
}
...
...
src/mod/say/mod_say_ru/mod_say_ru.c
浏览文件 @
cfe087ec
...
...
@@ -261,7 +261,7 @@ static switch_status_t ru_say_money(switch_core_session_t *session, char *tosay,
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_INFO
,
" ru_say_money %s
\n
"
,
tosay
);
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
{
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
}
...
...
src/mod/say/mod_say_th/mod_say_th.c
浏览文件 @
cfe087ec
...
...
@@ -422,7 +422,7 @@ static switch_status_t th_say_money(switch_core_session_t *session, char *tosay,
char
*
dollars
=
NULL
;
char
*
cents
=
NULL
;
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
{
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
}
...
...
src/mod/say/mod_say_zh/mod_say_zh.c
浏览文件 @
cfe087ec
...
...
@@ -386,7 +386,7 @@ static switch_status_t zh_say_money(switch_core_session_t *session, char *tosay,
char
*
dollars
=
NULL
;
char
*
cents
=
NULL
;
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
))))
{
if
(
strlen
(
tosay
)
>
15
||
!
(
tosay
=
switch_strip_nonnumerics
(
tosay
,
sbuf
,
sizeof
(
sbuf
)
-
1
)))
{
switch_log_printf
(
SWITCH_CHANNEL_LOG
,
SWITCH_LOG_ERROR
,
"Parse Error!
\n
"
);
return
SWITCH_STATUS_GENERR
;
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论