Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用我拥有的正确 Twilio 电话号码拨打电话,一旦我知道目标电话号码,我需要以编程方式选择本地号码,这可以使通话尽可能便宜。
有没有一种方法可以使用 Twiml 而无需将 Twilio 电话号码存储在数据库中并从我这边进行检查。
提前致谢。
Twilio 布道者在这里。
您可以使用 REST API 要求 Twilio 为您提供您拥有的所有电话号码的列表,从该列表中选择正确的电话号码,然后动态生成 TwiML。
希望有帮助。