[Asterisk-java-users] LinkEvent clarification
Brought to you by:
srt
From: Alex M. <al...@go...> - 2005-03-18 18:37:39
|
In the documentation for LinkEvent there's a note that it is possible to receive multiple LinkEvents for a call. This is ok. But is it guaranteed that for each channel receiving a LinkEvent there will be a corresponding UnlinkEvent? In other words, is there any possibility that code like the following could cause the openCalls Vector to have a 'left over' channel name? (Assuming that a channel switching between being Channel1 and Channel2 isn't an issue.) openCalls.add(linkEvent.getChannel1()); ... openCalls.remove(unlinkEvent.getChannel1()); --=20 Alex Malinovich Golden Technologies, Inc. (219) 462-7200 x 216 http://www.golden-tech.com |