Re: [Asterisk-java-users] Manager: no socket read timeout ?
Brought to you by:
srt
|
From: Gaetan M. <gm...@ea...> - 2007-01-27 17:02:56
|
Hi Stefan > I did have a look at your suggestion and find it really useful. > The only problem is that it requires a PingThread to work reliable. > Therefore I didn't enable it by default but added a setReadTimeout() > method to the DefaultManagerConnection with a short description and a > note that a PingThread should be used with an interval of half the > readTimeout. > > The latest code is in svn and at > I just updated to head, and it works smoothly . Thanks. It also resolved my problem with the missing "newuniqueid" setter (didn"t know it is added by Bristuff). However when the connection times out and reconnects, it is logged to INFO. Shouldn't it be better to log to the WARN cat instead ? > http://maven.reucon.com/public-snapshot/org/asteriskjava/asterisk-java/ > > Aren't the snapshot links on http://asterisk-java.org and http://asterisk-java.org/development outdated ? Those point to http://maven.reucon.com/public/org/asteriskjava/asterisk-java/ Regards Gaetan |