Using Diversion Header for mailbox

Hi,

I am setting up a voicemail system for forwarded calls and want to use Diversion header for mailbox number for forwarded calls.
Is it possible to configure asterisk to use Diversion header information as mailbox number?

thanks
amar