<div>I think you have to implement the ManagerEventHandler interface to handle the PeerEntryEvent.</div>  <div>&nbsp;</div>  <div>ManagerEventHandler mgrHdlr = new ManagerEventHandler {</div>  <div>&nbsp;&nbsp;&nbsp;&nbsp; public void handleEvent(ManagerEvent event) {</div>  <div>PeerEntryEvent peerEntryEvent = (PeerEntryEvent) event;<BR>System.out.println(peerEntryEvent.getStatus());<BR>&nbsp;&nbsp;&nbsp;&nbsp; </div>  <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</div>  <div>}<BR></div>  <div>And you have to register to receive your eventHandler</div>  <div>managerConnection.addEventHandle(mgrHdlr);</div>  <div>&nbsp;</div>  <div>HTH.</div>  <div><BR><B><I>richard Coco &lt;coco_richard@yahoo.com&gt;</I></B> wrote: </div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi all,<BR><BR>first of all sorry for the question. I know there is<BR>an asterisk-java mailinglist but i am not subscribed<BR>to this list and i am sure there
 are asterisk-java<BR>guru on this list who can help me.<BR><BR>I am trying to get the status of a peer using<BR>"SipShowPeerAction". Unfortunately the getStatus<BR>method gives me everytime "null".<BR><BR>SipShowPeerAction sipShowPeerAction = new<BR>SipShowPeerAction("2001");<BR>managerConnection.sendAction(sipShowPeerAction);<BR>PeerEntryEvent peerEntryEvent = new<BR>PeerEntryEvent(sipShowPeerAction);<BR>System.out.println(peerEntryEvent.getStatus());<BR><BR>What wrong with this example? Maybe someone can give<BR>me a working example.<BR><BR>hope someone can help...<BR><BR>thx in advance <BR><BR></BLOCKQUOTE><BR><BR>