06-11-2013 09:58 AM
Hi,
I am having a bit of trouble integrating our CPAM 1.4.1 with our CUCM 8.6.
I am following the guide in the 1.4.1 user guide, however when I edit the given URL's with my own CPAM ip and credentials I do not get the output that is listed in the document. Either I get authentication failed or when it does finally authenticate it there is no data, just some xml code.
we just want to create a service url on a phone that will unlock a door. I can not get a list of doors that the guide says I should when entering the URL in my browser to proceed with this project.
Can anyone help me figure out what I may be doing wrong? Thanks!
-Nick
06-11-2013 10:59 AM
Can you post an example of the URL you are trying to use?
Here is an example of the Quick Unlock URL that I use to assign a button to unlock a single door.
http://10.10.1.208/QuickUnlock.jsp?method=authenticate&UserName=cpamadmin&pass=cpamadmin&resourceId=Uniquedoorid&resourceType=door
It is case sensative. so username will not work but UserName will.
Items in bold are what you need to edit to fit your situation. The Uniquedoorid comes from using this url in your browser.
http://10.10.1.208/IPPhoneManager.jsp?UserName=cpamadmin&pass=cpamadmin&method=authenticate
This will return a list of all doors that the login you are using has rights too, with their respective resourceId's
06-11-2013 11:11 AM
Jeremy,
Thank you SO much for your reply. After your post I went and looked at my URL. In my password I had an ASCII symbol (#) so I changed the password and took out the #, it worked like a charm.
I now get the list of doors, however the list only goes through the letter G then ends. Is this a rights issue or is there a way to go to a "page 2"?
We have a very large amount of doors.
06-11-2013 11:28 AM
That is a good question, It was my understanding that that url would pull the whole list. Unfortunately I only have 45 doors on our system so their is no real way for me to test.
Did you try a different browser. That might be the issue.
07-15-2015 09:39 AM
Necro-post here.
The IPPhoneManager service limits XML output to 100 entries, due to an apparent limitation of the IP Phone SDK.
The only workaround I have found is increasing that limitation manually in the IPPhoneManager.jsp file.
Levi
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