Earlier quoted context omitted.
Blocking numbers won't deter anything, FYI. Those spam calls spoof random numbers (often using your area code). I've received a spam call from myself.
You sure it wasn’t just a single digit off from your phone number? I’ve never gotten a call from myself. Is Caller ID that insecure?
Twilio will even let you spoof “your own number” on their network for outbound calls as mentioned in the article. Yes, they at least verify the number is “yours” before doing it, but it’s not hard to get around that limitation either assuming you have access to the other person’s phone.
Networking of all times has been grossly permissive historically and a lot of it is still today. With a lax upstream bandwidth provider, I could even pretend to have your IP address quite effectively (well, I don’t know a way to get just yours, but I do know how to get yours and the adjoining few hundred next to you).