mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-27 21:19:15 +00:00
mod_skinny: filter sip mwi events
This commit is contained in:
1 parent
343cddd914
commit
a8e779fab6
1 file changed
+4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user