Reputation: 61
I'm trying to run the example here: https://www.twilio.com/docs/quickstart/python/client/outgoing-calls
I run the flask script on port 5000 and try loading in my browser and I see the input box for my phone number but it just says Loading Pigeons below that. I click Dial and nothing happens.
My application sid, account sid and auth_token are all present. Nothing is showing up in my Twilio debug when I try this. If I view source I can click the link to all 3 javascript files so I know the path to them is good.
My Twilio account also works ok in other applications. I also tried this in Chrome, IE and Firefox, same result in all 3.
Upvotes: 2
Views: 1234
Reputation: 73029
Twilio developer evangelist here.
There appears to be an escaping issue in the Twilio client quick start documentation here.
Where the JavaScript is currently set to:
Twilio.Device.setup("{{ token }}");
It should really say:
Twilio.Device.setup("{{ token }}");
I will raise this with the team responsible and hopefully this will be fixed swiftly. In the meantime, I hope you get your Twilio Client application up and running now. Let me know if I can do anything else to help.
Upvotes: 1