提交 603b0d18 authored 作者: Anthony Minessale's avatar Anthony Minessale

let any channel get messages

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10131 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 42d2c4ad
......@@ -881,13 +881,6 @@ static switch_status_t parse_command(listener_t *listener, switch_event_t **even
}
if ((session = switch_core_session_locate(uuid))) {
if (!switch_channel_test_flag(switch_core_session_get_channel(session), CF_CONTROLLED)) {
switch_core_session_rwunlock(session);
session = NULL;
}
}
if (session) {
if ((status = switch_core_session_queue_private_event(session, event)) == SWITCH_STATUS_SUCCESS) {
switch_snprintf(reply, reply_len, "+OK");
} else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论