Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Shane Hoey shanehoey

I may be slow to respond.
View GitHub Profile
shanehoey /
Last active Nov 23, 2022
Simulated Internet outage with a Teams Survivable Branch Appliance

Simulated Internet outage with a teams Survivable Branc Appliance.

The following Information is the minimum information you will need to test a single Windows Teams Client for survivability. You will need to update these values to reflect your environment.

SBA Value
SBA Fqdn
SBA IP Address
SBA Subnet
SBA Gateway
View github.http
@owner = shanehoey
@repository = shanehoey
@token = {{ $processEnv GITHUBtoken }}
### Check rate limit
Accept: application/vnd.github+json
Authorization: token {{token}}
### get user
shanehoey / directrouting.ps1
Last active May 23, 2022
Direct Routing Audit
View directrouting.ps1
# Display
Get-CsOnlinePSTNGateway | Select-Object * | Format-list
Get-CsOnlinePstnUsage | Select-Object * | Format-list
Get-CsOnlineVoiceRoute | Select-Object * | Format-list
Get-CsOnlineVoiceRoutingPolicy| Select-Object * | Format-list
Get-CsVoiceRoutingPolicy | Select-Object * | Format-list
Get-CsTenantDialPlan | Select-Object * | Format-list
shanehoey /
Last active May 14, 2022
Snooey Theme syntax files

brand[x].Yaml Syntax

layout: &layout
    class:   # class
    style:   # style
 class: # class
shanehoey /
Last active Apr 29, 2022
Direct Routing Firewall Requirements

Direct Routing Firewall


Traffic From To Source port Destination port
SIP/TLS, SBC 1024 – 65535 Defined on the SBC
SIP/TLS SBC, Defined on the SBC 5061
UDP/SRTP, SBC 3478-3481 and 49152 – 53247 Defined on the SBC
shanehoey /
Last active Aug 2, 2022
Troubleshooting a Teams Survivable Branch Appliance

Troubleshooting Teams SBA

Supported Clients

  • Microsoft Teams Windows desktop
  • Microsoft Teams macOS desktop
  • Microsoft Teams for Mobile
  • Microsoft Teams Phones