Checking your GV Voice Mail with Google Voice Dial Out.

New features you'd like see on SIP Sorcery
DaveSin
Posts: 20
Joined: Wed Sep 23, 2009 12:59 pm

Post by DaveSin » Thu Sep 24, 2009 1:59 pm

gvtricks wrote:Checking your GV Voicemail Using IPKall:

Code: Select all

####################################################
######## OUTBOUND CALL FROM GOOGLE VOICE  ##########
####################################################

#Logic for routing outgoing calls.
GV1_email = "GV1_Email@gmail.com"
  GV1_pwd = "********"
  GV1_nbr = "78XXXXX86"
  SIPnum1 = "206XXXXX34" #IPKall nbr1
GV2_email = "GV2_Email@gmail.com"      # Use this second set 
  GV2_pwd = "********"                 # to Check your Voice Mail
  GV2_nbr = "305XXXXX42"               #
  SIPnum2 = "206XXXXX19" #IPKall nbr2  #
sys.Trace = false
case req.URI.User
when /^786XXXXX86/  # GV Voicemail in Miami
   sys.Log(" Dialing USA #{req.URI.User} through Google Voice service\t")        
   sys.Log("*****************************************************\n")
   sys.GoogleVoiceCall(GV2_email,GV2_pwd,SIPnum2,"#{req.URI.User}",GV2_nbr)
when /^619XXXXX01/  # GV Voicemail in CA
   sys.Log(" Dialing USA #{req.URI.User} through Google Voice service\t")        
   sys.Log("*****************************************************\n")
   sys.GoogleVoiceCall(GV2_email,GV2_pwd,SIPnum2,"#{req.URI.User}",GV2_nbr)
when /^815XXXXX04/  # GV voicemail in Chicago
   sys.Log(" Dialing USA #{req.URI.User} through Google Voice service\t")        
   sys.Log("*****************************************************\n")
   sys.GoogleVoiceCall(GV2_email,GV2_pwd,SIPnum2,"#{req.URI.User}",GV2_nbr)
when /^[1]?(747\d{7})$/   # Free calls to Gizmo5 Numbers       
   sys.Dial("1#{$1}@proxy01.sipphone.com")
when /^[1]?((800|866|877|888)\d{7})$/ # IPKall server tollfree calls
   sys.Dial("#{$1}@voiper.ipkall.com")
when /^411/    # Google 411                        
   sys.Dial("8004664411@voiper.ipkall.com") 
when /^/    # Reg Dialing using IPKall account
   sys.Log(" Dialing USA #{req.URI.User} through Google Voice service\t")
   sys.Log("*****************************************************\n")
   sys.GoogleVoiceCall(GV1_email,GV1_pwd,SIPnum1,"#{req.URI.User}",GV1_nbr)
end
For some unexplain reason I cannot the above to work in my case and I'm trying to figure out what I'm doing wrong.

Firstly, I change the above my enter my information for:

GV1_email = "GV1_Email@gmail.com"
GV1_pwd = "********"
GV1_nbr = "9XXXXXXXXX"
SIPnum1 = "206XXXXXXX"
GV2_email = "GV2_Email@gmail.com"
GV2_pwd = "********"
GV2_nbr = "9XXXXXXXXX"
SIPnum2 = "206XXXXXXX"

when /^9XXXXXXXXX/ # GV Voicemail in Miami

When I dial "GV2_nbr" number from my phone, the voicemail that I access is the one for the "GV2_nbr", not GV1_nbr" or any of the other GV number entered in the above. I have "GV2_nbr" forwarded to "SIPnum2" at Ipkall and then registred with Sipsorcery. Is this how it should be done?

Could someone point me to the correct procedure for using "GV2_nbr", to access the voicemail of "GV1_nbr" or "GV3_nbr" for that matter?

Post Reply