Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Preventing Phones Off Hook From Receiving Execute Command

I am currently attempting to enhance a broadcasting/paging service and was looking for a way to prevent phones which are currently on a call from receiving the broadcast.

The easiest way that I can see doing this is by retrieving the "off-hook" status of a given phone and filter the phones that way. AXL seems like it might be able to pull this information, but I haven't been able to track down any documentation for it.

If anyone could point me to where I can find documentation for AXL or has any ideas on other ways to prevent phones from receiving an execute command while on a call, I would greatly appreciate it.

- Harrison

7 REPLIES
Community Member

Re: Preventing Phones Off Hook From Receiving Execute Command

The challenge that you will have with AXL is that CM only supports a status poll once an hour. So as you can imagine this is not a practical interface to use. Your best bet is to use TAPI and monitor the “off hook” status for phones.

Ian

Community Member

Re: Preventing Phones Off Hook From Receiving Execute Command

A "simple" way of doing this, without using TAPI/JTAPI, is to look at the phone's internal "webpage"... for instance, if the IP address of the phone is x.x.x.x, you can go to:

http://x.x.x.x/StreamingStatisticsX?1

This will return an XML page that has the tag in it... if it is "Not Ready", then the phone is not in a call... if it is "Active", the phone is in a call.

Community Member

Re: Preventing Phones Off Hook From Receiving Execute Command

The StreamingStatistics did the trick alright. Much appreciated. There are some inconsistencies with returning the RowStatus value at every query, but overall, this solution satisfies my needs.

Community Member

Re: Preventing Phones Off Hook From Receiving Execute Command

Hi,

I know this post is quite old but, would you mind sending me the part of the script which allow you to read the RowStatus value ?

My mail is thierry.visier@wanadoo.fr

That would be very appreciated.

Thanks a lot..

Thierry

Community Member

Re: Preventing Phones Off Hook From Receiving Execute Command

Hi,

Forget it, I found by myself.

Thanks anyway.

Bye

Thierry

Community Member

Re: Preventing Phones Off Hook From Receiving Execute Command

I have to send multicast stream to X number of phones (X varies by location) from any phone in those locations with condition that only idle ones get the page.

How can I get (active / not active)status on group of phones other than by their individual IP addresses (which can change) or is there a way to implement http://x.x.x.x/StreamingStatisticsX?1 with x.x.x.x as a multicast address.

Your help is much appreciated.

Thanks.

Re: Preventing Phones Off Hook From Receiving Execute Command

>How can I get (active / not active)status on group of phones other than by their individual IP addresses

Well, the whole status thing really screams for CTI.. keeping track of activity really is a CTI job to begin with, so in a callmanager environment that means (J)TAPI. TAPI imho is real ugly (plain C) and more suited for first party call control (meaning something running on a end user machine), whereas JTAPI does both first party and third party control (but imho is more suited for third party control.. so an app that tracks a bunch of phones from a central location). You'd have to query routers for IGMP membership to get a list of who's participating in the multicast group you are interested in, then get the statistics for each phone involved (that is if you want to do the "traditional" solution). If you need the whole multicast group thing, there's no way around lookup up members of the group. And you can resolve phone names to IP addresses via the devicelistx.asp report. Or you go JTAPI, keep track of your phones, and when the time comes to send messages, you find your phones (called Terminals in JTAPI), then get the lines on the phones (Addresses), and on each CiscoAddress you look up the number of active calls and calls on hold.. Or you can track a phone's off hook state by monitoring CallEv's.

164
Views
0
Helpful
7
Replies
CreatePlease to create content