Re: [Asterisk-java-users] Multihost events monitoring
Brought to you by:
srt
From: Martin S. <ma...@be...> - 2008-04-10 17:52:15
|
Hi Maciek, I know Gaetan has created a patch to AstManProxy that allows it to work with AJ, and I believe AstManProxy does attach information about what server the event originally came from. You may be able to combine AstManProxy and Asterisk-Java in such a way that you wouldn't have to modify either, and only write your program to read the extra field for the original server that fired the event. See http://dev.mcit.be/various/astmanproxy-asterisk-java.html. Cheers, Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 > -----Original Message----- > From: ast...@li... > [mailto:ast...@li...] On > Behalf Of Maciek Tokarski > Sent: Thursday, April 10, 2008 11:27 AM > To: ast...@li... > Subject: [Asterisk-java-users] Multihost events monitoring > > Hi all, > I want to develop application that will monitor cluster of > Asterisk hosts. > I'm wondering if asterisk-java is able to handle events form > many boxes. My > first idea was one main class implementing EventListner and > several manager > connections with main class as event listener. But problem > comes up when > main class have to find out origin of event (eg. Hostname or > IP address). > There is no property such "Source" in events classes. > > Next attempt may be multithread application with some common > synchronized > resources. > > Any more ideas?? > > Regards, Maciek > > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to > save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java > .sun.com/javaone > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |