View Single Post
Unread 08-27-2009, 10:22 PM   #8
emoci
 
Join Date: Jul 2007
Location: Toronto, Canada
Posts: 1,422
Thanks: 123
Thanked 369 Times in 282 Posts
emoci is a name known to allemoci is a name known to allemoci is a name known to allemoci is a name known to all
Default

Quote:
Originally Posted by ataboy View Post
I haven't yet got to grips with Sipsorcery. How are you using the setup you described? Do you register Gizmo5 in Sipsorcery and then register Sipsorcery in Voxalot?
Yep....

The gist of it:

-For the sake of clarity setup a new G5 acct.
-Setup a SipSorcery acct. or use one that you have (if you plan on using SipSorcery for other things as well it helps to create an extension that you'll use strictly with GV)
-Register G5 in SipSorcery using 1747xxxxxxx rather than your alpha user ID. Set the contact field for this in SipSorcery as Name-of-Ext-for-GV@sipsprcery.com
-Now add this dial plan and save it under something like MyGVDialPlan:

Code:
#Ruby

sys.log("***Starting New Call Event***")
sys.log("***Outgoing Call Starting***")
sys.log("Call placed by  #{req.Header.From.FromName} at #{req.Header.From.FromURI.User}@#{req.Header.From.FromURI.Host}")
sys.log("Call is for #{req.URI.User}")
caller = req.Header.From.FromURI.User
called = req.URI.User
sys.log("*** Caller: #{caller} ***")
sys.log("*** Number Called: #{called} ***")

sys.log("Call Placed via Google Voice")
sys.GoogleVoiceCall("user@gmail.com", "password", "1747xxxxxx", "#{called}")
-When you go to edit an extension (Sip Acocunts Header) you can assign an 'out dial plan'...assign the Dial Plan you saved to the extension you setup...

-me@gmail.com: your email associated with GV account
-Password : password for email account associated with GV account
-1747xxxxxxx is the G5 number you also registered with SipSorcery above...

Now simply use this SIP Account to make calls via GV (eg. add it as a provider in VoXalot) :
User : Name-of-Ext-for-GV
Pass : password you setup
Proxy : sipsorcery.com

Catch: If you haven't already setup a SipSorcery acct. you may have to wait till Sept 8th to try ...

Last edited by emoci; 08-27-2009 at 10:24 PM.
emoci is offline   Reply With Quote