07-16-2014 10:33 AM
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.
Help please.
Solved! Go to Solution.
07-16-2014 11:02 AM
Ashish,
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.
07-16-2014 11:02 AM
Ashish,
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.
07-17-2014 01:28 PM
Why it is mandatory to add observer?
Any reason for it?
Please specify
07-17-2014 02:05 PM
Yes. 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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide