Re: [Asterisk-java-devel] Queue refresh
Brought to you by:
srt
From: Videanu A. <vid...@ya...> - 2012-11-08 13:59:04
|
... fair enough, but in this case you should somehow maintain an "artificial and parallel" list of queues in your application. Am I right? Regards, Adrian Videanu --- On Thu, 11/8/12, Jac...@L-... <Jac...@L-...> wrote: From: Jac...@L-... <Jac...@L-...> Subject: Re: [Asterisk-java-devel] Queue refresh To: ast...@li... Date: Thursday, November 8, 2012, 3:46 PM Why are you doing a second getQueues() command? If you create a class that implements AsteriskServerListner interface and creates your DefaultAsteriskServer object it will automatically notify you when a new queue is add; onNewQueue method is called. Jacob From: Videanu Adrian [mailto:vid...@ya...] Sent: Thursday, November 08, 2012 5:56 AM To: ast...@li... Subject: [Asterisk-java-devel] Queue refresh Hi all, i have this scenario : 1- I do a login in asterisk 2 -get the queues (asteriskServer.getQueues()) 3 -add a new queue in asterisk/ restart asterisk server 4- get the queues (asteriskServer.getQueues()) this is not refreshed :( How can i refresh the asteriskServer.getQueues()? Regards, Adrian Videanu -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov -----Inline Attachment Follows----- _______________________________________________ Asterisk-java-devel mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel |