cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
531
Views
0
Helpful
5
Replies

IP Phone Status - JTapi

vipinkalra2000
Level 1
Level 1

Hi All

I want to capture the run time IP Phone status using Jtapi with the following details , like phone Xtn , user.

Can any one help?

Thanks

-vk

5 Replies 5

stephan.steiner
Spotlight
Spotlight

could you outline "run time IP Phone status" a bit more?

Are you interested in the phone's hook status only, or should it be more complex?

I am looking for Busy or Non Busy state of the IP Phone.

Thanks

-vk

and what exactly does busy mean? I've seen different definitions. In terms of XML Services, busy means either the phone is off hook (but no call must be active and no key must be pressed), or there's a custom XML page already being displayed (services, directory, etc). Right now I don't see a way to figure out if a phone is busy or not if we take this definition of busy. The hook-state should be doable, but the screen not being idle.. I don't know.

If you mean busy in terms of making a call, you could query the integrated HTTP server of the phone.. one of the statistics pages you can query will give you hints as to whether a call is in progress or not. I'm currently without a phone, but it shouldn't be too hard to figure this out.. just put http://your-ip-phone/ in your browser, look at the pages, then make a call, and look at the pages again.. you'll notice the difference.

Hi

I just wana to capture the status like , talking , dialing , etc ....

I appreciate the specific information about the busy status.

I tried querying the HTTP server of the phone using http://your-ip-phone but it didnt worked.

Can u please tell me whts the significance of your-ip-phone ? I guess its extention. Am I right ?

-vk

your-ip phone stands for the IP address of an IP phone.

I'm not familiar with all the JTAPI classes, but they give you a lot of info on the state of a call, perhaps they also cover the device state (there's no way to get what you want via AXL or XML). Your best bet it to study the JTAP documentation you get from SUN, and install Cisco's JTAPI extensions for the CM and read through its docu. I have had a quick look but was not sucessful finding an event that would cover what you're looking for so I can't guarantee that this is going to work out in the end, but it's where I would look if I needed to do this. Sorry I can't be of more help.

BTW, look in javax.telephony.events and com.cisco.jtapi.extensions , the rest of the packages don't deal with events and what you're looking for are some terminal events. I'm somewhat sceptical that the phone can go as far as knowing somebody is dialing.. I'm not using IP telephony productively, but the phone system we have at work can be reprogrammed via pressing buttons, so there's no way to know wheter somebody is reprogramming certain functionality or dialing outside.. there are at least a 100 different prefixes that can be part of dialing a number or doing something completely different.