Re: [Asterisk-java-users] query status via manager interface
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-06-19 09:18:42
|
hi, the StatusAction results in StatusEvents being sent for each active channel. So to test your application you have to establish at least one call and then run it. when I do this i get the following: [...] # send command # response : net.sf.asterisk.manager.response.ManagerResponse: actionId=3D'null'; message=3D'Channel status will follow'; response=3D'Success'; uniqueId=3D'null'; systemHashcode=3D67987976 # response : {actionid=3D67538227_2#, message=3DChannel status will follow, response=3DSuccess} # event : net.sf.asterisk.manager.event.StatusEvent: dateReceived=3DSun Jun 19 09:15:33 UTC 2005; privilege=3DCall; systemHashcode=3D67990288 # Event: net.sf.asterisk.manager.event.StatusEvent: dateReceived=3DSun Jun 19 09:15:33 UTC 2005; privilege=3DCall; systemHashcode=3D67990288 # event : net.sf.asterisk.manager.event.StatusCompleteEvent: dateReceived=3DSun Jun 19 09:15:33 UTC 2005; systemHashcode=3D67993823 source : AsteriskServer[hostname=3D'localhost',port=3D5038] [...] seems to work as expected... are you sure there was at least one active channel when you sent the StatusAction command? =3DStefan |