[Asterisk-java-users] resolution: question about getting peers using SipShowPeerAction (AMI)
Brought to you by:
srt
From: Robert P. <ro...@ro...> - 2007-08-15 16:17:24
|
Folks, Well, I feel rather foolish. It turns out the ManagerResponse already held all the information I was after, in its HashMap 'attributes' - accessible via getAttributes(). In this case, the information I'm after is the same that is returned at the Asterisk console by the command 'sip show peer [peer name]'. So while it may have been unnecessary effort, at least all my fumbling around exposed me to more of the API and functionality, and I also learned a bit more about Asterisk in the process. So, while perhaps the API could be documented in a bit more detail, or maybe there could be more explicit (or just more) tutorials/docs, hats off for a great app. Cheers, Robert |