[Asterisk-java-users] Queues and entries
Brought to you by:
srt
From: Jan E. <jan...@pl...> - 2005-08-19 10:14:37
|
Hi, When using the queues in Asterisk-Java I noticed that channels aren't populated into queues when they arrive. I mean, if I call a queue I'll get a JoinEvent, and I always see that the queues are empty, they contain no channel entries. Only entries that are in queues when the application starts up are populated into queues (via QueueEntryEvent), as those seem to be handled ok. Is Asterisk-Java meant to internally handle joining and leaving channels for queues, or should I take care of it myself? I can just call Queue.addEntry() or removeEntry() in a suitable callback, but it feels a bit "wrong" to mess with Asterisk-Java internal objects in this way. I think it's a bit misleading to take care of some of the events and not all. :) -- Jan Ekholm jan...@pl... |