[Asterisk-java-users] ManagerConnection for simultaneous multiple calls
Brought to you by:
srt
From: Amol V. <amo...@ea...> - 2017-03-23 16:16:45
|
Hello Friends, I am new to Asterisk Java and I suppose my question may be very basic. Request you to kindly bare with me. My code connects to Asterisk using ManagerConnection instance. It logs in for one time and I use the same object multiple times in different threads. I hope that is OK. I initiate two simultaneous calls on the same ManagerConnection object managerConnection.sendAction What I notice is, calls do not happen simultaneously. Second call happens after first call. Is there a way to run simultaneous calls through same ManagerConnection object? Or do I have to create object every time and login / logoff everytime? I hit a search on Google without much luck. Any help/pointers in this direction are highly appreciated. Thanks & Regards, Amol |