I want user to SMS me(internally forcefully) and provide a SMS by a textbox
to server, and I matched it on the server and process if they are same. the customer should be charged less for SMS, its the main problem.
twilio.com
If I go for an API it will give me a number for receving sms, the user from different countries will charge differently, which I don't want I want user never be charged for internmational SMS, the same thing I think WhatsApp is using.
Asked
Active
Viewed 1,237 times
-2

Ḟḹáḿíṅḡ Ⱬỏḿƀíé
- 2,128
- 5
- 23
- 33

Govind Singh
- 15,282
- 14
- 72
- 106
-
Whatsapp is sending a SMS from THEIR Server to the users phone, and then the code is validated. So the user is not charged for any sms. – webmonkey May 20 '14 at 12:28
1 Answers
1
You have to transfer the users number to your server and then send a sms from your server to the mobile number (via sms gateway - there are several). On the phone (app) you need the permission to read sms and grab the code sent via sms. After that, you have to send the code to your server (or probably you can do this in your app) to match the code. So only YOU are charged for any sent message.

webmonkey
- 1,083
- 1
- 15
- 33
-
ok then why this written on verify your phone number part, `whatsapp messenger will send a one time sms message to verify your phone number.carrier sms charges may apply` – Govind Singh May 20 '14 at 12:40
-
I don't know, but if you read the FAQ (http://www.whatsapp.com/faq/iphone/20902747), you will see, that WhatsApp is sending a message to the users phone. – webmonkey May 20 '14 at 12:48
-
hmm.. in iphone i also don't see this message, but in android this message always shown at the time of register number – Govind Singh May 20 '14 at 12:51
-
2To answer why they say charges may apply - some networks or tariffs may charge for incoming SMS's. For example many plans charge for receiving SMS's when roaming. – Mick May 20 '14 at 13:15