[Asterisk-java-devel] BaseAgiScript
Brought to you by:
srt
From: Steve P. <sp...@ge...> - 2007-02-04 19:21:11
|
I think it should be possible to create utility classes which have the methods in BaseAgiScript, but aren't actually decendants of AgiScript. What I propose is that all the new methods in BaseAgiScript be moved to a new class named something like AgiUtil (or whatever) and then BaseAgiScript would be declared to implement AgiScript and extend that new class name. This would allow me to declare a class which extends that new class which could provide generic Agi utilities which aren't tied to a specific project. For example I've now got a couple of methods for voice recognition processing which need to call the methods currently in BaseAgiScript, but aren't tied to a specific script and this class shouldn't implement the service method. Steve |