cco wrote: > > o Offer the possiblity to define custom callbacks that have > (part of) their code in the script > > that is, a module could register some events/callbacks pairs. when the > event is "generated" the callback is going to be triggered this leading > possibly to some part of the script being executed (some kind of > generalized reply routes).
Sounds like a good idea -- this might as well include the exception stuff I mentioned earlier. I don't see a reason to keep explicit failure_routes and such any more. It should be possible to register any route for any event and allow to check the mode we are in (or the current event) through some select. Regards, Martin _______________________________________________ Serdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/serdev
