Saturday, 3 January 2015

CBTN Notes Lync 2013 Video 3 (Server Architecture)

CBTN Notes Lync 2013 Video 2

Know your lync server 2013 roles
***************************************************
Standard Edition Server
***************************************************
Front End Server has the following roles co-located
Ms SQL Express
Mediation Server
Director Server

To use UM you need exchange 2013....
NOTE: Has Zero High Availability.......

CBTN Notes Lync 2013 Video 2 (Introduction to Lync Server 2013)

Study Notes - Video 02 0 Lync Server 2013 Overview:

What is a Unified Communications System (UCS)?
Lync 2013 is a UCS and provides the following services:

email via exchange
voice mail via exchange UM
phones via enterprise voice with a qualified gateway or PBX.
video conferencing, external is via the edge server role.
Instant Messaging via the front end server internally or externally via the edge.

Monday, 29 December 2014

Automatic external / Internal sign in of a lync 2013 client

Automatic external / Internal sign in of a lync 2013 client requires a SRV recod to be in place on within the external DNS.
This record typically points to a seperate internal and an seperate external address of the Ms Lync 2013 pool, assuming you have

No connectivity with the Lync Web App reported every 20 minutes or so in the Lync event log.

The error is something like the following:
No connectivity with the Lync Web App. Affected Web browser clients cannot use Web Conferencing modality.

Server Machine FQDN: lyncfe01.testdomain.com, Port:8061
Server Type: External-WebApp-Edge [HTTP side error:The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.]
If the problem persists this event will be logged again after 20 minutes
Cause: Service may be unavailable or Network connectivity may have been compromised.

Please note this fix will probably need applying to all front end servers.

1. Start IIS Manager
2. expand the tree till you can see application pools
3. check that "LyncExtReach" exists
4. Right click "LyncExtReach" and select "Advanced Setting"
5. Using the start Mode drop down box change it from "OnDemand" to "AlwaysRunning"

Now we will need to restart IIS to activate the change, we can do this by looking for the site in the right hand window.

right click LYNC-FE-01 then click "Stop" then once it has stopped click "Start"

Sunday, 28 December 2014

Reverse Proxy Ports from Microsoft technet


Installing SQL Server Management Studio on the Lync 2013 Front Ends.


  1. Download the required SQL bits from: http://www.microsoft.com/en-us/download/details.aspx?id=29062
  2. When the executable has downloaded, run it with admin rights:
  3. From the menu select "New SQL Standalone or add new feature" from the menu
  4. then select the radio button for "add feature to existing instance" Use the drop down to select "RTCLOCAL" then select Next
  5. On the feature selection page put a tick in "Management tools - basic" then select next.
  6. You should after a short wait get a list of green ticks for the various SQL items.
  7. You should get a "Computer Restart" notification which you should do.
  8. After the restart, Launch SQL Server Management Studio and logon using your credentials.
  9. Assuming everything installed and connected OK you should now be able to run SQL quieries against the RTCLOCAL DB.

UCPRimer Article on Rolling out a WAC server including the certificate request process.

http://www.ucprimer.com/deploying-lync2013-web-apps-server.html

Enterprise Voice Routing Misconceptions

Nice article from Ken Lasko on enterprise voice misconceptions, starting with load balanced / failover routes.

http://ucken.blogspot.co.nz/2014/09/EVMisconceptionsRouting.html

Tuesday, 23 December 2014

Lync 2013 - Site Assignment Issues

If you have an error when publishing your topology after having removed a closed down site, you will likely have a Kerberos error appear in the topology publishing logs, you will need to find out what Kerberos sites you have listed via powershell. So on one of your front ends do the following:

Get-CsKerberosAccountAssignment

SIP Codes

1xx—Provisional Responses

100 Trying
Extended search being performed may take a significant time so a forking proxy must send a 100 Trying response.
180 Ringing
Destination user agent received INVITE, and is alerting user of call.

Monday, 22 December 2014

SIP Primer Etc

SIP Primer.
http://arstechnica.com/business/2011/06/ask-ars-what-small-business-voip-service-is-right-for-me/
Part One:

Centralized Logging Service.

Lync2013 Client Log Files

The location of the Lync2013 client log files have changed and are now located at 
%userprofile%\AppData\Local\Microsoft\Office\15.0\Lync\Tracing.

The always on scenario only logs at the info level
you can run always on with one other custom scenario.
You can create your own custom scenario

NEW - Lync 2013 Client Logon Info

A handy new troubleshooting feature was added to the Lync 2013 client after CU update 4.
if you go in the task bar area & CTRL + Right click the Lync task bar icon, you get a new item appear on the context menu "Sign In Logs".















Lync Central Logging Tool

ClsController.exe -start -scenario AlwaysOn
CLSController.exe -start -scenario IncomingAndOutgoingCall -pools lync2013.apbeta.local
CLSController.exe -search -components Sipstack -pools lync2013.apbeta.local > sip.l

Checking Externall DNS Lync Discover Record

Do an NS lookup looking for lyncdiscover.yourdomain.com
You should get something similar to the following returned.

> lyncdiscover.inteeenet.com
Server:  cache1.service.virginmedia.net
Address:  194.168.4.100

Non-authoritative answer:
lyncdiscover.inteeenet.com      canonical name = ext-proxy-ams.inteeenet.com

inteeenet.com
        primary name server = ns1.dns.inteeenet.net
        responsible mail addr = hostmaster.inteeenet.com
        serial  = 2014121200
        refresh = 10800 (3 hours)
        retry   = 3600 (1 hour)
        expire  = 3600000 (41 days 16 hours)
        default TTL = 3600 (1 hour)
>

