cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
418
Views
1
Helpful
1
Replies

Question for Cisco API CiscoAddress.setMessageWaiting()

linren0630
Level 1
Level 1

Hi,

I have a question about interface CiscoAddress.setMessageWaiting(), there are two parameters for this API:

{

public void setMessageWaiting (java.lang.String destination, boolean enable)

throws javax.telephony.MethodNotSupportedException,

javax.telephony.InvalidStateException,

javax.telephony.PrivilegeViolationException

}

According to the developer's guide, "SetMessageWaiting provides a method for applications to set the message-waiting lamp or indicator for an address. Invoke the method on an address that is in the same partition as the destination."

Does this mean that, both the invoker phone number and the destination phone number are the normal phone number, right? I tried this interface in my own code (use phone number 1007 to change phone 1008's MWI), and no exception is thrown, but how can I check whether the setting is successful? As you know, there is NO API like "getMessageWaiting" here.

Thanks!

1 Reply 1

mpotluri
Level 5
Level 5

You should see message-waiting lit up on the destination phone. CallManager service parameter 'Message Waiting Lamp Policy' will dictate the end result on the destination phone.