[asterisk-users] Re: Asterisk Java w/ Threads

Eric "ManxPower" Wieling eric at fnords.org
Mon Mar 5 14:04:46 MST 2007


Stefan Reuter wrote:
> With Asterisk-Java the proposed solution to connect to multiple Asterisk
> servers is to create multiple AsteriskManagerConnection obeject.
> Each ManagerConnection handles its own thread so there is no need for
> custom thread handing code.
> All you have to do is to make sure is the EventListener objects you pass
> to these connections synchronize access to shared data (if there are
> such accesses).
> I think this approach is rather simple for the user and don't see a
> benefit in adding a proxy to that picture.

In the past, the Asterisk Manager Interface was prone to crashes if it 
had more than 1 client connected to it.  The proxy solved that issue.  I 
think this issue was resolved in 1.2.


More information about the asterisk-users mailing list