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:
parent
42d2c4ad28
commit
603b0d1872
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue