Asterisk on gentoo

I think about a small project "Calling from nagios on gentoo"
I trying to make a small monit system, which will use a asterisk.
When, a nagios will send a email with alert, Asterisk should take this email and call to declared phone number (nokia connected on com port) and play recorded earlier mp3 or wav file
It’s possible ?

It should be possible to do what you want to do, i’d say. But you’ll need to start by doing some reading.

Read this book: … +Telephony

And read through as much of the documentation on this site as you can / need :