Author Message
NeetaKhanchandani
Joined: Nov 7, 2013
Messages: 3
Offline
Dear concern,

In my application ,i have to listen incoming call events on addresses bound under provider and have to monitor provider state in every 30 seconds.

The problem i am facing is when provider listens ProviderOutOfService Event,then i have to clear the previous objects and used to create new provider object to listen events.But once the provider is OutOfService then ,although we had created new provider , it continuously listens ProviderOutOfService Event .

If i restart the service ,then it works fine and listens ProviderInService Event.

Kindly suggest to monitor provider state in every 30 seconds.

Thanks
CraigJohnson5
Joined: Oct 24, 2013
Messages: 413
Offline
I'm not sure I follow. The observer on the provider listens for Out Of Service and In Service messages, and if one or the other occurs an event is thrown. So I am not sure why the need to monitor the provider every 30 seconds? If you create a new provider while it's out of service it will get an OOS event. What "service" are you restarting to get the InService event?
Go to:   
Mobile view