On Sunday, October 24, 2010 05:23:13 pm Stephen Reese wrote:
> Evening,
> 
> Has anyone seen a how-to on getting Asterisk to work with Google Talk
> and Google Voice?
> 
> Thanks

For Google Voice, I use an ipKall number for the inbound trunk.  Here are the 
relevant sections of my extensions.conf:

; inbound ipKall trunk (to which Google Voice makes the connection)
[ipkall]
exten => <ipKall-number>,1,GotoIf($["${DB_EXISTS(gv/channel)}" = "1"]?gv)
same => n,Goto(default,s,1)
same => n(gv),Bridge(${DB_DELETE(gv/channel)})
same => n,AGI(gv/gv.agi,hangup)
same => n,Hangup()

; outbound Google Voice initiation
[gv-out]
exten => _X.,1,AGI(gv/gv.agi,call)
same => n,While($["${DB_EXISTS(gv/channel)}" = "1"])
same => n,Wait(0.3)
same => n,EndWhile()
same => n,Hangup()

And the AGI (written in Bash) is here:
http://messinet.com/trac/wiki/AsteriskGVGateway
http://messinet.com/trac/browser/gv/gv.agi

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to