Question

I just need to forward whatever incoming SMS to my mobile phone. I would prefer to just use a Twimlet like Echo but what I've tried so far doesn't work.

https://www.twilio.com/labs/twimlets/echo

Ex:

Where should be or be replaced with whatever keyword is used for the body of the incoming text.

Was it helpful?

Solution

Twilio evangelist here.

Unfortunately I'm not sure there is a way to do this by using Twimlets since we don't have one that knows how to grab the body of the inbound message and use it generate the TwiML needed to send a new outbound message.

Its a good idea though and I've passed it to the team that owns Twimlets.

If you don't want to run your own server, then you could look at using a service like Parse (which has a free tier and an integrated Twilio SDK) to stand up a simple endpoint that takes the inbound message body and then asks Twilio to send a new outbound message with that body.

devin

OTHER TIPS

There is a way to do this now.

http://twimlets.com/echo?Twiml=<Response><Message>Hello there!<%2FMessage><%2FResponse>

This twimlet was built for voice, but I have tested it with SMS and it works.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top