Find numbers in Teams, AA and CQ, used and unused

One of my best friends and ex-COWorker has made an script where we can find what numbers are used and what is free. This has been something...