Re: [Asterisk-java-users] Two Connection but only one Thread for reading...
Brought to you by:
srt
From: Gabriel A. <gab...@gl...> - 2007-07-10 20:44:43
|
I need to make calls through one connection and to receive Events through another. Events like JoinEvent and LeaveEvent. Thanks for your reply. Gabriel -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Stefan Reuter Sent: Martes, 10 de Julio de 2007 05:40 p.m. To: ast...@li... Subject: Re: [Asterisk-java-users] Two Connection but only one Thread for reading... Gabriel Allasia wrote: > I'm creating 2 beans with Spring using DefaultManagerConnection, only one of > them has an EventListener added, the other it will used for making calls. > > Although the javadocs says "Note that the DefaultManagerConnection will > create one new Thread for reading data from Asterisk", I'm receiving the > events through the Connection that it doesn't have an EventListener. how (or where do you receive events) if you did not register an event listener? and which event? =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... Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |