Re: [Asterisk-java-users] getChannelByName returning an old hungup channel instead of the current o
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2007-03-16 13:23:56
|
Hi, can you provide some more information detailing what problems this behavior causes for you? The reason for the channels not being purged immediately is that in some cases you want to lookup a channel to access its history even if it has been hung up therefore the 15 minutes delay. =3DStefan Gaetan Minet wrote: > Hi >=20 > I ran across a problem with getChannelByName in AsteriskServerImpl (and= > ChannelManager.getChannelImplByName). Indeed sometimes it returns and > old HUNGUP channel that has not yet been purged (< 15 min) of the > channels list. >=20 > With SIP channels it is very infrequent as there is a session ID (4 or > more alpha chars) in the channel name so there is room before we get > another channel with the same name in the 15 min interval, > but for Zap channels it is more frequent as there is no session ID adde= d > to the name so we may have more than one channel with the same name (on= e > active and several old ones that are hung up). >=20 > Most of the library internal code calls getChannelImplById not ByName, > but with queues and parked calls events we only have a channel name in > the event, not the Id (unless bristuffed version), and so we must find > it by name; > Should this be considered as a bug ? >=20 >=20 >=20 > Gaetan >=20 > -----------------------------------------------------------------------= -- > 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |