D
D
Daniil Muidinov2016-08-05 19:27:19
PHP
Daniil Muidinov, 2016-08-05 19:27:19

How do I set up federation between Skype for Business Online and Lync Server 2010?

Good afternoon.
One of the potential customers wants to set up the ability to write directly from their Skype for Bussines to ours.
Says we need to set up federation between our server and theirs.
We use S4B online, our partners use Lync Server 2010.
They sent us the federation details for their server.
How to set up federation between our server and theirs?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
B
Bunga, 2016-04-05
@EireenK

At any time, he can upload a picture, and then immediately remove it. Therefore, it will forever remain unused anywhere.

You can not upload pictures to the server when editing an article, but show them, for example, via Blob URLs. And when saving, already do the download and replace these blob urls with real addresses. Here you can see an example of usage ("Import image with Blob URLs" button)

S
Saboteur, 2016-04-04
@saboteur_kiev

You can simply run a scavenger periodically, which will scan all articles and mark unused pictures to be deleted.
For example, a check is started, the timestamp is updated in the base of the image that was found. then sorting by timestamp will show which pictures were not found during this check.
You can simply add such an option to the admin panel and run it manually, or once a week / month at a time of low activity.
It is not good to do a check when editing an article, because one picture can be used in different articles, and a more complex check - brakes during user activity.
You can scatter files into directories as convenient. If the link to the file is in the database, then there are no special rules at all, just for the convenience of maintenance, store it in such a way that the file system does not slow down (for example, no more than several thousand files in one subfolder).

U
uvelichitel, 2016-04-04
@uvelichitel

I issue a token and send it to the imgur.com API with my credentials. habrahabr allows you to simply insert a link to any repository and only relatively recently made your own. In any case, it seems to me that the image storage is more correct to consider as a separate world service, and not part of a monolithic application. Keeping storage at home is very expensive in terms of SSD disks and traffic, so it seems reasonable to use a specialized third_party hosting CDN, there are many of them, including free ones. Wiping drafts looks impolite to the user, maybe he has prepared pictures for the next article or has not yet decided which ones are better, and you throw them in the trash.

V
Vitaly Sivkov, 2016-04-04
@Sivkoff

You can store pictures in folders with article id. An example of a path to a picture with such a storage scheme:
From the pros:
UPD. I'm sorry, I missed the first part of the question.
Storing additional file data is unavoidable if more advanced image management is needed. Of course, it is better to delete while saving the article.

X
xmoonlight, 2016-04-04
@xmoonlight

At any time, he can upload an image, and then immediately remove it
This is normal work with sets.
At the time of saving, we compare two lists: loaded pictures (for the current article) and those in the article.
Extra - delete from storage!
UPD: I store media content in the article folder:
storage/articles/{article_id}/images/
storage/articles/{article_id}/videos/
storage/articles/{article_id}/sounds/
storage/articles/{article_id}/3D/

T
trevoga_su, 2016-04-05
@trevoga_su

I have done this on my ad site : the
picture is loaded through a hidden frame. upon successful loading, the frame draws inputs with the image id into the main page:
and the information about the image is written to the link table, where the ID of the entity to which the image is assigned is NULL the
image can be deleted after loading - simply by excluding this input from the DOM, but the image will remain on the server - cron goes to search for such images. it removes all images and information about them from the link table, where the entity ID is null and the time the image was added is more than an hour (well, to be sure)
after the entity is stored in the database, the entity ID is put in the link table, i.e. there is a fixing of pictures for essence.
+ when I render a list of ads, the template needs to know if the ad has an image and how many.
for this, a trigger hangs on the link table, which, when insert/update/delete
1. counts the number of entity pictures and writes them to the entity table
2. finds the first picture added in time and writes information about it to the entity table - this allows you to display a list of ads and an image without additional requests.
Here is the URL of the image added at 10:11 am and immediately "deleted". Three hours later it will no longer be on the server.
all clear?

R
rustrar, 2016-08-09
@rustrar

Good afternoon
If my memory serves me, then a DNS record (SRV) sipfederationtls should be created on your part, pointing to sipfed.online.lync.com. When adding your domain to o365, you must have gone through this step. if you didn’t add your domain, then you probably don’t need to register anything. In the SfB Online control panel, you also need to enable federation in the Organization section of the External link tab
On the part of your potential customers, federation must be enabled in the External Access Policy. Add your domain to Lync Server 2010 as allowed in the federation settings in the control panel, or in powerhell using the New-CsAllowedDomain command. Edge must have a certificate from an external CA that Microsoft trusts. You also need to add a new provider sipfed.online.lync.com
www.useto.ru/index.php/project/223-office-365-fede...
https://technet.microsoft.com/ru-ru/library/ hh2021...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question