GV ISSUE: SS can't access GV account --**SOLVED!!!**--

Support zone
macovet1
Posts: 27
Joined: Sun Jan 02, 2011 9:09 pm

GV ISSUE: SS can't access GV account --**SOLVED!!!**--

Post by macovet1 » Sun Jul 10, 2011 1:23 pm

Well I should have write this earlier, I spend too much time trying to resolve this GV issue :cry:

When trying to place a gv call from my ip phone I m getting the message 'Exception on GoogleVoiceCall. Could not find _rnr_se key on your Google Voice account page, callback cannot proceed.'


Here is the full log:
DialPlan 13:07:55:863 sip1(6856): New call from udp:xx.xx.xx.173:60192 successfully authenticated by digest.
DialPlan 13:07:55:878 sip1(6856): Using dialplan demo1 for Out call to sip:411@sipsorcery.com.
NewCall 13:07:55:894 sip1(6856): Executing script dial plan for call to 411.
DialPlan 13:07:55:925 sip1(6856): ** Call from "xxxxxx" <sip:xxxxx@sipsorcery.com>;tag=72823f03388e78c9o3 to 411 **
DialPlan 13:07:55:941 sip1(6856): Calling 18005558355 via Google Voice
DialPlan 13:07:55:941 sip1(6856): SDP on GoogleVoiceCall call had public IP not mangled, RTP socket xx.xx.xx.173:60044.
DialPlan 13:07:55:941 sip1(6856): UAS call progressing with Ringing.
DialPlan 13:07:55:941 sip1(6856): Logging into google.com for xxxxxxxx@gmail.com.
DialPlan 13:07:55:972 sip1(6856): Google Voice pre-login page loaded successfully.
DialPlan 13:07:55:972 sip1(6856): GALX key hx5yj8fHvzs successfully retrieved.
DialPlan 13:07:56:222 sip1(6856): Google Voice home page loaded successfully.
DialPlan 13:07:56:222 sip1(6856): Exception on GoogleVoiceCall. Could not find _rnr_se key on your Google Voice account page, callback cannot proceed.
DialPlan 13:07:56:222 sip1(6856): Dialplan cleanup for xxxxxx.
DialPlan 13:07:56:613 sip1(6856): Dial plan execution completed without answering and with no last failure status.
DialPlan 13:07:56:613 sip1(6856): UAS call failed with a response status of 480.


Here is the dial plan I m trying to setup:

Code: Select all

AREA_CODE = '210'              # my area code
GV_USER   = 'xxxxxx@gmail.com'   # my GV e-mail address (user@gmail.com)
GV_PASS   = 'xxxxxxxxxxx'             # my GV password
CB_NUMBER = 'xxxxxxxxxxx'              # my 11-digit SIP number (only one)

SPEED_DIAL = {                 # my speed dial numbers
'1'   => 'xxxx',               # xxxx
'2'   => 'xxxx',               # xxxx
'3'   => 'xxxx',               # xxxx
'4'   => 'xxxx',               # xxxx
'5'   => 'xxxx',               # xxxx
'6'   => 'xxxx',               # xxxx
'7'   => 'xxxx',               # xxxx
'8'   => 'xxxx',               # xxxx
'9'   => 'xxxx',               # xxxx
'411' => '18005558355',               # Google 411
'266' => '4153767253@podlinez.com',   # CNN Headlines
}

begin
   sys.Log "** Call from #{req.Header.From} to #{req.URI.User} **"

if sys.Out    # if outbound call
   num = req.URI.User.to_s        # Get a string copy of the number to dial

   num = SPEED_DIAL[num] || num   # Substitute with speed dial entry, if any

   case num
     when /@/ then sys.Dial num   # URI dialing
     when /^[2-9]\d{6}$/          # Local call, 7-digit number
       num = '1'+ AREA_CODE + num # prefix it with country and area code
     when /^[01]?([2-9]\d{9})/    # US number with or without country code
       num = '1' + $1             # add country code and truncate number to 10-digit
     when /^(011|00|\+)(\d{9,})/  # international number
       num = '+' + $2             # GoogleVoiceCall works with '+' prefix only


     else sys.Respond 603, 'Wrong number, check & dial again'
   end

   sys.Log "Calling #{num} via Google Voice"
   sys.GoogleVoiceCall GV_USER, GV_PASS, CB_NUMBER, num, '.*', CB_NUMBER =~ /^1747/ ? 7 : 1, 30

