Blogs

Showing 1 - 5 of 30 results.
Items per Page 5
of 6

Forums

« Back to Cisco JTAPI Questions

RE: SuperProvider with IPPhone, not in registered state

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi to all, I'm trying to test the SuperProvider feature  to check the iphone's status and retrieve the  IP Adress.
I created on CUCm an applicationUser with  Standard CTI Allow Control of all  Devices.
Then in my test application I created the Terminal (7970) with the following statements:
term = provider.createTerminal("SEP001E4A0C7F93");
term.addObserver(this);
I rightly received the CiscoTermCreatedEv and the CiscoTermInServiceEv events, but the Terminal never goes on Registered State, so I can't retrieve its IP Address.
IpPhone is rightly registered on the CUCM.
What can I do ?
Thanks.

What CUCM / JTAPI Version are you using?
 

Dear Sender, I'm on Business trip during Oct 14 to Oct 19. During this period I will have limit access both email and phone. I'm apologized for any delay response.

On PTO today 10/12/2012

Abhishek Malhotra:
What CUCM / JTAPI Version are you using?
 

8.5.1.10000-26.
Any idea ?

Have you registered feature that enables register/unregister event for a terminal?
Application needs to use registerFeature api to register feature "CiscoFeatureID. TERMINAL_REGISTER_UNREGISTER_EVENT_NOTIFY" in order to get CiscoProvTerminalRegisteredEv/CiscoProvTerminalUnRegisteredEv events when device registers/unregister.

Device I try to test, is already registered.
However I try to register tge above provider feature, but still it doesnt'work.
My snippet code is the following:

String providerString = providerName + ";login=" + login + ";passwd=" + passwd; //;appinfo=CiscoSoftphone
provider = (CiscoProvider) peer.getProvider ( providerString );
provider.addObserver ( this );
Thread.sleep(1000);
provider.registerFeature(CiscoProvFeatureID.TERMINAL_REGISTER_UNREGISTER_EVENT_NOTIFY);
Thread.sleep(1000);
CiscoProviderCapabilities cap = (CiscoProviderCapabilities) provider.getCapabilities();
if (cap.canObserveAnyTerminal()) {
term = provider.createTerminal("SEP1C17D3C35DC8");
term.addObserver(this);
if (term.isRegistered()) {
println("Device registered: " + term.getName());

Collateral


No files available