Accept Email And Make Phone Call?

Home » Asterisk Users » Accept Email And Make Phone Call?
Asterisk Users 8 Comments

Any ideas on how Asterisk could accept an email (such as an email to SMS or “number@mybox.org” sort of thing) and make a phone call to a specific number and make an announcement?

I imagine the first part is the big question.

joe a.

8 thoughts on - Accept Email And Make Phone Call?

  • Joseph Acquisto wrote:

    Stuffing this logic into Asterisk really isn’t practical. You can write something external that is invoked when receiving an email (this depends on the mail server in use) or something that continually checks for new email in a mailbox. Once received you would parse it as appropriate and use one of the available mechanisms of Asterisk (CLI originate, AMI
    originate) to initiate the call.

    All the pieces exist, you just need to put them together.

  • If you’re using sendmail and receive e-mail directly to your box, you could create a user and add a .forward file that pipes the e-mail to a script which access the Asterisk Manager interface or something of the like. There’s lots of tutorials on both.

    Good luck!

  • What you need is procmail. This allows you to trigger a script when an e-mail comes in. It’s probably already installed so, as a starter, try

    $ man procmail

  • I will take a look at it and certainly look at all the other suggestions as well.

    Thanks to all for your response.

    joe a.

  • Already implemented Email to Fax in ICTFAX http://www.ictfax.org using both sendmail and drupal mail handler module , you need to modify Fax part with Voice call

    Regards
    *Tahir Almas*

    Managing Partner ICT Innovations http://www.ictinnovations.com Leveraging open source in ICT

    ****************************************************************************************************************
    NOTICE OF CONFIDENTIALITY
    This communication including any information transmitted with it is intended only for the use of the addressees and is confidential and may be protected by legal privilege . If you are not an intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you for your cooperation.