mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
mod_skinny: filter sip mwi events
This commit is contained in:
parent
343cddd914
commit
a8e779fab6
@ -2253,6 +2253,10 @@ static void skinny_message_waiting_event_handler(switch_event_t *event)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!strncmp("sip:", account, 4)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!(yn = switch_event_get_header(event, "mwi-messages-waiting"))) {
|
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");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Missing required Header 'MWI-Messages-Waiting'\n");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user