In some cases, we must retain certain analog phones in our otherwise VoIP environment. Let’s configure Analog Device support in our Lab.
This task requires the following steps:
- Configuring Gateway in our Lync Topology
- Configuring the Gateway (AudioCodes MP-114 in this case) to work with Lync
- Create contact Analog Device object in Lync.
As we can see, no mediation server is associated.
At this point, TB detects our topology is not valid.
Let’s associate the gateway with our co-located mediation.
***Note that I will use TCP and also the default ports to make it simple.
Now Lync is “happy” and we can publish the topology.
***ALERT! Always pay attention if there is a message from TB. In this case I am reminded two things – I must run “local setup” i.e. Lync Server Deployment Wizard on the front end (because the mediation is co-located and we just enabled TCP. Lync Mediation, as its predecessor OCS R2 Mediation, does not support dynamic change of ports thus the service must be restarted in order to star the listener on the new/changed port.
After completing the above steps, I will now move to AudioCodes (a.k.a. AC) gateway.
Refer to the AC documentation as of how to access the device for first time. Once done, the first step is to provision an IP address which we will use in conjunction with Lync.
Next, we will set “Use default Proxy” to “Yes” if it is “No” as in this case
At this point, proceed to “Proxy Set Table” and configure our “Proxy” (Mediation Server FQDN or IP address).
***Note that here I specified the port number. This is because above, we set Lync Mediation to listen on port 5068.
Navigate to “Sip General Parameters” and modify the following:
- Enable Early Media – Enable
- Fax Signaling Method – G.711 Transport
- SIP TCP Local Port – 5066
***This is because in our Topology, we specified Gateway Listening port = 5066
Navigate to “EndPoint Phone Number” and enter the phone number for this analog device. I will use “fake” number for our test. The reason I use 14785552020 and not E.164 is because in the previous post I instructed Lync to remove “+” from any outbound routing.
Navigate to “Hunt Group Settings” and configure as follow:
Make sure “Max Digits in Phone Num” is bigger than the phone number you intend to dial out.
***MP-114 have two FXS ports i.e. we could have as many as two analog phone connected to it, furthermore we want the phones to be discovered “By Dest Phone Number”
Go to “IP to Trunk Routing” and modify as shown:
Let’s now create our Analog Device contact:
New-CsAnalogDevice -LineUri tel:+14785552020 -DisplayName "My Test Analog Device" -RegistrarPool fe.drago.local -AnalogFax $False -Gateway 10.8.0.11 -OU "ou=Telecommunications,dc=drago,dc=local"
This should be sufficient to test our Analog Phone.
From the analog phone, dial 14785554040 (the number of my Lync User 2).
From Lync client, dial 14785552020 (the analog device phone number).
This is very simple setup. There are more advanced features like TLS inmplementation, FXO ports configuration etc, but for now our POC was successful.
04/24/2011 ***Update: see this post: