Google contacts

Hi. i am running asterisk 11 in a debian server. i would like to integrate asterisk with my google contacts.
My incoming dialplan from extensions.conf is:
exten => 22120214087,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => 22120214087,n,Answer()
exten => 22120214087,n,Wait(1)
exten => 22120214087,n,Dial(SIP/450&SIP/451,15)

At the moment i am using a manual entry of family in asterisk’s database and it is retrieved from the CALLERID(name)…
What do we have to do to our configs to make google contacts sync to asterisk’s database every 6 hours or so?

Seemingly Google provides an API for Contacts here:

You’d have to hook into that, and then stuff the results into Asterisk, however that made sense.

1 Like