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
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!