search for: filteredeventaction

Displaying 1 result from an estimated 1 matches for "filteredeventaction".

2011 Mar 14
0
Anyone (else) need an asynchronous asterisk event->action framework ?
...ription) I've ended up with a thing that could (with some work) be turned into an asynchronous asterisk event->action framework. The basic premise is that you write filter terms to asynchronously match events and actions to carry out when an event matches - like this: acts += new FilteredEventAction("DialEvent", // what sort of even we want {event -> event.subEvent == "Begin" && event.dialString=="200901 at zipdxn-out"}, // filter to just the events we care about {event -> doSomethingZipDXSpecificHere( event.callerIdNum ) }...