Re: [Asterisk-java-devel] Asterisk user event problem
Brought to you by:
srt
From: Mircea P. <mir...@ya...> - 2006-07-17 07:42:01
|
Sorry for the delay in answering. I tried on Friday to enable the DEBUG on logging and I saw that in order for my .war to get DEBUG logging on, I had to restart Tomcat. It's probably due to the fact that my tomcat has log4j in the common/lib folder. Anyway, after restarting the server I got no more warnings about the event class... Now I see the events from the Event Handler. I don't really understand what happened. Another question that I have regarding Asterisk-Java: is there a way to make the addition/removal of more fastAGI scripts without reloading my webapp? I mean, I would prepare a new FastAGIscripts.jar (which has the properties file bundled) and upload it in my webapp's lib folder. I would then execute a command from the browser to accomodate the changes. The way I implemented this is by wrapping the Default implementation in a class that has start/stop/reload methods. The reload I have implemented by stopping the DefaultAGIServer and replacing it with a new instance. But the properties seem to stay the old way until I reload the entire webapp. I know there is that special way of calling fast agi scripts by fully qualified class name but I would really like to use a mapping file. Thank you. Mircea Stefan Reuter <sr...@re...> wrote: a) The hackish option: ReplyEvent extends UserEvent manager_event(EVENT_FLAG_USER, "UserEventReply", "Channel: %s... b) The not so hackish option: ReplyEvent extends ManagerEvent manager_event(EVENT_FLAG_USER, "Reply", "Channel: %s... Though b) didnt work for you so i would need your log with log level DEBUG to see where the problem is. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Asterisk-java-devel mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. |