 caseydoug
join:2001-08-14 Seattle, WA
| Connecting to Google Voice Via SIP
I'm not sure whether this has already been discussed, but it is possible to reach to your Google Voice number via a SIP connection. I just checked the logs of my VoIP adapter and got the IP address, then used the speed dial feature of my adapter to dial the URI. This is a direct connection, without going through Gizmo or any other SIP provider. From there I was able to get to my voicemail, press 2 to dial out, etc. There were a few hiccups because GV didn't recognize the "phone number" (so, for example, I had to enter my PIN to get to voicemail), but I suspect even this can be corrected.
What this means, of course, is that you can basically get totally free phone service using a telephone rather than a computer. I don't know whether the IP addresses will change or Google will otherwise block this method of making outbound calls. And for inbound calls, I pointed Gizmo directly to my adapter. I haven't found any way to forward inbound calls to my adapter without going through Gizmo. |
|
 mazilo From Mazilo Premium join:2002-05-30 Lilburn, GA
| said by caseydoug :I'm not sure whether this has already been discussed, but it is possible to reach to your Google Voice number via a SIP connection. I just checked the logs of my VoIP adapter and got the IP address, then used the speed dial feature of my adapter to dial the URI. Interesting found. I believe you can configure asterisk with a dialplan context to dial out.  -- Mazilo always prays for FREEBIES! US Phone: +1-678-601-0907 UK Phone: +44-703-194-2574
|
|
 celtic
join:2001-02-08 USA
| reply to caseydoug said by caseydoug :...I just checked the logs of my VoIP adapter and got the IP address, then used the speed dial feature of my adapter to dial the URI. This is a direct connection, without going through Gizmo or any other SIP provider. From there I was able to get to my voicemail, press 2 to dial out, etc. ... What is the IP? Are you sure it is a Google IP or could it be Gizmo? I didn't think either Google Voice or GrandCentral directly communicate with your computer or adapter. Could you be going through Gizmo? |
|
 caseydoug
join:2001-08-14 Seattle, WA
1 edit | reply to caseydoug mazilo, aren't you the Sultan of Cheap? I thought you would appreciate this. I'm right now working on a dial plan from my old Ling adapter.
celtic, I'd prefer not to publish the IP right now. It may not be the same for everybody, and in any event, I'd like to keep the usage low until I've checked out a couple of things. Suffice it to say it wasn't hard to find. I looked it up on whois, and it's definitely a Google IP address. It's not going through Gizmo because my adapter does not connect to Gizmo (although Gizmo forwards to my adapter).
Right now I'm working on spoofing my phone number so that I don't have to go through call presentation. If this is possible, there will constitute a potential big security hole.
Edit: I may be wrong about this being a direct connection. This adapter normally registers to pbxes in order to get dial tone. When I disabled the pbxes connection, I was not able to connect to the GV number. At the moment, I haven't determined whether reaching the GV number requires going through a SIP proxy. Even if it does, however, this is definitely a SIP to SIP (i.e., free) call.
In addition, I did set up the adapter to register to Gizmo. Interestingly, GV recognized the caller ID as my Gizmo number, but did not recognize it as the Gizmo phone that was already set up in GV. In other words, it is the same number, but it is treated as a GV contact, not as "me." When I turned off call presentation and screening for this "contact," the call went right through, and pressing "*" led me to my voicemail. Obviously, more tinkering is required. |
|
 dalrun
join:2008-01-09 Bellingham, WA
| reply to celtic "What is the IP? Are you sure it is a Google IP"
I wonder if he's calling the Google IP address that sets up the call (I tried it w/ CC and got 'invalid #'). I haven't paid close attention, but it seems that all my incoming calls involve a single port 5060 packet from the provider and that the source IP is a constant. |
|
 caseydoug
