What is the URL for making a Google Voice call using a direct access number?

I am trying to write a Google Voice app and wondered if anyone knows the URL and message parameters to make a call using a direct access number rather than a call back.

+4
source share
3 answers

I have not tested it, but check this api: http://code.google.com/p/google-voice-java/

In particular, voice.java on line 711 , which is a method:

 public String call(String originNumber, String destinationNumber, String phoneType) throws IOException { 

On line 737 they use:

 URL callURL = new URL("https://www.google.com/voice/call/connect/"); 

and full comments on the methods say:

  // POST /voice/call/connect/ // outgoingNumber=[number to call] // &forwardingNumber=[forwarding number] // &subscriberNumber=undefined // &phoneType=[phone type from google] // &remember=0 // &_rnr_se=[pull from page] 

Hope this helps.

+4
source

I do not think there is an official API, but this site seems to have made some progress with the URLs that you are after: http://posttopic.com/topic/google-voice-add-on-development , and there is unofficial API: http://sourceforge.net/projects/gvoicedotnet/

+1
source

Google Voice does not provide an API for the service, however there are many third-party libraries that mock the API through screen-scribing through the Google Voice HTML website. The best solution is to use Google voice service through SIP. Search for "google voice sip asterisk" and you'll find out about it. Basically, if you install this software called asterisk, it can make calls through the voice of Google.

See this article to get you started: http://eggie5.com/10-installing-asterisk-on-osx

+1
source

Source: https://habr.com/ru/post/1346390/


All Articles