I have done a lot of asterisk projects. Please check my profile. It is possible to make a solution that the user dial the main number, the application will check the database for user details and then record the message. After the message is done, it will be send on user mailbox and then we dial the user and play the recorded message. Please contact to discuss the details.