Originally Posted by
quad64bit
Assuming you have a commercial ip phone system, then unless it has some form or public or developer api, I don't think you'll be able to just hook into it. Most systems are proprietary, and you cannot just access them.
Assuming you do have access some phone system api, then all you need is loop that runs indefinitely. A server can listen for incoming commands with a ServerSocket. From there, it can just make api calls as needed, and respond with any data it has collected. Again, this is all assuming you have access the the phone system somehow...