Showing posts with label Lync. Show all posts
Showing posts with label Lync. Show all posts

Monday, January 10, 2011

Trimming WMA File Duration

A part of dial-in conferencing services that we just shipped as a part Microsoft Lync 2010 has to do with recording a name for an anonymous user when joining a conference and then playing it during the conference (e.g. "Mike Johnston has joined the conference").

The problem here is that sometimes, depending on a Gateway, there is an ending beep (recorded from the '#' sign that a user presses when she is done with recording). It is difficult to predict in advance how many milliseconds should be cut from the user name recorded file (since in some systems there is no trailing beep at all). By default we cut 500 milliseconds and let the administrator the possibility to configure a different value if she wants to.

What is the best way for admin to figure out how many milliseconds should be trimmed from a file containing a beep? Easy - here is a tool that when run creates a serie of files with n milliseconds  trimmed from its end. Unfortunately it was too late to include this tool as a part of Lync Reskit Tool but this issue should be definitely fixed by the next Lync release.

Instructions:
  • Download the tool, unzip it, and place the executable to a directory, say C:\trim
  • Copy a WMA file containing the trailing beep to the same directory and name it target.wma
  • Run the tool trimfile.exe without any parameters
  • As a result 21 files reslt100.wma, result150.wma, ..., result1000.wma will be created and placed to the same directory. The number indicates (approximate) number of milliseconds cut from the file.
  • Listen to the resulting files to figure out how many milliseconds should be cut from the file.
The tool was created using Windows Media C++ libraries. If you want to play around with it, take a look at main.cppWMVCopy.h and WMVCopy.cpp

Thursday, December 23, 2010

Microsoft Lync 2010 Resource Kit Tools

Microsoft has started publishing Lync 2010 Resource Kit articles online. First article: Call Park-o-Meter has been written by me. It is nice to be first:)

It is about a tool that I have written to faciltate usage of the Lync Call Park Service, that I have been developing in Microsoft Zurich Development Center. The difference between a service which is a part of Microsoft Lync Server and a Microsoft Lync Reskit tool is that the latter is not shipped together with the product but can be downloaded and installed separately.

It is unclear if a hard copy will be published this time as it was for OCS 2007 R2 Reskit book.
I published a sidebar there for OCS RGS (Response Group Service). RGS is another voice application that is also being developed in Zurich Development Center.

Tuesday, November 23, 2010

Moscow, MS Platforma 2011

I just returned from MS Platforma Conference in Moscow.

It is the biggest IT event in Russia - to popularize Microsoft Software, solutions, and talk about what's new among Russian and a few former "CCCP" IT specialists.

This time it coincided with Microsoft Lync launch - I am also a developer for Lync at Microsoft Zurich Development Center. I participated in two cojoint talks about Lync: gave a demo on Lync Architecture session and talked about dial-in conferencing in another session.

The conference was greatly organized and was an excellent experience.
Hope to be invited to go there next year as well:)

Here are some pics from the sessions:





There is a good blog by Sergey Trofimov, who participated in this event about this conference.