mod_skinny: filter sip mwi events

This commit is contained in:
Nathan Neulinger 2013-07-31 17:16:43 -05:00
parent bb2832eb11
commit 358b6e0835
1 changed files with 4 additions and 0 deletions

View File

@ -2253,6 +2253,10 @@ static void skinny_message_waiting_event_handler(switch_event_t *event)
return;
}
if (!strncmp("sip:", account, 4)) {
return;
}
if (!(yn = switch_event_get_header(event, "mwi-messages-waiting"))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Missing required Header 'MWI-Messages-Waiting'\n");
return;