FS-5698 --resolve

This commit is contained in:
Anthony Minessale 2013-08-14 02:08:54 +05:00
parent ef62351c47
commit ae64753112
1 changed files with 5 additions and 0 deletions

View File

@ -154,6 +154,11 @@ switch_status_t sofia_presence_chat_send(switch_event_t *message_event)
goto end;
}
if (!from) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Missing From: header.\n");
goto end;
}
if (!zstr(type)) {
ct = type;
}