How do I take an SMS and make a call to alert someone based on what SMS says?

后端 未结 1 443
星月不相逢
星月不相逢 2021-01-29 03:54

So I am trying to take an incoming SMS and based on what the SMS says make a call with a specific recording.

For example:

I have a door sensor with a modem that

相关标签:
1条回答
  • 2021-01-29 04:26

    Twilio evangelist here.

    Hard to tell from your code, as it generally looks right.

    One thing that occasionally trips me up is spaces being rendered before the start of the xml or between the xml declaration and the root element, so you might check for either of those that since those can be hard to catch.

    For example, I'm not sure you need the newline that you have at the end of your xml declaration.

    Hope that helps.

    0 讨论(0)
提交回复
热议问题