else          # sys.Out
   sys.Dial "#{sys.Username}@local"
end

rescue
sys.Log("** Error: " + $!) unless $!.to_s =~ /Thread was being aborted./
end
Please note that 266 podcast works fine.

I am using IPKall as sip number which is directed to sip2sip.info sip provider where I m registered with sipsorcery. Calls placed directly from GV web works fine.
TiA!
Last edited by macovet1 on Mon Jul 11, 2011 1:22 am, edited 2 times in total.

MikeTelis
Posts: 1582
Joined: Wed Jul 30, 2008 6:48 am

Re: GV ISSUE

Post by MikeTelis » Sun Jul 10, 2011 1:25 pm

Something is wrong with your GV login/password, please double-check.

macovet1
Posts: 27
Joined: Sun Jan 02, 2011 9:09 pm

Re: GV ISSUE

Post by macovet1 » Sun Jul 10, 2011 2:30 pm

Thank you for your prompt reply!

I did that plenty of times. Unfortunately login & psw are correct. It is something else I m missing.

macovet1
Posts: 27
Joined: Sun Jan 02, 2011 9:09 pm

Re: GV ISSUE

Post by macovet1 » Sun Jul 10, 2011 4:10 pm

I am still trying! Spend all the weekend on this. :cry:

I have deleted everything and tried to setup from the beginning with no luck. Tried with a different gv account and problem persists.

I remember in the past I had successfully set up gv with gizmo and it worked great. What am I missing here? Is it possible there could be an issue with my ss account?

macovet1
Posts: 27
Joined: Sun Jan 02, 2011 9:09 pm

Re: GV ISSUE

Post by macovet1 » Sun Jul 10, 2011 5:14 pm

Tried to set up everything from the beginning with a new ss account! Issue remains, :shock: just notice a few changes on logs maybe because of my different config:

DialPlan 17:03:25:092 sip1(4908): New call from udp:178.128.110.252:64664 successfully authenticated by digest.
DialPlan 17:03:25:092 sip1(4908): Using dialplan default for Out call to sip:18003810759@sipsorcery.com.
NewCall 17:03:25:108 sip1(4908): Executing script dial plan for call to 18003810759.
DialPlan 17:03:25:123 sip1(4908): Log message from default dialplan.
DialPlan 17:03:25:123 sip1(4908): Commencing Dial with: gvphdny.
DialPlan 17:03:25:123 sip1(4908): Attempting to locate a provider for call leg: sip:18003810759@gvphdny.
DialPlan 17:03:25:123 sip1(4908): ForkCall commencing call leg to 18003810759@gvphdny.
DialPlan 17:03:25:123 sip1(4908): Creating Google Voice user agent for 18003810759@gvphdny.
DialPlan 17:03:25:123 sip1(4908): SDP on Google Voice call could not be mangled, using original RTP socket of 178.128.110.252:49558.
DialPlan 17:03:25:123 sip1(4908): UAS call progressing with Ringing.
DialPlan 17:03:25:123 sip1(4908): Logging into google.com for yyyyyyyy.zz@gmail.com.
DialPlan 17:03:25:154 sip1(4908): Google Voice pre-login page loaded successfully.
DialPlan 17:03:25:154 sip1(4908): GALX key HfoK19wFjQA successfully retrieved.
DialPlan 17:03:25:295 sip1(4908): Google Voice home page loaded successfully.
DialPlan 17:03:25:295 sip1(4908): Dialplan cleanup for xxxxxxxx.
DialPlan 17:03:25:420 sip1(4908): Dial plan execution completed without answering and a last failure status of TemporarilyUnavailable Could not find _rnr_se key on your Google Voice account page, callback cannot proceed..
DialPlan 17:03:25:420 sip1(4908): UAS call failed with a response status of 480 and Could not find _rnr_se key on your Google Voice account page, callback cannot proceed..

