How does SipSorcery work with GV

<< < (2/5) > >>

corporate_gadfly:
Quote from: corporate_gadfly on February 23, 2014, 02:47:57 pm

I have a VPS running debian. I think I will try running Asterisk on it to see if I can initiate the GV callback feature from Asterisk (using something like pygooglevoice). (I already have the VPS for other reasons).

I guess April will be a busy month for experimentation.

For anyone on the fence for running asterisk (using Google Voice callback mechanism - no XMPP), I can confirm that the solution works. I am a relative newbie to VOIP and absolute newbie to asterisk and I was able to accomplish this on a VPS with some trial and experimentation.

You could accomplish something similar using a Raspberry Pi. Aside from the cost of the VPS (or Raspberry Pi), the solution is free (assuming Google does not change the callback mechanism after May 15, 2014).

The end user experience is a slightly longer duration for ringing tone while asterisk does the "call bridging" behind the scenes.

Basically asterisk uses pygooglevoice to initiate a callback call. When the call completes from Google, asterisk bridges the 2 calls together.

I did have one slight hiccup with using pygooglevoice, as Google security automatically alerted me to access from the VPS which was a different IP address from my home ISP. Therefore, Google automatically prevented the login. I think a combination of marking it as "it was me" and https://accounts.google.com/b/0/DisplayUnlockCaptcha allowed me to go through. So, watch out for that, if your asterisk IP address is located somewhere else.

simpleAnswers:
Quote from: corporate_gadfly on April 06, 2014, 01:56:51 pm

For anyone on the fence for running asterisk (using Google Voice callback mechanism - no XMPP), I can confirm that the solution works. I am a relative newbie to VOIP and absolute newbie to asterisk and I was able to accomplish this on a VPS with some trial and experimentation.


I'd be very interested to know how you achieved your solution as I would like to replicate it.
I'm pretty much in the same boat, I have never used asterisks before and don't know how to go about setting up a solution like you mentioned. However I see it as the best solution as its still all through GV instead of spoofing. If you have any pointers on how to go about doing this, it would be very much appreciated.

giqcass:
Quote from: simpleAnswers on April 08, 2014, 11:39:07 pm

I'd be very interested to know how you achieved your solution as I would like to replicate it.
I'm pretty much in the same boat, I have never used asterisks before and don't know how to go about setting up a solution like you mentioned. However I see it as the best solution as its still all through GV instead of spoofing. If you have any pointers on how to go about doing this, it would be very much appreciated.

I'm an Asterisk newbie myself.  I have shopped around and looked at the various possibilities. A good place to start is just deciding where you want to run Asterisk.  I have purchased this kit to run it at home.  Some people run it on their router. corporate_gadfly seems to have hosted his in the cloud.  You may even want to simply test it by running it on your primary computer.  If you want to go that route let us know what operating system you are using so we might make recommendations.  

Since you are thinking about taking this step another option is to run your own Sipsorcery server.  I personally prefer Asterisk with the little experience I have.

corporate_gadfly:
Quote from: simpleAnswers on April 08, 2014, 11:39:07 pm

I'd be very interested to know how you achieved your solution as I would like to replicate it.
I'm pretty much in the same boat, I have never used asterisks before and don't know how to go about setting up a solution like you mentioned. However I see it as the best solution as its still all through GV instead of spoofing. If you have any pointers on how to go about doing this, it would be very much appreciated.

I mainly followed the instructions from twinclouds. At first, I tried to install all the relevant software on my Mac OSX laptop. Pygooglevoice was able to initiate callback calls successfully, but asterisk did not behave properly on OSX. Even though it said calls were bridging, they never did (silence from one side).

In the end, it was easier to just stick to Linux. If you have an always on NAS or Raspberry Pi, you could accomplish the same solution on those platforms.
My source for pygooglevoice was this. I am using IPcomms for my free DIDI am running Debian 7.0 (wheezy) on my VPS# python --version
Python 2.7.3# asterisk -V
Asterisk 1.8.13.1~dfsg1-3+deb7u3Do let me know if you have specific questions (although I am not getting reply notifications from the forum, at the moment).

corporate_gadfly:
Quote from: giqcass on April 09, 2014, 05:47:10 am

Since you are thinking about taking this step another option is to run your own Sipsorcery server

Isn't SIPSorcery written in C#, IronPython and IronRuby? So, that leaves Windows (or perhaps Mono) as the only deployment platform.

Navigation

[0] Message Index

[#] Next page

[*] Previous page