Checking your GV Voice Mail with Google Voice Dial Out.

New features you'd like see on SIP Sorcery
LHM
Posts: 164
Joined: Tue Jul 28, 2009 7:11 pm

Post by LHM » Wed Aug 26, 2009 11:39 pm

PAP2 Line 1 and/or 2> Proxy and Registration> Register Expires: 120

This change may help with the problem.

gvtricks
Posts: 81
Joined: Wed Aug 12, 2009 2:48 pm

Post by gvtricks » Mon Aug 31, 2009 3:54 pm

WHEN USING THE FOLLOWING LOGIC YOU CAN ALWAYS CHECK YOUR VOICE MAIL THERE IS NOT NEED FOR A SEPARATED "IN" DIAL PLAN!!!
THIS IS BECAUSE YOU ARE NOT USING GIZMO 5 IN THIS CASE.

Sample of new Aaron Logic for Google Voice Outbound Calling Using Sipgate:

Code: Select all

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

#Logic for routing outgoing calls.
sys.Trace = false
case req.URI.User
when /^/
   sys.Log(" Dialing USA #{req.URI.User} through Google Voice service\t")
   sys.Log("*****************************************************\n")
   sys.GoogleVoiceCall("caller@gmail.com","GV_Password","415XXXXX19","#{req.URI.User}","786XXXXX86")
end
caller@gmail.com = is your GV email account.
GV_Password = GV account Password
415XXXXX19 = Sipgate Number with or without the "1", This number have to be registered with SS, and have to be a forwarding number on the GV account.
786XXXXX86 = This is your GV number you want to match in this call, and for this set. make sure this number does not have a 1 in front or it won't work. (your GV email account and Password are the ones used for this Number).
#{req.URI.User} = any number you will call using SS, leaved as it or specified a particular number.

Image
ImageImage

Grampa
Posts: 52
Joined: Sun Apr 19, 2009 7:19 pm

Post by Grampa » Mon Aug 31, 2009 4:35 pm

gvtricks,

I'm trying to follow what you've done here. Are you able to call in to your GV voicemail? If so, what outbound trunk are you using? You can't use the SS GV dial-out app, because a call can't be bridged to itself. You could use sipgate, but not for free (unless you are using the free 60 minutes sipgate gives you when you sign up). This is probably my limitation, but I don't see it in your dial plan.

gvtricks
Posts: 81
Joined: Wed Aug 12, 2009 2:48 pm

Post by gvtricks » Mon Aug 31, 2009 5:13 pm

Grampa wrote:gvtricks,

I'm trying to follow what you've done here. Are you able to call in to your GV voicemail? If so, what outbound trunk are you using? You can't use the SS GV dial-out app, because a call can't be bridged to itself. You could use sipgate, but not for free (unless you are using the free 60 minutes sipgate gives you when you sign up). This is probably my limitation, but I don't see it in your dial plan.
I am sorry, Grampa, you are Right, my apologies to every one, I did not realized I was still using a separated GV account set Dial plan like I did before to call my Own GV account.

Code: Select all

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

#Logic for routing outgoing calls.
sys.Trace = false
case req.URI.User
when /^786XXXXX86/
   sys.Log(" Dialing USA #{req.URI.User} through Google Voice service\t")        #Voice Mail
   sys.Log("*****************************************************\n")
   sys.GoogleVoiceCall("GV2_email","GV2_Pass","1747XXXXX30","#{req.URI.User}")
when /^/
   sys.Log(" Dialing USA #{req.URI.User} through Google Voice service\t")
   sys.Log("*****************************************************\n")
   sys.GoogleVoiceCall("caller@gmail.com","GV_Password","415XXXXX19","#{req.URI.User}","786XXXXX86")
end


786XXXXX86 is my main GV account number.

Again my Apologies I will work on this to try to get rid of Gizmo.

gvtricks
Posts: 81
Joined: Wed Aug 12, 2009 2:48 pm

Post by gvtricks » Sat Sep 12, 2009 5:26 pm

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
Last edited by gvtricks on Sat Sep 12, 2009 8:20 pm, edited 7 times in total.

mel2000
Posts: 184
Joined: Fri Jun 05, 2009 11:27 pm

Post by mel2000 » Sat Sep 12, 2009 5:48 pm

The "when /^815XXXXX04/" block does not have a sys.GoogleVoiceCall() or sys.Dial() instruction.

Changing

Code: Select all

when /^(747)\d{7}/   # Free calls to Gizmo5 Numbers        
   sys.Dial("1#{req.URI.User.to_str[0,10]}@proxy01.sipphone.com")
to

Code: Select all

when /^[1]?(747\d{7})$/   # Free calls to Gizmo5 Numbers        
   sys.Dial("1#{$1}@proxy01.sipphone.com")
would maintain coding consistency.

gvtricks
Posts: 81
Joined: Wed Aug 12, 2009 2:48 pm

Post by gvtricks » Sat Sep 12, 2009 7:45 pm

mel2000 wrote:The "when /^815XXXXX04/" block does not have a sys.GoogleVoiceCall() or sys.Dial() instruction.

Changing

Code: Select all

when /^(747)\d{7}/   # Free calls to Gizmo5 Numbers        
   sys.Dial("1#{req.URI.User.to_str[0,10]}@proxy01.sipphone.com")
to

Code: Select all

when /^[1]?(747\d{7})$/   # Free calls to Gizmo5 Numbers        
   sys.Dial("1#{$1}@proxy01.sipphone.com")
would maintain coding consistency.
Thank you I have edited.

jackhappy
Posts: 13
Joined: Sun Sep 13, 2009 8:52 pm

Post by jackhappy » Sun Sep 13, 2009 10:44 pm

I'm trying to understand the logic of how to check your google voicemail.

Using the following designations:
GV1 - GV Phone Number 1
SIP1 - IPKall Number 1 - assigned under GV1 and given "Direct access to voicemail when calling your Google number from this phone"

GV2 - GV Phone Number 2
SIP2 - IPKall Number 2 - assigned under GV2 and given "Direct access to voicemail when calling your Google number from this phone"

Logically it would seem to me that If I wanted to check my GV1 voicemail, I would need to place a phone call to the GV1 number from my SIP1 number. This is how it currently works using my cell phone.

The way gvticks has it set up to check GV1 voicemail is to have a call placed from the SIP2 number (using GV2) to the GV1 number. If the SIP2 number is not assigned in GV to the GV1 number, then how is it allowed voicemail access?

I know you guys have this figured out, but I can't get gvtricks' method to work. I hope that by understanding the logic, I'll be able to fix up my problems. Thanks!

LHM
Posts: 164
Joined: Tue Jul 28, 2009 7:11 pm

Post by LHM » Mon Sep 14, 2009 1:20 pm

Gvtricks setup is to call GV # and get VM msg, then press * then pin#. Using GV 2 to call GV1 VM is necessary as GV1 cannot call GV1 and connect. (call into it self)
Not the same as Cell listed as Mobile in GV and going straight to GV menu prompts.

jackhappy
Posts: 13
Joined: Sun Sep 13, 2009 8:52 pm

Post by jackhappy » Mon Sep 14, 2009 1:27 pm

Ah... that makes sense... Thanks for the heads up!

Post Reply