Re: [Asterisk-java-devel] ParkedCallsComplete generated events in manager
Brought to you by:
srt
From: Yves A. <yv...@gm...> - 2014-06-17 09:35:37
|
Hi Luca, post your code please and tell us, which version of asterisk and asterisk-java you´re using. yves Am 17.06.2014 09:43, schrieb Luca Natale: > Hi there! > > In my project i have necessity to call my asterisk server to have a > list of the parked channels. > > I understood that a ParkedCallsAction generates n ParkedCallEvents > where n is the number of parked channels, following a > ParkedCallsComplete event. > > Everything works just as expected, except for the fact that i can't > catch these ParkedCallEvent in my events listener. > > This is a log for a normal ParkedCallEvent (i can see this event in my > listener): > > Dispatching event: > org.asteriskjava.manager.event.ParkedCallEvent[dateReceived='Mon Jun > 16 15:08:57 CEST > 2014',privilege='call,all',callerid=null,sequencenumber=null,from='SIP/1078-000000b3',calleridname='1078',timestamp=null,uniqueid='palermo-1402924150.275',exten='1',parkinglot='default',server=null,calleridnum=null,channel='SIP/1078-000000b3',timeout='1200',systemHashcode=662570926]DEBUG > > > And this is a log for a ParkedCallsAction generated ParkedCallEvent > (no trace of this event in my listener): > > Dispatching event: > org.asteriskjava.manager.event.ParkedCallEvent[dateReceived='Mon Jun > 16 15:09:00 CEST > 2014',callerid=null,sequencenumber=null,from='SIP/1078-000000b3',calleridname='1078',timestamp=null,uniqueid=null,exten='1',parkinglot='default',server=null,calleridnum=null,channel='SIP/1078-000000b3',timeout='1196',systemHashcode=421189702] > > Major difference being that in the second case there is no privilege > value. > > Is there a way i can catch these events in my listener? Or, is there a > fastest way to have a list of the currently parked channels by request > using the AMI? > > Thank you all :) > > -- > Luca > > > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel |