1 SMS replies: "This phone number is not registered ..." 5 Jez Hailwood posted 11 Years Ago Sending SMS (via Twilio) is working great, but when I reply I receive an SMS response which says "Could not deliver message. This phone number is not registered in the Freedom Church database." That suggests to me that the reply is getting as far as Rock, but Rock isn't able to find my profile based on the incoming phone number. Any idea why that might be? Obviously my phone number is in the database becasue I was able to send the SMS in the first place. What am I missing?
Rock RMS 10 years ago We've taken Jez's work and added it to a page to help share it with others in the UK. If anyone has patterns that work well in other countries please let us know and we'll add them. http://www.rockrms.com/InternationalPhones
Jez Hailwood 11 years ago As far as I can see, everything's good. My number is opted in to SMS (I was able to send the initial communication from Rock) and the SMS From Value has always included the country code. I've tried with and without the '+' and spaces, but nothing has made a difference. My impression from the response message is that Rock doesn't think the phone number of the incoming message matches the number in my profile, but I'm not sure how that can be.
Rock RMS 11 years ago That's an interesting use case to test. If you find that's the case please open an issue and we'll look to see if we can resolve it. You can open an issue here: https://github.com/SparkDevNetwork/Rock/issues
Jez Hailwood 11 years ago Initially I set the SMS response recipient as myself, sent a message to myself through Rock/Twilio, replied, and then received the response "Could not deliver message. This phone number is not registered in the Freedom Church database." I then tried sending to another number, keeping myself as the response recipient, but replies sent from that phone generated the same message.I did wonder if we were running into problems because in the UK our phone number format is 01234 123456, but when adding the international code, the 0 is removed (e.g. 44 1234 123456). I gather this isn't necessary in the US. My phone would report its number to Twilio/Rock as 441234123456, but Rock thinks it's 4401234123456, so the numbers don't match. That said, I changed my phone number in Rock to the equivalent of 1234 123456, but it didn't make any difference.
Frank Grand 10 years ago Hey Jez! Were you ever able to sort this out? If not please submit the issue via github https://github.com/SparkDevNetwork/Rock/issues
Jez Hailwood 10 years ago Yes, I worked it through with Jon Edmiston over email. I'll add the answer here and accept it.