Am getting mad - HELP!

macovet1
Posts: 27
Joined: Sun Jan 02, 2011 9:09 pm

Re: GV ISSUE

Post by macovet1 » Sun Jul 10, 2011 5:23 pm

I quit for now! :shock: :shock:

I just wanted to mention a strange message I got from gmail during these tries, possibly not related with the issue.

In my gmail account interface I have the following red warring:

Warning: We believe your account was recently accessed from: United States (servepath.com:204.51.177.4)

Please notice that this was not my ip - I am not in the US.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: GV ISSUE

Post by Aaron » Sun Jul 10, 2011 10:51 pm

That's the IP address the SIP Sorcery server will attempt to login to your Google Voice account from. The _rnr_key message you're getting means it wasn't able to. This is starting to come up regularly now and it looks like Google have implemented some additional security measures such that if an attempt is made to login to a Google account from a location that's not the default location an extra manual authentication step is required. The best way one non-US user found to get around it was to create a new Google Voice account that he only uses with sipsorcery. That way the only login attempts are from sipsorcery and the access attempt doesn't get flagged as unusual.

macovet1
Posts: 27
Joined: Sun Jan 02, 2011 9:09 pm

Re: GV ISSUE

Post by macovet1 » Sun Jul 10, 2011 11:08 pm

Do you think this is the reason the sys.GoogleVoiceCall command doesn't works for me, as I wrote above?

I have tried on two other gv accounts with the same result.

macovet1
Posts: 27
Joined: Sun Jan 02, 2011 9:09 pm

Re: GV ISSUE --**SOLVED!!!**--

Post by macovet1 » Mon Jul 11, 2011 1:18 am

Aaron wrote:That's the IP address the SIP Sorcery server will attempt to login to your Google Voice account from. The _rnr_key message you're getting means it wasn't able to. This is starting to come up regularly now and it looks like Google have implemented some additional security measures such that if an attempt is made to login to a Google account from a location that's not the default location an extra manual authentication step is required. The best way one non-US user found to get around it was to create a new Google Voice account that he only uses with sipsorcery. That way the only login attempts are from sipsorcery and the access attempt doesn't get flagged as unusual.
Unfortunately, that seems to be the case!

I tried to login to gmail through a us proxy and I got the attached screen. That was NOT happening when I was login from my usual place! So when sipsorcery was trying to login it could not bypass the verification process and login was rejected.

After I proceed to verification THROUGH A U.S. PROXY SERVER, I logout my gmail account, tried through SS again and IT WORKED!

PS. Maybe the next sysgvcall command should include the verification process when login fails!
ps2. I lost a weekend but I finally end up somewhere! Am I deserve an annual membership or what?! :lol:
Attachments
gmail verify.jpg
gmail verify.jpg (33.14 KiB) Viewed 16893 times

johnjaylward
Posts: 11
Joined: Fri Feb 25, 2011 8:52 pm

Re: GV ISSUE: SS can't access GV account --**SOLVED!!!**--

Post by johnjaylward » Mon Jul 11, 2011 2:41 pm

I'm having this issue after setting up multi-factor authentication with my google account. I tried using an application specific password, but I get the "DialPlan 14:19:43:348 sip1(4868): Exception on GoogleVoiceCall. Could not find _rnr_se key on your Google Voice account page, callback cannot proceed."

I had thought that the application specific password would work, but it seems that google doesn't like it. Is there any hope that we can get the google voice sys call to support a login using those, or perhaps have sipsorcery "register" itself as a Connected app.

I think the registering as a connected app would be the easiest since it requires no passwords to be stored. I've seen other apps "register" and access picasa data as needed without requesting a password. Although I must say I haven't looked into the technical details of this at all when connecting via google voice.

** Edit
I was able to use an "application specific" password with the google voice iPhone app, so I'm assuming maybe the login page is just different?

Post Reply