Welcome to GotSpeech.NET Sign in | Join | Help

while (speech > milk)

Speech Synthesis and Recognition
Office Communications Server 2007 and Speech Server (2007)

Do you want to have OCS place calls to Speech Server? Well OCS doesn't support the 302 redirects, but don't worry there is a work around.

You'll need to setup a static route between OCS and Speech Server. You'll need to have certificates on both the Speech Server and OCS server and they must trust the CA. You probably already have certificates on the OCS server (or at least should) but you'll need them on Speech Server as well.

Speech Server:
First to get around the 302 redirect messages, you'll need to change the ports on your Speech Server application to listen on non default ports, specfically the TLS port. In the Administrator Console of Speech Server, in the properties of your application, click the Advanced button.

Change the default listening ports to something else, say 5062 for TCP and 5063 for TLS. (The TLS port is the important one in this implementation as OCS only supports TLS)

Next add your OCS server as a trusted SIP Peer.

OCS:

On the OCS machine, go to the Office Communication Server 2007 Management Console
Right click on your server
Select Properties -> Front End Properties
Select “Routing” Tab and click on Add: (This needs to be done per-app.)
Domain: This is the regular expression that the route will match; for example, *.microsoft.com will cause all calls to *@foo.microsoft.com and *@bar.microsoft.com to take this route.
Next Hop: FQDN: The FQDN of the MSS box (e.g., mss.microsoft.com)
Select TLS (TLS is only way that OCS can talk to its trusted peers)
Port: 5063 **This is the TLS port of your application)
Click OK
Select the “Host Authentication” Tab and add the FQDN of the MSS box; check 'Treat As Authenticated'. (You will only need to do this once)
Click OK

 

Posted: Wednesday, August 29, 2007 6:48 PM by MichaelDunn
Filed under: ,

Comments

marshallharrison said:

Just be warned - if you change the default listening ports on the Speech Server applications then your applications won't recycle gracefully.

When the ports are set to default MSS does a 302 to another port when the first cal comes in. All other calls for the application go to the same port. When it is time to recycle the application pool MSS will start sending calls to a different port and let the calls on the original port die gracefully before recycling.

# August 30, 2007 8:34 AM

MichaelDunn said:

If you are running Workflow applications and IIS Application Pool recycles, the current callers are not disconnected. New Callers will not be able to call while it is recycling (which shouldn't take long anyways)

If this is a problem, turn off Recycling.

The idea of recycling according to technet is "Recycling keeps problematic applications running smoothly, especially when it is not feasible to modify the application code."  

So create "good" code...if you are going to turn this off.

# August 30, 2007 10:10 AM

marshallharrison said:

We should always create "good" code. :-)

# August 30, 2007 10:30 AM

baldgeezer said:

Anyone got this working with OCS Edge servers? I had no problem following the guidance above for connecting from internal OCS clients. However, when connecting into OCS via the OCS Edge server remotely, the audio does not route properly from the application back through OCS to the user.

# September 4, 2007 11:13 AM

MichaelDunn said:

Communicator clients support ICE, and can negotiate/resolve across whatever he has between internal and external networks, but MSS does not, and therefore cannot traverse some network objects.

You can either place MSS such that it can see external users directly or build an edge proxy that auto-forwards to MSS, likely using the Unified Communications Managed APIs.

# September 14, 2007 2:50 AM

karum said:

I did everything as described above,

but I still have the problem that only the TCP port is listenning but the TLS does not.

Any idea what went wrong?

# May 27, 2008 3:45 AM

Toelpel said:

I did also everything described above, but don't know how to call the MSS from Communicator 2007?

I've connected the default application in MSS to TLS Port 5063 and configured the OCS-Route, but how to call this app?

Thx for any help...

Chris

# May 27, 2008 6:49 AM

karum said:

You can simulate a SIP endpoint to test connectivity with the VoIP Test Set.

http://www.microsoft.com/downloads/details.aspx?FamilyID=7b6ab4f3-2949-4e97-856e-9c4ae323c75a&displaylang=en

# May 28, 2008 5:14 AM

Toelpel said:

Sorry, i forgot to say that I'm able to call the application with X-Lite, so everything works fine...

But I'd like to call the Exchange 2007 UM AutoAttendant (works fine) and if I press '2' I'll get transfered to a app on the MSS...

(<a href="http://img135.imageshack.us/my.php?image=incomingcallid2.jpg" target="_blank"><img src="http://img135.imageshack.us/img135/5999/incomingcallid2.th.jpg" border="0"></a>)

Someone know how to do this?

Thx a lot!

Chris

# May 28, 2008 6:34 AM

Toelpel said:

Sorry, this is the correct link to an image describing what I'd like to do: http://img135.imageshack.us/my.php?image=incomingcallid2.jpg

# May 28, 2008 6:36 AM
Anonymous comments are disabled