Skip to content

Instantly share code, notes, and snippets.

@ZionDials
ZionDials / Format-CUCMDirectory.ps1
Created July 11, 2022 11:28
Extract CUCM 12.5 Directory Information and Export to CSV
<#
.SYNOPSIS
Exports CUCM 12.5 Directory to a CSV file.
.DESCRIPTION
This PowerShell script will export and convert Cisco Unified Call Manager Directory data to CSV format.
.PARAMETER URL
The URL of the AXL API
.PARAMETER Credentials
The credentials to use for the AXL API
.PARAMETER OutputFile
@ZionDials
ZionDials / Format-LD95.ps1
Created July 10, 2022 02:27
Use Powershell to Format CS1000 PuTTY Log for Directory (LD 95)
<#
.SYNOPSIS
Cleans CS1000 PuTTY Log to create a CSV file for import into a spreadsheet.
.DESCRIPTION
This PowerShell script cleans up the PuTTY log file created by the CS1000. Example:
>ld 95
REQ prt
TYPE name
CUST 0
PAGE
@ZionDials
ZionDials / kamailio.cfg
Last active June 17, 2024 05:17
Hardening Your Kamailio Configuration with secfilter and GeoIP2
#!KAMAILIO
#!define WITH_MYSQL
#!define WITH_GEOIP2
#!define WITH_SECFILTER
#!define WITH_ANTIFLOOD
#!define WITH_AUTH
#!define WITH_IPAUTH
#!define WITH_USRLOCDB
#
# Kamailio SIP Server v5.6 - default configuration script