Checking External DNS Service Records

Check the service records exist in external DNS by doing a service record lookup

C:\Users\TC>nslookup
Default Server:  cache1.service.virginmedia.net
Address:  194.168.4.100

> set type=srv

<:> Then enter the expected service record name as follows:

> _sip._tls.inteeenet.com
Server:  cache1.service.virginmedia.net
Address:  194.168.4.100

Non-authoritative answer:
_sip._tls.inteeenet.com SRV service location:
          priority       = 0
          weight         = 50
          port           = 443
          svr hostname   = lsedge-gva.inteeenet.com
_sip._tls.inteeenet.com SRV service location:
          priority       = 0
          weight         = 100
          port           = 443
          svr hostname   = lsedge-ams.inteeenet.com

lsedge-gva.inteeenete.com        internet address = 195.21.13.50

Exchange Integration with Lync 2013 (Exchange auto discover)

Service Records in Lync / Exchange 2013:

The Ms Lync client depends heavily on the Exchange web services to integration with Outlook. So if you get the normal prompt for exchange UN & PW when your not expecting it look at the following. 
It will use the SMTP domain to search for the DNS Autodiscover record and web services:
https://testdomain.com/autodiscover/autodiscover.xml
https://autodiscover.testdomain.com/autodiscover/autodiscover.xml
http://autodiscover.testdomain.com/autodiscover/autodiscover.xml

Friday, 19 December 2014

Lync 2013 Drops calls when there is no activity on the call for 30 mins

We had a weird issue where certain end users where dialing a mobile phone, the mobile user would put the call on hold, and 30 seconds after the mobile put the call on hold the mediation / FE would drop the call. This was intermittent which made me wonder if the issue was with one of the two trunks. Strangely both trunks backed off to the same provider but via different routes.

It would appear under certain circumstances Lync 2013 Drops calls when there is no activity on the call for 30 seconds, an example would be when the end user is on a conference call but has the mic muted as he / she is only listening.



Lincoln FE Trunks: (Applied 1st and left to settle for 48 hours).

Set-CsTrunkConfiguration –Identity Service:PstnGateway:172.xx.xx.09-RTCPActiveCalls $false -RTCPCallsOnHold $false -EnableSessionTimer $true

Set-CsTrunkConfiguration –Identity Service:PstnGateway:172.xx.xx.10-RTCPActiveCalls $false -RTCPCallsOnHold $false -EnableSessionTimer $true

Skegness FE Trunks: (Applied 48hours after the 1st change)

Set-CsTrunkConfiguration –Identity Service:PstnGateway:172.xx.xx.11 -RTCPActiveCalls $false -RTCPCallsOnHold $false -EnableSessionTimer $true


Set-CsTrunkConfiguration –Identity Service:PstnGateway:172.xx.xx.12 -RTCPActiveCalls $false -RTCPCallsOnHold $false -EnableSessionTimer $true

Key to default values:

RTCPActiveCalls Default Value = True (we will change to false).


This parameter determines whether RTCP packets are sent from the PSTN gateway, IP-PBX, or SBC at the service provider for active calls. An active call in this context is a call where media is allowed to flow in at least one direction. If RTCPActiveCalls is set to True, the Mediation Server or Lync Server client can terminate a call if it does not receive RTCP packets for a period exceeding 30 seconds.
Note that disabling the checks for received RTCP media for active calls in Lync Server elements removes an important safeguard for detecting a dropped peer and should be done only if necessary.
RTCPCallsOnHold Default Value = True (we will change to false).
This parameter determines whether RTCP packets continue to be sent across the trunk for calls that have been placed on hold and no media packets are expected to flow in either direction. If Music on Hold is enabled at either the Lync Server client or the trunk, the call will be considered to be active and this property will be ignored. In these circumstances use the RTCPActiveCalls parameter.
Note that disabling the checks for received RTCP media for active calls in Lync Server elements removes an important safeguard for detecting a dropped peer and should be done only if necessary.

EnableSessionTimer Default Value = False (we will change to True).

Specifies whether the session timer is enabled. Session timers are used to determine whether a particular session is still active.
Note that even if this parameter is set to False, session timers can be applicable if the remote connection has session timer enabled. In such a case, the Mediation Server will reply to session timer probes from the remote entity.

Wednesday, 3 December 2014

Cisco have finally released access to the VIRL Labs.


Cisco have finally released access to the long awaited virtual routing labs, yep still on layer 2 coverage so you will still need the pile of layer 2 switches that you have in the shed... at least for a little while longer.

The current costs are as follows: $79.99 for the academic version through to $199.99 for the personal edition. It is a download and works in the following Hypervisors:

The following details are from the virl site:

Cisco VIRL In Detail

Cisco 3750x Stacking Guide

Stackwise Basic Rules:
There are three main Cisco IOS Feature Sets.... LAN Base, IP Base, IP Services
You cannot mix the feature sets in the same stack.
All units in the stack must have the same revision of software code
Make sure all switches are powered off when you connect the stack cables.
New switches automatically have a switch stack number of 1 and any changes only take effect when you reload the switch.
You can manipulate the priority value to make a given switch the stack master. Priority values are 1 to 15 with 15 being the highest, so anything with priority 15 would be the stack master.

switch(config)# switch 1 priority 15
switch# copy run start
switch# reload

BIG IP Default UN & PWDs

About default passwords for the pre-defined users

When you initially license the BIG-IQ system, it creates the following administrative roles with a default password.
  • admin
  • root

F5 Labs - List of F5 Training Resources:

List of F5 Training Resources:

Download and Install F5 BIG-IP v11.x / Virtual Edition 11.3.x into Vmware Workstation