Sip show peers

Hi All,

I’ve just research asterisk. I want to write a program that monitor registered user. And program is a web, and i can view same as command: sip show peers in console.

Help me?

check out the Asterisk Manager Interface. You will create a TCP connection to the * server, authenticate, and issue commands and receive responses.

search google for “AMI”

Thanks I’m searching!

But I want to write a program by myself. what files I have to concern? And I have to write program on php to view a website. How can i do this?

Thanks in advance!