Re: [Asterisk-java-users] Listen for an incomming call to a sip/extension
Brought to you by:
srt
From: Yves A. <yv...@gm...> - 2014-04-27 00:18:16
|
Hi, yes, normally, you have more than one agent in a queue and depending on the ring strategy there might more than one AgentCalledEvent occur simultaneously. To see, which agent has picked up the call you need to look for the AgentConnectEvent. Unfortunately the AgentConnectEvent does not supply the callerID, but the uniqueIDs of the caller that ringed and the channel that is finally connected with the agent are the same so this way you can surely determine the callerID and the agent (membername and interface) that are bridged. regards, yves Am 26.04.2014 18:53, schrieb Jorge: > Thank you very much for your help. > > I will try to summarize the problem and the solution I took. So this > question could be considered closed. > > I have n agents in a queue and I wanted to know the state of these > agents and if someone calls these agents. For that I used > AgentCalledEvent. It let me know the number who is calling the agent > who is called. > > So that is it. > > Thank you very much again. Easy when you know. > > > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |