Asterisk voicemail email feature?



  • Has anyone ever got this to work on a pfsense box using the asterisk package?



  • I've actually managed to get this to work with the postfix module.  Setup your asterisk voicemail the way you want then install postfix and go to the postfix services configuration tab.  Under there make sure postfix is listening on the same interface asterisk is and also on loopback.  After that you need to either configure postfix as a full MTA or go under the domains tab, put in the domain name of all the email addresses you want to forward to and use an IP of a relay SMTP server that the pfsense box can use (I run a separate exim server on my network).  After that you have to install mailx via pkg add on command line.  Now once we've got all that setup, you need to configure some symbolic links in pfsense so Asterisk can get to them in their usual places (Because pfsense isn't your typical linux install).

    ln -s /usr/local/bin/mailx /usr/local/bin/mail
    ln -s /usr/local/sbin/sendmail /usr/sbin/sendmail

    If you've got all that setup properly the voicemail to email feature should snap into working.  It did for me! :)