Hi all,

first of all sorry for the question. I know there is
an asterisk-java mailinglist but i am not subscribed
to this list and i am sure there are asterisk-java
guru on this list who can help me.

I am trying to get the status of a peer using
"SipShowPeerAction". Unfortunately the getStatus
method gives me everytime "null".

SipShowPeerAction sipShowPeerAction = new
SipShowPeerAction("2001");
                managerConnection.sendAction(sipShowPeerAction);
                PeerEntryEvent peerEntryEvent = new
PeerEntryEvent(sipShowPeerAction);
                System.out.println(peerEntryEvent.getStatus());

What wrong with this example? Maybe someone can give
me a working example.

hope someone can help...

thx in advance 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to