Question

I am working with Cisco phones and i want to send them alert messages.

I do this by posting the following to the phone

"<CiscoIPPhoneExecute><ExecuteItem URL=\"Play:chime.raw\"/><ExecuteItem Priority=\"0\" URL=MY GET MESSAGE URL></CiscoIPPhoneExecute>";

My HTTP server then responds with a CiscoIPPhoneText xml object.

This is all working fine, however it is my desire not to have the messages stacking up on top of each other so that the user does not have to dismiss each message individually. I wish only for the most recent message to remain active on the phone so regardless of how many messages the phone has received the user can dismiss one and be returned home.

At first i included an init:services uri in the post but this caused a conflict with another service and my CiscoIPPhoneText was being dismissed immediately by the other service (i have no control over the other service).

Is there a way to return the phone to the home screen before an CiscoIPPhoneText is displayed or any other way to ensure that only one message is active?

Thanks

Was it helpful?

Solution

I found the answer

App:Close:0 is an internal URI which closes the current (or specified) application.

All my messages have the same AppId so when this URI is invoked all my messages close

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top