<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Giles Jones wrote:
<blockquote cite="mid:Zen-1IBSBm-0000tL-5n@rutherford.zen.co.uk"
 type="cite">
  <pre wrap="">Jim McDonald <a class="moz-txt-link-rfc2396E" href="mailto:Jim@devzero.net">&lt;Jim@devzero.net&gt;</a> wrote :

  </pre>
  <blockquote type="cite">
    <pre wrap="">Yep that's roughly what I'm talking about but we need the base code to 
be set up such that it will make those calls and pay attention to the 
results, which is the main thrust of my argument.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
All the code should need to do is talk to notification process, fire off an event, listen for a result and then act on the returned ID.

Example:

Incoming phone call.

Phone process would send the event code to the notification system, the notification system would look at rules for this event, see if it matches any and if so return the action to the process.

So if you have configured calls to be forwarded, the notification system would return an action that the phone process needs to forward the call. The notification system would then write an entry in the call history to say it had been forwarded and popup a little message box on the screen just incase anyone is looking.

I would imagine all of this is pretty standard stuff, you wouldn't want to hold up a phone call by having the phone process create a sub process to display a message box etc.. 
  </pre>
</blockquote>
Well yes, that's really what I'm talking about.  But there are also
other things that some people may want to do with an incoming 'phone
call that we won't think about.  Perhaps send an SMS to another 'phone
to say that a call was received?  Just an example, but the point is
that we won't be able to know in advance all of the things that someone
may want to do when a call comes in so rather than build a single
system you want to build an extensible framework where any module can
plug in to it easily, get notifications of what is going on and change
the possible behaviour of actions accordingly.<br>
<br>
I notice that there is some talk of event notification going in to the
base code from an earlier mailing list, don't suppose any dev fancies
filling us in on the details of how it may work?<br>
<br>
Cheers,<br>
Jim.<br>
</body>
</html>