let any channel get messages

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10131 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-10-23 13:04:08 +00:00
parent 42d2c4ad28
commit 603b0d1872
1 changed files with 0 additions and 7 deletions

View File

@ -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 {