Extra applicatio!

Hello ,

I would like to to be told the time each time I dial an extension. Is it possible to write an external program [eg in C++] that can update a voicemail message so when I call in it has the right info?
Any ideas?
There is something in voicemail.conf about calling an external file, how does it work?