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

Stephen Reese rsreese at gmail.com
Mon Oct 25 07:30:22 CDT 2010


On Mon, Oct 25, 2010 at 12:50 AM, Anthony Messina <amessina at messinet.com> wrote:
> 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
>

Does the AGI have to be used? In this example
http://www.davidvossel.com/?p=28 I see mention of a script, but not in
this one: http://blog.polybeacon.com/2010/10/17/asterisk-1-8-and-google-voice/

I believe I missing the connection in how the whole process actually
works therefore making troubleshooting a little difficult. I was
hoping with the release of 1.6.0 there wouldn't be a lot of bandage
work to get it to play nicely with Google Voice.



More information about the asterisk-users mailing list