[Asterisk-java-users] getParameter() bug
Brought to you by:
srt
From: Brett S. <bs...@no...> - 2006-03-07 10:22:50
|
It appears that there is a bug on getParameter(). Currently getParameter does not work unless AGIRequest.getScript() has previously been called. I had implemented a very simply mapping strategy as: public class AgiMappingStragegy implements MappingStrategy { public AGIScript determineScript(AGIRequest request) { // We only have one! return new Unity(); } } Normal strategies call request.getScript(). While what I've done is somewhat unusually the dependency between getParameter and getScript is undocumented and I believe unnecessary. Regards, Brett. |