Invalid Numbers
- This topic has 5 replies, 2 voices, and was last updated 11 years, 6 months ago by
Steven McNeese.
-
AuthorPosts
-
August 13, 2013 at 4:01 pm #4616
Steven McNeese
ParticipantI was testing to see how the API handles sending text messages to invalid numbers (like a land line). I sent a test message to my office number through the API and received a success and messageID back. A short time later, I received a text message into the box from number 112-161-1611 and message that said:
“1972xxxxxxx Error Invalid Number. Please re-send using a valid 10 digit mobile number or valid short code. This is a test message that will fail”
Can you please explain where the inbound number came from? Is this a random from number assigned by the carrier we are using in the iSMS server?
-
This topic was modified 11 years, 6 months ago by
Steven McNeese.
August 13, 2013 at 4:43 pm #4618Bryon Davis
ModeratorHi Steven,
The Invalid Number message must have been generated by your carrier, or the carrier of the recipient number. Which number are you referring to? The from number 112-161-1611 is the number from the automated system that sent the error response. I’m not sure where the 1972xxxxxxx came from, is this the number you sent it to? it could possibly the sms center number assigned to the SIM.Regards,
BryonAugust 13, 2013 at 5:03 pm #4619Steven McNeese
ParticipantByron,
Thanks for the quick response. Sorry for the confusion. The 1972xxxxxxx is the number i was sending to. It is my office so I just masked it out. The 112-161-1611 is the from number of a text message I received shortly after sending the original message to the land line. My assumption is that it is coming from the carrier.
In our solution, customer often give us land lines so I am trying to figure out the best way to capture this issue. I’m going to assume that the message comes from our carrier and that the format will be consistent. Then I will change the listener to look for these “Invalid Number” messages and update the status of the original outbound message.
Can you tell me what happens if the destination number does not have texting capabilities or has texting blocked? Is that a similar situation that will specific to the carrier we are using?
Thank you,
Steve
August 14, 2013 at 8:22 am #4621Bryon Davis
ModeratorHi Steven,
I think the results will vary depending on the recipient’s carrier, and may not be a dependable indicator that a recipient has sms capabilities. Although receiving that response message would definitely indicate that recipient does not have sms capabilities.Regards,
BryonAugust 14, 2013 at 8:23 am #4622Bryon Davis
ModeratorIn my testing, I do not receive a message back when sending to my land line.
August 14, 2013 at 8:37 am #4623Steven McNeese
ParticipantI just tested sending to other numbers services by different phone companies. I get the message consistently regardless of the land line phone company. So, I think it is coming from our carrier we are using on the iSMS server which is AT&T. It is nice because the responding message includes the number and original message so it will be easy to find the outbound message in our database and update the error_code to indicate Invalid Number.
-
This topic was modified 11 years, 6 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.