Any ideas on how asterisk could accept an email (such as an email to SMS or "number at 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.
Joseph Acquisto wrote:> Any ideas on how asterisk could accept an email (such as an email to SMS or "number at 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.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. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com & www.asterisk.org
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! On Thu, Sep 20, 2012 at 12:31 PM, Joseph Acquisto <joea at j4computers.com>wrote:> Any ideas on how asterisk could accept an email (such as an email to SMS > or "number at 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. > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Best regards, Logan Logan Bibby Ke*o*bi Communications Mobile: (205) 394-0424 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120920/6d1456d3/attachment.htm>
On Thu, 20 Sep 2012, Joseph Acquisto wrote:> Any ideas on how asterisk could accept an email (such as an email to SMS > or "number at 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.procmail could be a useful tool to trigger a script to create an Asterisk call file. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
On 20/09/2012, at 4:07 PM, Steve Edwards <asterisk.org at sedwards.com> wrote:> On Thu, 20 Sep 2012, Joseph Acquisto wrote: > >> Any ideas on how asterisk could accept an email (such as an email to SMS or "number at 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. > > procmail could be a useful tool to trigger a script to create an Asterisk call file.You can also use /etc/aliases to run a script when mail is received in an account. -- Cheers, Matt Riddell _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk) http://www.venturevoip.com/exchange.php (Full ITSP Solution) http://www.venturevoip.com/cc.php (Call Centre Solutions)
On Thursday 20 September 2012, Joseph Acquisto wrote:> Any ideas on how asterisk could accept an email (such as an email to SMS or > "number at 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.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 -- AJS Answers come *after* questions.
On 9/20/2012 1:31 PM, Joseph Acquisto wrote:> Any ideas on how asterisk could accept an email (such as an email to SMS or "number at mybox.org" sort of thing) and make a phone > call to a specific number and make an announcement?that's actually what my jkSMS package does. i don't know if it'd be useful out of the box, depending on what you're trying to do. http://jeremy.kister.net/code/asterisk/jkSMS -- Jeremy Kister http://jeremy.kister.net./