Please login or register to access secure site features.

Note: By continuing to use DevConnect Program Services you agree to our latest Registered Member Terms.

Sign in using DevConnect ID

Forgot password?

Trouble logging in?

Submit a ticket for Registration Support.

I have an SSO ID

?
sign in

Don't have a DevConnect or SSO ID ?

Create a DevConnect account or join the program.

register now
^
New DevConnect members must have forum permissions in order to post messages.
If the Reply and New Post buttons are not available to you, please request access using a General Support request ticket.
Forum Index » JTAPI » when JTAPI will change the provider state from in_service to Provider.OUT_OF_SERVICE   XML
 
Author Message
simbu



Joined: 11/03/2020 05:20:00
Messages: 1
Offline

In Application,
I am facing Provider.OUT_OF_SERVICE and not getting the call. I just added the below condition reset the provider connection

javax.telephony.Provider - provider

createProvider((stationId)) {
JtapiPeerFactory.getJtapiPeer(jtapiClassName);
provider = jtapiPeer.getProvider(providerString)
return provider;
}


if (null != provider && provider.getState() != Provider.IN_SERVICE) {
provider.shutdown();
provider = null;
provider = createProvider(stationId);
provider.addProviderListener(providerListener);
terminal.addCallListener(listener);
}
JohnBiggs



Joined: 20/06/2005 14:06:52
Messages: 883
Location: Thornton, CO
Offline

So is there a question you are asking here?

Providers typically go out of service because of network failure which a handshake catches and cleans up the socket. Due to the outage, it is not possible to recover automatically (data has been lost and the application needs to be aware of that).

The question you need to investigate is why did the out of service condition occur (which I suspect is the nature of your post). Look at the AES logs to see if AES merely noticed the link go down itself, or if it initiated the disconnect (typically becasue the application did not accept a message it was trying to send to the application for a period of time).
[WWW]
 
 
Go to: