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

Go down

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

Post  gvtricks on Wed Sep 02, 2009 5:37 pm

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

Code:
####################################################
######## 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",1)
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.



gvtricks

Posts : 11
Join date : 2009-07-27

View user profile

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum