[asterisk-users] Integrating Asterisk 1.8 with Google Talk and Google Voice

Anthony Messina amessina at messinet.com
Sun Oct 24 23:50:44 CDT 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20101024/64c9296b/attachment.pgp 


More information about the asterisk-users mailing list