media: disable OCS fallback when on SfB server
commite395ea6b7b88866548d5ab4d923b85cb77a1db20
authorJakub Adam <jakub.adam@ktknet.cz>
Tue, 7 Feb 2017 18:06:03 +0000 (7 19:06 +0100)
committerJakub Adam <jakub.adam@ktknet.cz>
Tue, 7 Feb 2017 18:38:40 +0000 (7 19:38 +0100)
treee7fc8bbd534dd17639bf91f3a6526ce2a1ede150
parent62d137732344c4eed6ad923afb8432b0ecdbf707
media: disable OCS fallback when on SfB server

SfB clients no longer send initial call INVITE in multipart/alternative
format with ms-proxy-2007fallback section meant as a compatibility mode
with old OCS clients, and at least the client for Windows Phone replies
with 488/Not Acceptable Here upon receiving such invitation from Sipe.

Since we can be reasonably confident we won't ever encounter ancient
clients in SfB environment, let's disable the fallback mode if we detect
our server is Skype for Business.
src/core/sipe-media.c