[OPEN-ILS-DEV] ***SPAM*** telephony building blocks (patch review)
Bill Erickson
erickson at esilibrary.com
Fri Nov 13 10:42:39 EST 2009
Hi all,
Lebbeous Fogle-Weekley and Joe Atzberger, Equinox's newest developers, have
starting building components to add telephony support to Evergreen using the
new Action/Trigger event infrastructure. For those that are unfamiliar with
Action/Trigger, it's a generic mechanism by which "hooks" are added to the
code and different types of reactors can be attached to respond when a given
hook is encountered. These will ultimately be used to implement a wide
variety of Evergreen behavior, the most notable for now, though, are the
different types of notices -- overdue notices, courtesy notices, billing
notices, hold notices, etc. If you can think of a reason to send an email,
it will do it.
One of the key benefits of Action/Trigger is that you can define different
reactors. The most widely used reactor thus far has been SendEmail. With
telephony comes a new reactor called "AstCall". It's an Asterisk reactor
responsible for generating asterisk call files based on configured templates
and run-time data. In addition to the reactor, there is a mediator process
that shuffles the call files to and from the asterisk server for delivering
new notices and processing completed notices (to check for errors, etc.).
Attached is a patch which provides some of the initial pieces, including the
reactor, the mediator, configuration settings, Action/Trigger DB seed data,
and sample asterisk extensions configuration.
This patch does not represent a completed project, though outbound calls do
work with the sample audio files. (We have audio files for testing if
anyone wants them, complete with Joe's dulcet tones.) There is still much
to do and much of the code in this patch will evolve, but before we get too
embroiled, I wanted to pass this on for general review.
Let us know what you think.
Thanks!
-b
--
Bill Erickson
| VP, Software Development & Integration
| Equinox Software, Inc. / The Evergreen Experts
| phone: 877-OPEN-ILS (673-6457)
| email: erickson at esilibrary.com
| web: http://esilibrary.com
Please join us for the Evergreen 2010 International Conference, April 20-23,
2010 at the Amway Grand Hotel and Convention Center, Grand Rapids, Michigan.
http://www.evergreen2010.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20091113/d7c67d3e/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: big-ast-c.patch
Type: text/x-diff
Size: 19737 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20091113/d7c67d3e/attachment-0001.patch
More information about the Open-ils-dev
mailing list