Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
45fb4d27
提交
45fb4d27
authored
10月 15, 2010
作者:
cypromis
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
ssh://git.freeswitch.org/freeswitch
上级
b98401c9
13686844
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
133 行增加
和
78 行删除
+133
-78
mod_voicemail.c
src/mod/applications/mod_voicemail/mod_voicemail.c
+6
-2
Product.wxs
w32/Setup/Product.wxs
+51
-0
Setup.wixproj
w32/Setup/Setup.wixproj
+76
-76
没有找到文件。
src/mod/applications/mod_voicemail/mod_voicemail.c
浏览文件 @
45fb4d27
...
...
@@ -2893,6 +2893,7 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, vm_p
char
*
read_flags
=
NORMAL_FLAG_STRING
;
int
priority
=
3
;
int
email_attach
=
1
;
char
*
operator_ext
=
NULL
;
char
buf
[
2
];
char
key_buf
[
80
];
char
*
greet_path
=
NULL
;
...
...
@@ -2973,6 +2974,8 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, vm_p
vm_enabled
=
!
switch_false
(
val
);
}
else
if
(
!
strcasecmp
(
var
,
"vm-message-ext"
))
{
vm_ext
=
switch_core_session_strdup
(
session
,
val
);
}
else
if
(
!
strcasecmp
(
var
,
"vm-operator-extension"
))
{
operator_ext
=
switch_core_session_strdup
(
session
,
val
);
}
}
}
...
...
@@ -3089,12 +3092,13 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, vm_p
greet_key_press:
if
(
switch_stristr
(
buf
,
profile
->
login_keys
))
{
voicemail_check_main
(
session
,
profile
,
domain_name
,
id
,
0
);
}
else
if
(
!
zstr
(
profile
->
operator_ext
)
&&
!
zstr
(
profile
->
operator_key
)
&&
!
strcasecmp
(
buf
,
profile
->
operator_key
)
)
{
}
else
if
(
(
!
zstr
(
profile
->
operator_ext
)
||
!
zstr
(
operator_ext
)
)
&&
!
zstr
(
profile
->
operator_key
)
&&
!
strcasecmp
(
buf
,
profile
->
operator_key
)
)
{
int
argc
;
char
*
argv
[
4
];
char
*
mycmd
;
if
(
!
zstr
(
profile
->
operator_ext
)
&&
(
mycmd
=
switch_core_session_strdup
(
session
,
profile
->
operator_ext
)))
{
if
((
!
zstr
(
operator_ext
)
&&
(
mycmd
=
switch_core_session_strdup
(
session
,
operator_ext
)))
||
(
!
zstr
(
profile
->
operator_ext
)
&&
(
mycmd
=
switch_core_session_strdup
(
session
,
profile
->
operator_ext
))))
{
argc
=
switch_separate_string
(
mycmd
,
' '
,
argv
,
(
sizeof
(
argv
)
/
sizeof
(
argv
[
0
])));
if
(
argc
>=
1
&&
argc
<=
4
)
{
switch_ivr_session_transfer
(
session
,
argv
[
0
],
argv
[
1
],
argv
[
2
]);
...
...
w32/Setup/Product.wxs
0 → 100644
浏览文件 @
45fb4d27
<?xml version="1.0" encoding="UTF-8"?>
<!-- Platform specific variables -->
<?if $(var.Platform) = x64 ?>
<?define Win64 = "yes" ?>
<?define ProductName = "FreeSWITCH (64 bit)" ?>
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
<?else ?>
<?define Win64 = "no" ?>
<?define ProductName = "FreeSWITCH" ?>
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
<?endif ?>
<Wix
xmlns=
"http://schemas.microsoft.com/wix/2006/wi"
>
<Product
Id=
"b004a325-1272-47e5-a415-a74e9fc99865"
Name=
"$(var.ProductName)"
Language=
"1033"
Version=
"1.0.0.0"
Manufacturer=
"FreeSWITCH"
UpgradeCode=
"3af7020b-1348-45e8-a0cf-80909d4eb421"
>
<Package
InstallerVersion=
"200"
Compressed=
"yes"
/>
<Media
Id=
"1"
Cabinet=
"media1.cab"
EmbedCab=
"yes"
/>
<Directory
Id=
"TARGETDIR"
Name=
"SourceDir"
>
<Directory
Id=
"$(var.PlatformProgramFilesFolder)"
>
<Directory
Id=
"INSTALLLOCATION"
Name=
"FreeSWITCH"
>
<Directory
Id=
"MODLOCATION"
Name=
"mod"
>
</Directory>
<Directory
Id=
"CONFLOCATION"
Name=
"conf"
>
</Directory>
<Directory
Id=
"SOUNDLOCATION"
Name=
"sounds"
>
</Directory>
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
<!-- <Component Id="ProductComponent" Guid="6f1498a7-d029-430b-b9d9-fe12e17bdbab"> -->
<!-- TODO: Insert files, registry keys, and other resources here. -->
<!-- </Component> -->
</Directory>
</Directory>
</Directory>
<Feature
Id=
"ProductFeature"
Title=
"FreeSWITCH Core"
Level=
"1"
>
<!-- TODO: Remove the comments around this ComponentRef element and the Component above in order to add resources to this installer. -->
<!-- <ComponentRef Id="ProductComponent" /> -->
<!-- Note: The following ComponentGroupRef is required to pull in generated authoring from project references. -->
<ComponentGroupRef
Id=
"Product.Generated"
/>
</Feature>
<Feature
Id=
"ProductFeatureConf"
Title=
"FreeSWITCH Configuration Sample"
Level=
"1"
>
<ComponentGroupRef
Id=
"FreeSWITCHConfFiles"
/>
</Feature>
<Feature
Id=
"ProductFeatureSounds"
Title=
"FreeSWITCH Sounds 8Khz"
Level=
"1"
>
<ComponentGroupRef
Id=
"FreeSWITCHSoundFiles8"
/>
</Feature>
<UIRef
Id=
"WixUI_Mondo"
/>
</Product>
</Wix>
w32/Setup/Setup.wixproj
浏览文件 @
45fb4d27
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论