Re: [Asterisk-java-users] AsteriskManager
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-03-07 23:17:08
|
On Mon, 2005-03-07 at 17:00 -0600, Alex Malinovich wrote: > On Mon, 2005-03-07 at 16:56 -0600, Alex Malinovich wrote: > > Is there any way to get a concrete implementation of AsteriskManager > > currently (preferably that uses a pre-existing ManagerConnection for > > connection information)? > >=20 > I think I may have already found my answer after reading a bit more. I > can create a DefaultAsteriskManager and then use setManagerConnection to > have it use my existing ManagerConnection. This looks like it will do > what I need. Yes, thats in fact the best solution. AsteriskManager just acts as a higher level wrapper around a ManagerConnection. Note: The AsteriskManager stuff is not yet that well engineered as the lower level interface using ManagerConnection, so if you encounter any obstacles feel free to call for improvement. Especially there is currently no way to register listeners for higher level events (like a new channel being created). Cheers Stefan |