« Back to IP Phone Services Questions

Application Event Handlers when quit with Services button

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello,
 
We have an XML application used to speak directly to a list of IP Phones using RTMT URI.
 
We would like to execute an URL when the user accidently quit the application by pressing the Services key instead of pressing the Quit Softkey of the application. This is necessary to clear the destination phones which are waiting for the RTP stream.
 
We have tried to used the different Application Event Handlers :

- onAppFocusLost is working when the user switch to another XML environement (Directory, Settings, ..) but not when quitting by pressing the Services key.
- onAppClosed is doing nothing. I imagine the application is not really closed when pressing Services key and is still in IP phone stack.

- onAppMinimized is doing nothing. Minimize command must be sent from application.
 

Does somebody has a solution ?
 
Rgds

Hello Jean-Marc,
 
I have exact the same problem.
I have an Idle-url which requests a CiscoIPPhoneText with onAppFocusLost and onAppClosed set.
onAppFocusLost is working as expected, but onAppClosed does not.
 
In the documentation is mentioned, that onAppClosed is only supported in use with the Notify-event, so we have the following url:
 
onAppClosed="Notify:http:192.168.0.33:80:event.xml?event=closed"
 
When I look in the log of the phone requesting the Idle-url, I found the following warning:
 
WRN 13:50:19.780292 JVM: Startup Module Loader|cip.push.z:? - PushThread::execute--(MacroemoticonNotify:http:192.168.0.30:82:event.xml?event=closed::<notifyApplicationEvent appId="jdm/PeterConnects" type="closed"/>)not allowed in execute objects),WILL NOT EXECUTE
 
This is probably the reason why the closed event is not executed, but how can I make this event being fired?
 
 
I tested this with a 7942/SCCP42.8-4-2S
 
Kind Regards,
 
Frank Jong