Re: [Asterisk-java-devel] Asterisk user event problem
Brought to you by:
srt
From: Mircea P. <mir...@ya...> - 2006-07-18 11:57:14
|
I will keep that in mind. Do you know what wrong behavior I should expect if I am using let's say 2 connections? Right now i am using 2 (one for handling events and another for things like hangup, originate call, ...).Only one has an eventHandler. I have registered the event class on both connections and now I am not getting the warning anymore. Thank you. Mircea Stefan Reuter <sr...@re...> wrote: Mircea Postolache wrote: > Well it seems that the second message is generated by a second manager > connection that is sometimes open in paralel with this one. I chose to > have a small pool of connections for use in different parts of the > application. It's like this connection also receives this event, but > since I haven't registered the class with it it complains. One solution > would probably be to register the event with all the connections. I > thought that by registering an event I will somehow "filter" the events > received by a certain connection. But that may not be the case. What do > you think? I would stick with one shared connection as asterisk tends to run into trouble when handling multiple concurrent manager api connections. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ Asterisk-java-devel mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. |