[Asterisk-java-users] Open Sockets following logoff
Brought to you by:
srt
From: Aaron E. <aar...@gm...> - 2008-07-03 16:04:39
|
Shouldn't the logoff method of any implementation of the ManagerConnection interface also close the socket? I'm uising a ManagerConnectionFactory to create connections to asterisk, logging in and then doing something and then in a finally, calling logoff. This is in a tomcat environment so there is no JVM exit and it seems on the server that there are still open connections to the asterisk server on 5038. Am I missing something? I see that ManagerConnectionImpl has a disconnect method to close the socket but this method is not exposed in the API. any help would be appreciated. thanks, aaron |