anassfiqhi / google-voice-java

Automatically exported from code.google.com/p/google-voice-java
0 stars 0 forks source link

Not able to send SMS through sendSMS API #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using google-voice-java for sending SMS to US and India Numbers
2. Code Snippet used 

   Voice voice = new Voice("userName","password);
   voice.sendSMS("00919840161648","Hey !");

3. Getting the following exception
https://www.google.com/accounts/ClientLogin - OK
Logged in to Google - Auth token received
https://www.google.com/voice/ - OK
Successfully Received rnr_se.
Exception in thread "main" java.io.IOException: Server returned HTTP response 
code: 500 for URL: https://www.google.com/voice/sms/send/

What is the expected output? What do you see instead?
SMS should be sent, but instead receiving this error and SMS is also not being 
sent.

What version of the product are you using? On what operating system?
google-voice-java-1.8-java5.jar

Please provide any additional information below.

Original issue reported on code.google.com by myvirtua...@gmail.com on 26 Aug 2011 at 5:28

GoogleCodeExporter commented 9 years ago
Can you provide the correct format in which we need to specify the Phone Number 
For e.g 
If its a US Number - 01408******* 
For India Number - 9199******** or 0119199********

Original comment by myvirtua...@gmail.com on 26 Aug 2011 at 6:43

GoogleCodeExporter commented 9 years ago
To my knowledge and experience, Google Voice does not make SMS internationally.

Original comment by malone.j...@gmail.com on 28 Aug 2011 at 5:21