Cisco Unified Application Environment Developer Forums

« Back to Developers

Faile to send multiple messages to the phones at once

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
I have a ETCH base Java application that send XML text message to IP Phones. Today, we are testing this application in our client prod environment to prepare for go live. However, We ran into some issues today while sending multiple messages at once (or short delay) to  the IP Phones. Some messages get through but some failed to deliver to the phones. This is intermittent but pretty easy to reproduce. We never ran into this issue during our in house development/testing but of course we only have one test phone in house.  I look at the CUAE application log file, there are several type of errors and licensing warning.  I hate to ask for assistance without doing my homework first but time is running out this time. Can someone look at the log file below? Hopefully you can shed some light on this. Thanks!
 
Attachments:

Hi Lim,
 
I guess your main error is "Error: EAE Unable to open a connection to the remote host in SendExecute.  Check the IP address of the device."
Can you please check deviceinfo table in CiscoDeviceListX database in MySQL? Sometime provider is unable to popolate all phones from CUCM to this database.
 
Regards,
Umesh

There is also a known issue with some phone models (older gen) where messages that arrive simultaneously may not show up, or cause a blank screen to display.
 
However the error noted above seems to be the main cause here.

Sorry guys I should put more details in my post yesterday. Yes, there is one IP phone we used for testing was not setup correctly. This is why we received "Error: EAE Unable to open a connection to the remote host in SendExecute.  Check the IP address of the device." error. I think we should focus on the following 4 errors:
Error: EPM Failed to find running script with sessionId: 8c794c7c-766c-46a2-bb97-13e83649416b
Error: EPM No exception defined in method: cisco.uc.cuae.EtchBridge.removeCuaeSession
Error: EPM Exception raised executing: sendExecute, error: Object reference not set to an instance of an object.
Error: EAE Phone declined SendExecute request.
 
 

sendExecute is throwing an nullpointer exception.  are you sure you initialized the request object as documented? you shouldn't be getting this if it did. check the error message returned by CUAE for the reason why it failed
The phone declined to execute your sendExecute: is that your own error message or is it coming from CUAE? did you authenticate successfully to the phones before trying to send request to them?
 
for the first 2 messages, it looks like you're trying to remove a session that has been removed either by your program or cuae. i see a number of licence exceeded messages.  could anyone of those have caused the application to abort prematurely, thereby killing the session?
 
You may want to set the trace config to Verbose so you can capture as much information as possible.