Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
JTAPI (JTAPI) Developer Center
Overview
Documentation
Community
Wiki
Testing
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Cisco JTAPI Questions
SuperProvider with IPPhone, not in registered state
Threads [
Previous
|
Next
]
Stefania Oliviero
Posts:
34
Join Date:
9/12/08
Recent Posts
SuperProvider with IPPhone, not in registered state
Answer
10/3/12 8:51 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Abhishek Malhotra
Posts:
119
Join Date:
10/28/10
Recent Posts
RE: SuperProvider with IPPhone, not in registered state
Answer
10/16/12 4:24 PM as a reply to Stefania Oliviero.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
What CUCM / JTAPI Version are you using?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Surapong Niramoncherdchai
Posts:
2
Join Date:
1/16/09
Recent Posts
Automatic reply: New Message from Abhishek Malhotra in Cisco JTAPI (JTAPI)
Answer
10/16/12 4:25 PM as a reply to Abhishek Malhotra.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Vijendra Dwivedi
Posts:
9
Join Date:
7/17/08
Recent Posts
Automatic reply: New Message from Abhishek Malhotra in Cisco JTAPI (JTAPI)
Answer
10/16/12 4:25 PM as a reply to Abhishek Malhotra.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
On PTO today 10/12/2012
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Stefania Oliviero
Posts:
34
Join Date:
9/12/08
Recent Posts
RE: SuperProvider with IPPhone, not in registered state
Answer
10/22/12 8:52 AM as a reply to Abhishek Malhotra.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Abhishek Malhotra:
What CUCM / JTAPI Version are you using?
8.5.1.10000-26.
Any idea ?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Abhishek Malhotra
Posts:
119
Join Date:
10/28/10
Recent Posts
RE: SuperProvider with IPPhone, not in registered state
Answer
10/22/12 11:30 AM as a reply to Stefania Oliviero.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Stefania Oliviero
Posts:
34
Join Date:
9/12/08
Recent Posts
RE: SuperProvider with IPPhone, not in registered state
Answer
10/23/12 12:50 PM as a reply to Abhishek Malhotra.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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());
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Overview
Documentation
Community
Wiki
Testing