Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twilio Driver uses TwiML API, meaning it can never originate a conversation. #4

Closed
DanielCoulbourne opened this issue Mar 19, 2018 · 4 comments

Comments

@DanielCoulbourne
Copy link
Contributor

Twilio's TwiML API format is 100% based on the client (botman) issuing responses on a webhook URL. This means that we can never initiate a conversation.

@mpociot
Copy link
Member

mpociot commented Mar 19, 2018

Hm right. We would need to use this POST endpoint: https://www.twilio.com/docs/api/messaging/send-messages
It requires the AccountSid , which the driver currently does not use.

I can add this and tag a 2.0 👍

@DanielCoulbourne
Copy link
Contributor Author

Check out the diff on this branch. It's still broken (for somereason $message->getSender() is null) but it's close
https://github.com/DanielCoulbourne/driver-twilio/tree/dev-twilio-initiate-bugfix

@jstowell29
Copy link

Would love to see this added in order to initiate a conversation...

@mpociot
Copy link
Member

mpociot commented May 30, 2018

I updated the Twilio driver to have support for this 👍
c6accd7

@mpociot mpociot closed this as completed May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants