Re: [Asterisk-java-devel] AstManProxy
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-02-28 18:53:21
|
Hi Christian, I think the best solution would be to just add support for the "Asterisk Manager Proxy" protocol. Regarding the version Asterisk-Java is already rather forgiving, i.e. if it doesn't get what it expects it will only log a message. Making it fully configurable calls for problems as I suppose that a different protocol will also behave quite different (the manager proxy might be different in this regard). What do you think? =Stefan Cristian Talle wrote: > Hi, > > I tried to use the asterisk-java api to connect to Asterisk Manager via AstManProxy and it didn't work. The code appears to deal only with "Asterisk Call Manager" v. "1.0". AstManProxy is (currently)substituting the product version string with "Asterisk Manager Proxy/1.12". > > I implemented some changes myself - just enough to get it working :) and I was wondering: would it not be a good idea to pass the expected manager interface name / version parameters to the ManagerConnectionFactory.getConnection(...)? |