Showing posts with label Skype for Business. Show all posts
Showing posts with label Skype for Business. Show all posts

Wednesday, 25 January 2023

List of Agents in Skype Work Groups

To get a list of agents in a skype work group run the following command via PowerShell:

++++++++++++++++++++++++++++

Get-CsRgsAgentGroup | select Name, @{Name=’AgentsByUri’;Expression={[string]::join(",", ($_.AgentsByUri))}} | Export-Csv agent-export.csv

++++++++++++++++++++++++++++

This can then be opened in Excel and manipulated to be used easier..

Open in Excel and "text to data" the AgentsByUri column, copy and then paste with "transpose" option to get in a nice format.

Monday, 1 July 2019

Skype Server Patch CU Downloads

As you know MS remove old CU patches and re-use the same KB Number to release new Skype for Business Patches (CU's).  I had found this link in the past but had managed to loose it..

Direct link to OneDrive

Thanks to Martin Boam for keeping the old CU's available.

Tuesday, 11 June 2019

Get-CsVoiceRoute - View PstnGatewayLists

Always loosing this command, and takes me a few tries to find it again for what I'm looking for.

In the CSCP when looking at the associated trunks of a voice route, the trunk names are "truncated" and not fully displayed.



The command "Get-CsVoiceRoute" will display the full list of gateways that have been associated..


The above images is showing three (3) PstnGateways configured for the "Emergency" voice route

Monday, 20 May 2019

Call Dropping at 30 seconds when placed on hold

This has been done on many other blogs around the place, but I ALWAYS seem to get the first step wrong.

When trying to change the following values:
-RTCPActiveCalls
-RTCPCallsOnHold
-EnableSessionTimer

First step is "New-CsTrunkConfiguration", NOT "Set-CsTrunkConfiguration"

Trying to run the "Set-CsTrunkConfiguration" first will result in errors like below

Tuesday, 4 December 2018

MoH - Skype, AudioCodes and an SIP Carrier

Troubleshooting an MoH issue today, where a SfB client would places a PSTN caller on hold, and the PSTN caller would get no MoH.  

SBC connection to PSTN was via a SIP trunk.

What I found was:
When call placed on hold from SfB client the INVITE had sdp of a=sendonly
This was received by the SBC and the AudioCodes "Remote Hold Format" on the IP Profile associated with the Skype side was set to "Transparent"

The "Remote Hold Format" on the ITSP side was also set to "Transparent"

In this instance the INVITE was forward to the carrier with an a=sendonly attribute.

But the ITSP would reply with a "200 OK" but the attribute was set to a=inactive.  This effectively shutdown the media path and the ITSP would not get the MoH stream from the SBC.



The Fix:
After reading the manual for the AudioCodes SBC and seeing what all the values in the "Remote Hold Format"



  • Transparent = (Default) Device forwards SDP as is.
  • Send Only = Device sends SDP with 'a=sendonly'.
  • Send Only Zero ip = Device sends SDP with 'a=sendonly' and 'c=0.0.0.0'.
  • Inactive = Device sends SDP with 'a=inactive'.
  • Inactive Zero ip = Device sends SDP with 'a=inactive' and 'c=0.0.0.0'.
  • Not Supported = This option can be used when the remote side does not support call hold. The device terminates call hold requests received on the leg interfacing with the initiator of the call hold, and replies to this initiator with a SIP 200 OK response. However, call retrieve (resume) requests received from the initiator are forwarded to the remote side. The device can play a held tone to the held party if the 'SBC Play Held Tone' parameter is set to Yes.
  • Hold and Retrieve Not Supported = This option can be used when the remote side does not support call hold and retrieve (resume). The device terminates call hold and call retrieve requests received on the leg interfacing with the initiator of the call hold/retrieve, and replies to this initiator with a SIP 200 OK response. Therefore, the device does not forward call hold and/or retrieve requests to the remote side.
When the "Remote Hold Format" on the IP Profile associated with the ITSP was change to Hold and Retrieve Not Supported, the behavior of the SBC was changed to that once it received the INVITE with a=sendonly, it did NOT forward to the ITSP, so the media path was never altered from SBC to ITSP, and MoH was then played to the PSTN caller..





Tuesday, 27 February 2018

Lync/SfB Address Book Files

Found this great article when looking at issue for a customer the other day around how the client address book file name are generated..

https://ucblog.info/2016/04/16/lync-address-book/

Screen shots below are from the above blog link.


Wednesday, 17 June 2015

Get-SfBNumbers.ps1 Customisation

This is a fantastic script by StÃ¥le Hansen that is available for Lync 2010, Lync 2013 and Skype for Business 2015.  It allows you to move away from spreadsheets for number management and utilize the real-time configuration of the Lync environment to know what numbers have been allocated and are in use.

The script is available from the TechNet Galleries:
https://gallery.technet.microsoft.com/lync/Get-Skype-for-Business-f2af9408

More information is available on:
http://SfBNumbers.net

To customise for your deployment I have found the following things to complete:
1. Update the Custom Number Ranges for your sites


2. Set the number of digit you use for your extension length:

Genesys - BYOC Cloud

Post to identify links and IPs for Genesys BYOC as of 17th July 2026. BYOC Cloud public SIP IP addresses Dynamic Cloud Voice platform Follow...