Bash script to pull call recordings from NetSapiens platform
Disclaimer: This script is provided as an example only. It has not been validated against all errors. There are no guarantees as to functionality or any other outcome. Please review and test on your own.
Credit: This was provided by one of our great clients.
Usage: oitRecordingBackup.sh [-n "phonenumber"] [-s "startdate"] [-e "enddate"] -n "phonenumber" allows you to only download recordings to a specific number instead of the whole domain. -s, -e "startdate" and "enddate" should be provided as "YYYY-MM-DD 23:59:59".