To call a GTalk user:
To call user@gmail.com use user@gtalk2voip.com in your dialplan.
example:
Code: Select all
case req.URI.User.to_s
# speed-dial preset Gmail GTalk users user1@gmail.com, user2@gmail.com with 801, 802 etc..
when '801'
sys.Dial "user1@gtalk2voip.com"
sys.Respond(480, "Failed GTalk call")
when '802'
sys.Dial "user2@gtalk2voip.com"
sys.Respond(480, "Failed GTalk call")
when '803'
sys.Dial "user3@gtalk2voip.com"
sys.Respond(480, "Failed GTalk call")
end
To make calls a GTalk user can goto the https://gtalk2voip.com website enter their user@gmail.com address into the Subscription box and Click Invite.
A Invite from "service@gtalk2voip.com" will appear in the Chat area of their gmail, accept the invite.
open "service" chat window and type [ call user@sipsorcery.com ] in the chat box to call a sipsorcery user or any sip:address eg. call user@host.com