skip runs when messages are not needed

This commit is contained in:
Anthony Minessale 2010-07-14 18:59:42 -05:00 committed by Jeff Lenk
parent 4b57e7c8b7
commit b55ba88380
1 changed files with 8 additions and 0 deletions

View File

@ -688,6 +688,14 @@ static switch_status_t messagehook (switch_core_session_t *session, switch_core_
const char *outbound_id;
char *sql;
switch (msg->message_id) {
case SWITCH_MESSAGE_INDICATE_BRIDGE:
case SWITCH_MESSAGE_INDICATE_UNBRIDGE:
break;
default:
return SWITCH_STATUS_SUCCESS;
}
channel = switch_core_session_get_channel(session);
outbound_id = switch_channel_get_variable(channel, "fifo_outbound_uuid");