提交 821828f9 authored 作者: Anthony Minessale's avatar Anthony Minessale

tweak code logic

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13309 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 7585c4fa
......@@ -2603,7 +2603,7 @@ void sofia_glue_toggle_hold(private_object_t *tech_pvt, int sendonly)
stream = tech_pvt->profile->hold_music;
}
if (stream && switch_is_moh(stream)) {
if (stream && strcasecmp(stream, "silence")) {
if (!strcasecmp(stream, "indicate_hold")) {
switch_channel_set_flag(tech_pvt->channel, CF_SUSPEND);
switch_channel_set_flag(tech_pvt->channel, CF_HOLD);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论