join:2001-08-14 Seattle, WA
| reply to caseydoug Ok, here's a little more information. I found the IP address by forwarding GV to my Gizmo number. When I called my GV number from my cell phone, the logs showed the call as MyCellNumber@IPAddress. I noticed that a couple of the via statements also used MyGizmoNumber@IPAddress (this is from memory, so details may be slightly off). Putting 2 and 2 together, I tried "dialing" MyGVNumber@IPAddress using a speed dial setting on my adapter, and it worked to get me in to my GV number.
For those who don't want to look this up themselves, IPAddress was 216.239.37.15:5061. Yours may be use a different server, however.
To this point, I have not been able to get in using a direct URI connection from my adapter or a soft phone. The logs show a connection, but then an immediate "BYE" from GV. So I'm guessing GV will accept connections only from SIP proxy servers. However, I have made this work using several free SIP proxy servers, including pbxes, Callcentric, and Gizmo. Pbxes requires that telephone extensions be named with a format that includes alpha characters, so GV does not recognize the telephone number and treats it as "unknown." Both Gizmo and Callcentric use numeric usernames, however, and these are recognized as 10-digit numeric telephone numbers which you can name and put in your contact list. When a call comes in from one of these numbers, and if it is in your contact list, the caller is announced just like any other caller. Interestingly, the Gizmo number looks identical to the number of the Gizmo "ring-to" phone, but is treated as a different phone. I don't believe you can use the "Call" button to call one of these SIP numbers.
It was quite easy to forward my Gizmo number to my adapter, and to set my adapter to register with Gizmo. I set GV to ring the phone connected to that adapter, and turned off call presentation and screening for the "contact" connected to the SIP number for that adapter. Using speed dial, I can call into my GV number, press "*2 PIN" while it is ringing, and then dial out to US numbers for free. The speed dial on my adapter is not flexible enough to include pauses and other characters, but I'm certain that this could be done using a more powerful adapter. And of course a dial plan using asterix could make the dialing process identical to using a normal telephone for outbound calls.
If Google allows these SIP connections to continue, I would seriously think about giving up other telephone services. Between its features and its free US calling, GV appears to be a pretty complete substitute. |
|
 Livadia
join:2007-12-18 Canada | reply to caseydoug So that you would not have to look: The above address is registered to Google at Mountainview |
|
 Test99 Premium join:2003-04-24 San Jose, CA | reply to caseydoug That IP address works for me. Just left a message in my Google Voice mailbox and received it by email. |
|
 emoci
join:2007-05-29 York, ON | reply to caseydoug I can also confirm it works...
What bothers me is that I've seen that IP when receiving calls from GC to MagicJack since last February but always assumed it was MJs servers...  |
|
 caseydoug
join:2001-08-14 Seattle, WA
| Are either of you pbxes users? I would like to be able to let this adapter register to pbxes again, while at the same time using it to call GV. But as a pbxes "extension," the adapter needs to have a name based on my pbxes user name. All pbxes extensions have a dash ("-") in them. Use of alpha characters in the phone number seems to prevent GV from recognizing the phone as a contact. If you happen to have an all-numeric pbxes user name, I'd be interested to know whether the dash alone causes this problem in GV. In other words, if you try to SIP-call your GV number from a pbses extension, how does GV treat the call?
Alternatively, I could terminate and recreate my pbxes account. However, I've heard horror stories about accounts getting blocked when someone tries to do that. |
|
 emoci
join:2007-05-29 York, ON
| said by caseydoug :Are either of you pbxes users? I would like to be able to let this adapter register to pbxes again, while at the same time using it to call GV. But as a pbxes "extension," the adapter needs to have a name based on my pbxes user name. All pbxes extensions have a dash ("-") in them. Use of alpha characters in the phone number seems to prevent GV from recognizing the phone as a contact. If you happen to have an all-numeric pbxes user name, I'd be interested to know whether the dash alone causes this problem in GV. In other words, if you try to SIP-call your GV number from a pbses extension, how does GV treat the call? Alternatively, I could terminate and recreate my pbxes account. However, I've heard horror stories about accounts getting blocked when someone tries to do that. If you're assigning a user-number@pbxes.org to the above SIP URI and trying to call that form outside...it is one of those known issues with PBXes...not just in this scenario.. (solutiong is to create an inbound route with the user-number as the Trunk name...)
If you have trouble calling this SIP URI from PBXes that's a different story...I'll have to test
So far I simply added the SIP URI as a VoXalot Speed Dial... |
|
 emoci
join:2007-05-29 York, ON | reply to caseydoug So far 216.239.37.xx:5061 where xx is 15, 17, 19, 20 all work... |
|
 caseydoug
join:2001-08-14 Seattle, WA
| reply to emoci Thanks, emoci. That's not quite what I had in mind, however. I am using an old Azacall adapter to receive GV forwarded calls and also to call out using a GV SIP connection. I previously had been using this adapter as a pbxes extension. I can do both simultaneously -- making a SIP call to GV does not use any of my pbxes trunks -- but GV does not recognize the number it sees when I use this adapter to call in if the adapter is configured for pbxes. Switching the adapter from pbxes to Gizmo or Callcentric solves this problem because both services use numeric user names. But if I do that, I'm not using pbxes.
It doesn't really matter too much, however, since there is not much benefit to GV recognizing the number. I still have to press "* PIN" to get to my voicemail and other services. |
|
 emoci
join:2007-05-29 York, ON
2 edits | reply to caseydoug One odd thing...this actually works with GC numbers as well...but when I call this way a GC (non-upgraded number) I end up in the VM of the phone to which that number is forwarding within a ring or two... (no press 1...but I don't know how it is triggering VM so early on the receiving phone either...)
Update:
SIP Calls to GV numbers: Ring all forward-to phones, receive GV voicemail if no answer
SIP Calls to GC numbers: Ring all forward-to phones, do not receive GC voicemail...the VM from one of the forward-to phones takes the call...
The SIP URI does not seem to get updated instantly if your Forward-To number changes... |
|
 caseydoug
join:2001-08-14 Seattle, WA
| You mean if your cell phone is one of the GV "ring to" numbers, and you call CellNumber@216.238.37.xx, it reaches your cell phone? Funny, I tried that in the very beginning and it didn't work.
As for reaching voicemail quickly, it may be reading as busy. |
|
 emoci
join:2007-05-29 York, ON | No I mean GC(not GV number)@IPAdress rings all my phones...but when it comes time for VM to take the call, GC VM doesn't answer...cell's VM (where GC is forwarding to) answers instead...
GV doesn't seem to have the same issue... |
|
 caseydoug
join:2001-08-14 Seattle, WA
| said by emoci :No I mean GC(not GV number)@IPAdress rings all my phones... I think I understand. But aren't your GC and GV numbers the same? |
|
 emoci
join:2007-05-29 York, ON
2 edits | said by caseydoug :said by emoci :No I mean GC(not GV number)@IPAdress rings all my phones... I think I understand. But aren't your GC and GV numbers the same? I have one that I upgraded to GV and one that is still GC...
Nonetheless it seems that having the right IP range makes a difference...(switching the xx from 15 to 19 fixes the VM presentment issue for me)
Good find indeed...
Anyone still wondering how this is beneficial: You can now have any third party DID from F9, CallCentric, or even international forward directly to GV via SIP URI (hence no cost)...from there GV will ring all your phones as usual |
|
  TheMole
join:2001-12-06 Morristown, NJ
1 edit | Works for me. I have a google voice number now.
I'm running asterisk, so i'm browsing my logs and am seeing some funny results here. Seems the IP address might control which of your multiple GV forward numbers ring.
IP ending in .15 rings forward numbers that are "checked" in GV. Local voice mail picks up and is connected.
IP ending in .17 rings a number that is NOT checked in GV (i know becuase the number it is ringing is a DID on my asterisk box and see it in the logs).
IP ending in .18 rings the same non checked number that .17 did above.
IP ending in .19 rings the same non checked number that .17 did above.
IP ending in .20 does the same as .17 and .19 for me.
IP ending in .16 rings someplace (not sure if it one of my non checked numbers), and when nobody picks up my GV voice mail picks up.
IP ending in .11, .12, .13, and .14 rings the same as .15 above.
I cannot determine how to ring a certain non checked number. Only one of my non checked numbers rings (ip ending in .17 - .20)
IP ending in .10 is dead.
The CID number coming over to my asterisk box is 4065309999
edit: clarity, it is late. sorry. |
|
 cbrain
join:2000-05-21 Silver Spring, MD
·VoicePulse for Bus..
·Verizon FIOS
·Comcast
·Future Nine Corpor..
·VoiceStick
·Packet8
| reply to caseydoug Great find! I just set up Asterisk and it works with the 3 Google Voice numbers I tested. If I send the same outbound CID as the called number, it rings busy(could be an internal * thing). Any other CID works and rings all lines as set up on your Google Voice page. I can complete the call over a provider line using the same number and CID. I only tested 216.239.37.15 but if I figure a useful reason to use this I will look at the other options.
Thanks. Let us know what else you discover. |
|