Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Asterisk voicemail email feature?

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 1 Posters 985 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      Zermus
      last edited by

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

      1 Reply Last reply Reply Quote 0
      • Z
        Zermus
        last edited by

        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! :)

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.