Don't Dial That Digit! Twilio Has Your Back
Lesezeit:
Dieser Beitrag ist Teil des Twilio-Archivs und enthält möglicherweise veraltete Informationen. Sehen Sie sich unsere neuen Beiträge an, um über aktuelle Innovationen und Einblicke von Twilio auf dem Laufenden zu bleiben.

There are certain numbers that you probably don’t want dialed with your Twilio-powered application, such as 911 (taking time away from legitimate emergencies) or 411 (costing you money). Twilio will return a 21202 error “Phone number is a ‘premium’ number” whenever these numbers are dialed:
- 911
- 411
- (any x11 service)
- (XXX)-555-1212
- 900/976
Not only is this helpful for you, but it will enable you to rest assured that outbound applications where a number is specified by your end users won’t be compromised by people trying to prank or call premium paid lines (toll lines) but putting something into the input box that they shouldn’t.
So go ahead, put that phone number input form field on your website or inside your application with the confidence that Twilio will make sure your account doesn’t dial these numbers!
Verwandte Posts
Ähnliche Ressourcen
Twilio Docs
Von APIs über SDKs bis hin zu Beispiel-Apps
API-Referenzdokumentation, SDKs, Hilfsbibliotheken, Schnellstarts und Tutorials für Ihre Sprache und Plattform.
Ressourcen-Center
Die neuesten E-Books, Branchenberichte und Webinare
Lernen Sie von Customer-Engagement-Experten, um Ihre eigene Kommunikation zu verbessern.
Ahoy
Twilios Entwickler-Community-Hub
Best Practices, Codebeispiele und Inspiration zum Aufbau von Kommunikations- und digitalen Interaktionserlebnissen.