dont fire presence event for the reporting state
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12542 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
98ee6a9dc7
commit
ca2fcf9b9f
|
@ -968,7 +968,7 @@ SWITCH_DECLARE(switch_channel_state_t) switch_channel_perform_set_running_state(
|
|||
|
||||
switch_channel_clear_flag(channel, CF_TAGGED);
|
||||
|
||||
if (channel->state >= CS_ROUTING) {
|
||||
if (channel->state >= CS_ROUTING && channel->state <= CS_HANGUP) {
|
||||
switch_channel_presence(channel, "unknown", (char *) state_names[state], NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue