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
| Re: Connecting to Google Voice Via SIP 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
| 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? | |
|
 |  dalrun
join:2008-01-09 Bellingham, WA
| Re: Connecting to Google Voice Via SIP "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
1 edit | 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. | |
|
 caseydoug
join:2001-08-14 Seattle, WA
| 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. | |
|
 |  Test99 Premium join:2003-04-24 San Jose, CA | Re: Connecting to Google Voice Via SIP That IP address works for me. Just left a message in my Google Voice mailbox and received it by email. | |
|
 Livadia
join:2007-12-18 Canada | So that you would not have to look: The above address is registered to Google at Mountainview | |
|
 emoci
join:2007-05-29 York, ON | 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
| Re: Connecting to Google Voice Via SIP 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
| Re: Connecting to Google Voice Via SIP 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... | |
|
 |  |  |  caseydoug
join:2001-08-14 Seattle, WA
| Re: Connecting to Google Voice Via SIP 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 | So far 216.239.37.xx:5061 where xx is 15, 17, 19, 20 all work... | |
|
 emoci
join:2007-05-29 York, ON
2 edits | 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
| Re: Connecting to Google Voice Via SIP 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 | Re: Connecting to Google Voice Via SIP 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
| Re: Connecting to Google Voice Via SIP 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 | Re: Connecting to Google Voice Via SIP 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 | Re: Connecting to Google Voice Via SIP 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. | |
|
 |
  burgerwars
join:2004-09-11 Northridge, CA | GoogleVoiceNumber@216.239.37.15:5061 also works with IPKALL and VOIP.MS. I Just tried. | |
|
 jwill370
join:2005-11-26
| My ATA (old Sunrocket Gizmo) registers with mysipswitch.com. I added an extension to mysipswitch dialplan:
exten = 100,1,Switch(myGVnumber@216.239.37.13:5061);
This gets me to my GV number but as an unknown call. I can enter * and then my pin to access vm and place calls. | |
|
 |
 |  caseydoug
join:2001-08-14 Seattle, WA
| Re: Connecting to Google Voice Via SIP Maybe I'm not understanding you, cbrain. When I try to add a SIP address in the "Phones" tab of Settings, it won't take it. It says, "International numbers are not supported as forwarding phones." Interestingly, when I tried to add, literally, "sip:destination#@host.domain.com," it gave me a different error message ("Invalid phone number").
I wonder whether the format of your specific SIP address was somehow more acceptable. I have noticed that, for example, if I try to call a Gizmo or Callcentric number (both of which are numeric prior to the @, it will treat it as an international number, dropping everything after the @. | |
|
 |  |  cbrain
join:2000-05-21 Silver Spring, MD | Re: Connecting to Google Voice Via SIP What are you entering? Google took both numbers or name from me. Anything but my Goog number.
Try sip:2029876543@call.dslreports.com - but substitute your number and domain. | |
|
 |  |  |  caseydoug
join:2001-08-14 Seattle, WA
1 edit | Re: Connecting to Google Voice Via SIP OK, I got it to take the number. It apparently needs a 10 or 11 digit number before the @.
I then tried to enter my Callcentric number, which is 11 digits followed by @callcentric.com. The strangest thing happened when I then called my GV number with that callcentric number as the only active extension. It didn't ring the phone connected to callcentric. It did, however, lead me to a GRAND CENTRAL voicemail announcement (not GV). Finally, a few moments after I hung up I received a call from a woman who said I had been trying to call her. I didn't think to ask her what her number was, but Callcentral uses a 777 "area code," which I think does not exist.
I was a little embarrassed, and I don't want to experiment with using that number again. 
Edit: I just checked my GC voicemail, and the message I left was not on it, so it went to someone else's voicemail. I also checked the CID of the woman who called me, and the number was nothing like the one my GV number was forwarded to. Go figure. | |
|
 |  |  |  |  |
 |  |  |  |  |  caseydoug
join:2001-08-14 Seattle, WA
| Re: Connecting to Google Voice Via SIP My point is that the GV Settings/Phones tab would not save several SIP addresses (ones with letters before the "@"), but it did accept my CallCentric address. When I tried to call that extension through GV, however, it did not reach the phone I was trying to call. I was sent to some GC member's voicemail, but the ring was sent to a woman in the 206 area code.
Apropos of "The Starlost," this is like the guy who shows up at the airline ticket counter and says, "I'm going to Denver. I'd like this bag to go to Detroit, and that bag to go to New Orleans."
"We can't do that," the agent says.
"Why not? You did it the last time I flew." | |
|
 |  |
 |  |  garys_2k
join:2004-05-07 Farmington, MI
·Future Nine Corpor..
·Vonage
| Re: Connecting to Google Voice Via SIP said by cbrain :said by cbrain :... Enter "sip:destination#@host.domain.com" into the number space and select "Gizmo" from the drop down. It will not accept your Google Voice number as a destination. It rings Asterisk instantly. SIP uri is not working this morning. Google removes everything but the number after you close the page. That's what I get, too. The "sip:" and the "@" (and everything past that) are removed. Must be Gizmo only, again. | |
|
  Bezel
@afsontario.com
| This may be obvious to most here, but I am sure there are a few people as unknowledgeable as I am.
Using gc by calling a sip url is pretty handy, but it is finicky. My gv number terminates at a phone here (the number is local to relatives, not me), and I couldn't get the * / pin / 2 combo to work unless I let it ring at least once.
I finally solved the problem by adding to my dial plan:
This lets me call even from the phone where the gv number is terminated. | |
|
 |  caseydoug
join:2001-08-14 Seattle, WA
| Re: Connecting to Google Voice Via SIP said by Bezel :
Using gc by calling a sip url is pretty handy, but it is finicky. My gv number terminates at a phone here (the number is local to relatives, not me), and I couldn't get the * / pin / 2 combo to work unless I let it ring at least once. Yes, I noticed that the timing of the key press makes a difference. If I wait too long, the * takes me right to voice mail rather than to the "Enter your PIN" prompt.
I never tested to see whether this occurs only when I dial a SIP address from an adapter or soft phone, or whether this is also true when dialing from an ordinary phone. | |
|
 |  |   Oroman
@cox.net
| Re: Connecting to Google Voice Via SIP Thank you caseydoug. Im a novice at this stuff and it took me several tries, but its working perfectly now.
If you dont have a phone enable (checked) GV will require a PIN. To get around this bug add a contact with the same phone number and have it ring itself. I cant take credit for this solution, I found it on the GV forum. | |
|
 |  |  |  caseydoug
join:2001-08-14 Seattle, WA
| Re: Connecting to Google Voice Via SIP said by Oroman :
If you dont have a phone enable (checked) GV will require a PIN. To get around this bug add a contact with the same phone number and have it ring itself. I cant take credit for this solution, I found it on the GV forum. Are you saying there is a way to avoid the PIN when calling in via SIP? I know you can do it using a PSTN number, but I haven't found a way to call GV-SIP from some other SIP number without entering your PIN. | |
|
 |  |  |  |   Oroman
@cox.net
| Re: Connecting to Google Voice Via SIP Caseydoug asked: Are you saying there is a way to avoid the PIN when calling in via SIP? I know you can do it using a PSTN number, but I haven't found a way to call GV-SIP from some other SIP number without entering your PIN.
Yes, it worked on SIP without a PIN. Im assuming you didnt have the SIP phone enabled on your GV phone list. The same thing will happen on a PSTN number. Try it. Uncheck one of your PSTN phones and call GV with it. A PIN will be required. Adding a contact will the same phone number with calls routed to the unchecked PSTN phone will correct the problem. This is all irrelevant now that they cut us off unless you know another way to do it via SIP. | |
|
 |  |  |  |  |  mazilo From Mazilo Premium join:2002-05-30 Lilburn, GA
| Re: Connecting to Google Voice Via SIP said by Oroman :
Im assuming you didnt have the SIP phone enabled on your GV phone list. What exactly did you mean to have the SIP phone enabled on GV phone list? I don't see this option. Can you please elaborate? | |
|
 |  |  |  |  |  |   oroman
@cox.net
| Re: Connecting to Google Voice Via SIP Mazilo asked: 'What exactly did you mean to have the SIP phone enabled on GV phone list? I don't see this option. Can you please elaborate?'
I'm in test mode on GV and only have two phones (PSTN and Gizmo) defined. I'm using GV to receive inbound calls on my Gizmo phone and make long distance calls on my PSTN phone. It is my understanding if a call comes in that is not defined as a contact it will ring all the phones that are enabled on the phone list. Enabled,I mean a check mark next to the phone# in the phone list. I did not want to receive calls from GV on my PSTN phone, but when I unchecked it GV required a PIN. I found the above solution on the GV forum. Maybe you didn't define the SIP phone on GV. I'm using an ATA and I used 1234567890 as the SIP UserID. When the call came in to GV it had phone number 123-456-7890. I then defined 123-456-7890 in my GV phone list. | |
|
 AllThumbs
join:2006-02-07 Pawleys Island, SC
| Nerd Vittles has a new tutorial on free U.S. SIP calling and free message transcription for Asterisk using Google Voice...
Googlified Messaging: Asterisk's New Best Friend
»nerdvittles.com/?p=593 | |
|
 |  zenjabba
join:2002-08-11 New York, NY | Re: Connecting to Google Voice Via SIP it seems the nerdvettles method isn't working, all it does now is ring my asterisk box straight back. | |
|
  Bezel
@t-dialin.net
| I didn't realize it earlier, but a gc/gv number is a godsend to people overseas who want free calling within the US. They can dial the sip url (or do the callback via ipkall => sip url), and then call anywhere in the US for free.
I suppose google and/or the overseas telecoms will plug that loophole eventually.
I can see gc/gv numbers on ebay already. $25? $50? | |
|
 |  caseydoug
join:2001-08-14 Seattle, WA
| Re: Connecting to Google Voice Via SIP said by Bezel :
I didn't realize it earlier, but a gc/gv number is a godsend to people overseas who want free calling within the US. They can dial the sip url (or do the callback via ipkall => sip url), and then call anywhere in the US for free. I may be missing something, but wouldn't it be an international call to call the IPKall number from overseas? The IPKall number is within the PSTN. I agree that this would work if someone made a SIP call to his or her GV number and used GV as the gateway to the PSTN. | |
|
 |  |   Bezel
@redlineau.com
| Re: Connecting to Google Voice Via SIP You wouldn't call the ipkall number. You call the sip url of the gv number. That forwards it to the ipkall number. You have set up the ipkall number so that it forwards to your overseas sip url.
So when you call the sip url of the gv number, it will ring you back via the forwarding to the ipkall number, which will forward to the sip url of your overseas number.
I have only done this from Canada to the US so can't swear it works the same way overseas, but don't see why it would not. | |
|
 |  |  |  joebobcooter
join:2007-02-26 Bellevue, WA | Re: Connecting to Google Voice Via SIP Confirmed that this works with les.net.
Very strong. | |
|
 AllThumbs
join:2006-02-07 Pawleys Island, SC
| Just tried mine. Still works fine. Nerd Vittles has updated the article and added a way to configure Google Voice as an Asterisk trunk. You might try that. Now you can just dial GV-202-456-1111 from any phone to call the White House.  | |
|
 B Premium,MVM join:2000-10-28
| Now that NerdVittles is making it (relatively) easy, the only questions I have are:
1. How long will it take for Google to break these techniques, and
2. How will they break them?
-- B -- In a realm outside causality and function | |
|
 |   otty
join:2008-10-24 Toronto, ON | Re: Connecting to Google Voice Via SIP Another question is WHY would they break them?
I can see no reason why they don't just allow SIP connections as an upfront policy. | |
|
 |  |  B Premium,MVM join:2000-10-28
| Re: Connecting to Google Voice Via SIP I assume it would have something to do with paying for unlimited nationwide calling to the PSTN. 
I'm quite serious really. If there's something I'm missing please let me know. For now the ability to do PSTN outbound calling is kinda sorta hidden; if it gets widespread and used by home PBXes I've got to think they'll curb it somehow?
-- B -- In a realm outside causality and function | |
|
 |  |  |   otty
join:2008-10-24 Toronto, ON | Re: Connecting to Google Voice Via SIP Oh right I forgot there is a good reason they don't officially support SIP: you would then not visit the website where they can advertise to you. | |
|
 |  |  |  soitgoes2 Premium join:2005-01-14
·Future Nine Corpor..
| said by B :if it gets widespread and used by home PBXes I've got to think they'll curb it somehow? yes. Not only would they not have you on their website to view ads, but they would see high expenses for call termination. | |
|
 |  |  |  |  caseydoug
join:2001-08-14 Seattle, WA | Re: Connecting to Google Voice Via SIP Alternatively, after they get a large user base, they could begin charging a few dollars a month (or buy Vonage). | |
|
  ifed
@cpms.ru | It seems that they disabled SIP access to GV. Calling to .13, .14, .15 addresses produces ICMP reply. While .16, .17 address es are still alive but route calls to GC not GV account. | |
|
 |  See 15 replies to this post |
|
 caseydoug
join:2001-08-14 Seattle, WA | I suspect they read these boards (and others). | |
|
 AllThumbs
join:2006-02-07 Pawleys Island, SC
| Sad to see Google has closed off SIP access. At a time when Skype is opening up their service to SIP, you'd think Google of all companies could see the telephony writing on the wall. Otherwise, they'll end up in the same boat as AOL with their Internet telephony venture. Click-to-Dial is cute to show your nerdy friends, but no one is going to use it very long for real phone calls. And, their calling rates are nothing to write home about except for the U.S. calling teaser which no doubt will vanish in the next few months. Too bad! | |
|
 |  See 7 replies to this post |
|
 |
|
 |