« Back to Cisco JTAPI Questions

Does Cisco JTAPI support getMessageWaiting() on CallCtrlAddress?

Combination View Flat View Tree View
Threads [ Previous | Next ]
I saw CiscoAddress implemented setMessageWaiting(), but does it support getMessageWaiting()? Or is there a way to get MWI on a phone via JTAPI?

I believe this is available via CallControlAddress.getMessageWaiting().

Doing a bit more research on this, it looks like getMessageWaiting() may not be supported.

MWI is communicated to the app via CallCtlAddrMessageWaitingEv event. If an observer is added for a device and MWI is already on, this event will be sent immediately. If the MWI status changes while the phone is being observed, additional CallCtlAddrMessageWaitingEv will be sent to udpate the status.

Correct, getMessageWaiting() throws a MethodNotSupportedException.

Is there a filter that I need to turn on to receive this event? Is Cisco JTAPI implementation really sending this event out? I am asking these questions because 1) I don't see these event while I explore MWI features 2) I don't see any mentioning of this MessageWaitingEv in Cisco's JTAPI developers guide. Thanks!

Since DevSupp engineers are reading these forums quite often I wonder.. is there any chance we could see a more complete JTAPI implementation in the future? It's always frustrating when you run into a situation that JTAPI covers, but Cisco's implementation does not and you have to either give up or develop some extensive workaround (one of my favorite examples are media capabilities.. whether you can simply play an audio file or have to set up rtp streaming via jmf.. there are worlds in between... or you cannot use an RP for media even though I think it would be predestined because it is designed to handle large number of calls whereas the CTI port isn't).

Java doc for CiscoAddress.setMessageWaining() clearly specified "Note:
This implementation currently does not enforce the following
postconditions as specified in CallControlAddress:
this.getMessageWaiting() == enable CallCtlAddrMessageWaitingEv gets
delivered for this Address" This basically means that CiscoJTAPI
currently don't provide this event. Bottom line is that we don't have a
way to know existing status of MWI on phone, you can only set or unset
using the interface.