I was cleaning my home office this morning and found old GrandStream HT503 ATA device. Ah, memories J - he first device I connected to OCS Mediation server. My immediate thought was – Lync Analog Device Support! Wouldn’t be nice if I can use it?
I must say right away – while the device is packed with features – SIP over TCP and TLS support etc., whoever wrote the GIU must had the sole goal to pull a joke – it is so confusing and scattered.
This will be a very basic walk-through of HT503 configuration in order to be used with Lync 2010.
First we must configure Gateway in Topology builder. For detail instruction, refer to this post: http://www.lynclog.com/2011/04/analog-phone-support-with-lync-2010.html
In this example, I used 10.20.50.70 as IP address for my Gateway, 5066 as listening port for SIP traffic, and assigned the Gateway to my co-located Mediation server as I did with MP-114.
Next, I provisioned new Analog Phone application contact in Lync.
New-CsAnalogDevice -LineUri tel:+14785552021 -DisplayName "Grandstream HT503" -RegistrarPool fe.drago.local -AnalogFax $False -Gateway 10.20.50.70 -OU "ou=Telecommunications,dc=drago,dc=local"
Published the Topology of course, and moved to HT503, where the nightmare began.
The device has two ports – LAN and WAN. I will use LAN port to manage the device and will connect WAN port to the subnet where my Lync server resides. The default IP address of HT503 is 192.168.2.1 and so, I setup a secondary IP on my NIC – 192.168.2.2 and MASK – 255.255.255.0. How, I was able to get to the device’s web site.
…and logged with the default password “admin”
Went to “Basic Settings” and was like “Damn!”...
First I configured the IP address of the WAN port with IP 10.20.50.70 (remember, this is the IP I used in Topology Builder).
Leave the rest untouched. As usual, this is Proof Of Concept and we want to see if it will work to begin with.
Skip “Advanced Setting”. Fancy features we will not touch now. Move to “FXS PORT” tab. FXS (Foreign eXchange Subscriber interface) is the RJ11 port we connect an Analog Phone and we must setup just a few basic parameters.
Set the following parameters as follow:
Primary SIP Server to the IP address and port of your Mediation Server and the rest as shown. Compare your settings for each parameter to one on the screenshots.
Click Update and then reboot on the next screen. The device will reboot and will be accessible in about 30 seconds.
Login back and navigate to FXO PORT. Enter your Mediation server IP address and port in |Outbound Proxy line. Again, compare your device’s parameters line by line and make sure all are set as shown.
Again – click Update and then reboot the device.
Now we can test the configuration. My Lync Test User 2 has phone number +14785554040, which I will dial from the Analog Phone connected to the FXS port of HT503.
It works. I was able to establish two way audio communications. I am yet to find out why the call arrives as “Anonymous Caller”, but our POC was successful.