Q. I am developing JTAPI application for making call using super provider.
I am using a device to call which is in good state. I can create terminal with provider.createTerminal().
When i tried to make call using JTAPI application from that device, it gives me InvalidStateException with device state =4
The device is in good state and can dial calls manually. It also registered as JTAPI device.
Still it shows InvalidStateException whenever I try to dial programmatically.
A. Did you add call observer on the address or terminal before making a call? Application should add observer and call observer on the address/terminal, wait till a inService event is received and then do call features.
It is mandatory to add observer the reason being that, application should have call observer before calling any feature API. Adding call observer will open the signaling needed to create the correct JTAPI call model.
Comments
0 comments
Please sign in to leave a comment.