If the Skype for Business setup is using Conditional Access to check for Supported Platforms, there is an HTTP request that will get blocked during login (details in thread [497bf3fa72]). Currently my only solution to solve this problem is to edit sipe-http-request.c myself and re-compile. I am guessing updates in the future will cause me to need to modify this string again as minimum required versions might change.
It would be incredibly convenient if there were also an option to override the user agent string for HTTP, similar to how the SIP protocol has a user agent string override.
I've never submitted a feature request before, so please tell me if I need to provide more information.
From your test it is clear that one (SIP) user agent string in the account setting won't solve your issue. We will need to add a separate field for HTTP user agent string.
It was correct to open a feature request for this.
Last edit: Stefan Becker 2018-10-03
Currently SIPE hard-codes the HTTP user agent to
SIPE/<package version>
insrc/core/sipe-http-request.c
.Diff:
Related
Forums: 497bf3fa72
I wonder if a simpler solution might work for your problem: using the same user agent for SIP and HTTP. I vaguely remember considering this during the HTTP stack rewrite, but dismissed it as unnecessary at that time.
Could you please try to set the same user agent string in the account setting AND sipe-http-request.c? I.e. according to the discussion thread use the following string?
I tried your suggested string in both places and it seems like the simpler approach does work.
Can you please try git commit f5dfa63e? Now the code uses the same user agent string for SIP and HTTP requests.
Looks like it's working for me. Using the newest code from git I am able to connect after I append "Android" to the user agent override.
Thanks for confirming. I have update the FAQ page to include the error message.
Closing as FIXED.