Re: [Asterisk-java-users] New to asterisk Java
Brought to you by:
srt
From: Jason J B. <Jas...@ce...> - 2008-04-22 14:58:06
|
Stefan, Martin, Thanks for your responses. I had never considered running the AgiServer from inside of the container. I think I will look at running the AgiServer inside of Jboss then. I'm not entirely sure, but it appears to me the best way to do this would be to implement an Mbean that controls the server. I've done a little digging, and it does not appear that one exists yet. Before I write the code I just wanted to verify that I am correct in saying that there is no Mbean for controlling the DefaultAgiServer? Thanks, Jason -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Stefan Reuter Sent: Monday, April 21, 2008 4:50 PM To: ast...@li... Subject: Re: [Asterisk-java-users] New to asterisk Java Hi, > In other words, whatever started it should stop it. I believe the > default server provided by A-J can only be stopped by killing process, > though. Yes it doesn't even call shutdown if you kill it or hit ctrl-c. I think there are hooks in the VM that we could hook into to do this. I am however not sure how this would affect users running DefaultAgiServer inside containers. =Stefan -- 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... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |