Ask A Question

Notifications

You’re not receiving notifications from this thread.

Inbound SMS in Rails with Twilio Discussion

Thanks Chris. Ended up using this to programatically send a text message after a user completes an order, and allow that user to ask questions, creating a conversation, where we can respond from the website.

Reply

Can you use actioncable for when a response comes in? If so, would you be able to post a simple gist snippet for it?? Thanks

Reply

Yes totally, I did it!

Reply

Anyone know why ActionCable throttles the memory of my ubuntu 16.04 server. I'm using phusion passenger and nginx. I saw some instructions for setting up actioncable, but I didn't know it would be mandatory. But yes, I would like to see the gist you have for setting up action cable for incoming responses. Thanks.

Reply

Hey Chris, when I do a User.find_by(phone: params[:From]), I was hoping that it would use a Phonelib object comparison, but it doesn't, so if my user saved their phone number as 3033033003, it is comparing to a text message coming in (twilio_controller.rb) coming from a number with +1 in front. What is the a clean and performent way to make this query work?

Reply

Did anyone else run into this issue?

Reply

I know Chris is kind of busy, but I've been trying for two weeks to link ActionCable up to the TwilioController. Has anyone successfully done this?

Reply

Where are you Stuck?

Reply

Updating the show action when a response is sent back. ActionCable is not rendering the template partial.

Reply

A Twilio Programmable Video implemented with Stimulus would be very much appreciated. Thank you Chris for the hard work.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.