Asterisk populating google agenda based on user choice

Hello. I am just wondering if it’s possible to do something like this ? I would like my customer to be able to press a key on their phone and asterisk to automatically detect the user phone number (when available), and add the user to my recall list on my computer. I would also like to be able to automatically put those on my google calendar on pre-defined timeframe (in the morning from 9 to 10 - in the afternoon from 13 to 14, etc.) giving the user the timeframe choice, if ever it’s possible.

Is it something possible ? Only a note on my desktop, call back 123-555-1234 would be ok, google agenda integration would be perfect.

Asterisk can invoke scripts or programs which can do this, but it is up to you to write or find them.