03-27-2018 05:20 AM
I try to make a logout thanks to EM API : it works with CUCM 9.5, 10.5, 11.5 but not with CUCM 12.0.
The logout request is :
<request>
<appInfo>
<appID>admin</appID>
<appCertificate>XXXXXXXX</appCertificate>
</appInfo>
<logout>
<deviceName>SEP0123456789AF</deviceName>
</logout>
</request>
and the response is (with an HTTP 200 status code) :
Error processing request: null
The request is send to http://CUCM12IP:8080/emservice/EMServiceServlet with Content-Type: application/x-www-form-urlencoded thanks to a POST method (GET is tested also but doesn't work too). All others API calls work (login, userDevicesQuery, deviceUserQuery...).
I would like to know what has changed in the EM API for that particular version of CUCM ?
04-05-2018 02:14 PM
usefully each version of CUCM supports some previous axl versions but not newer versions.
try to work with the axltoolkit of the current release.
In addition, u can see all axl methods by download the axl schema or take a brief on the database dictionary.
04-05-2018 03:24 PM
I've been able to reproduce the issue on CUCM 12.0
Thanks for reporting, we'll investigate..
05-25-2018 12:15 AM
Any news for this issue ?
05-25-2018 03:27 PM
Unfortunately when it came time to provide logs, my lab system had been reimaged, and I could no longer reproduce the problem. We have another reported instance, but are waiting for logs.
If you can open a DevNet Developer Support ticket on the issue (you can reference my name, and internal ticket # INFYAPPS-1683) and provide the following logs, it may help speed the investigation (and ensure we're troubleshooting your particular issue:)
11-08-2018 06:29 AM
Does anyone have any updates on this issue. Essentially EM logout using the API is completely broken on CUCM 12, including SU2. Even if you attempt to use the http://{{IP ADDRESS}}/emservice/jsp/Tools/sampleloginapp.jsp tool on CUCM, logout does not function. I Cisco going to fix this? Is there a bug ID?
11-08-2018 10:44 AM
If you are able to reproduce the issue and can open a ticket with the above mentioned logs, that will greatly help
11-08-2018 11:39 AM
11-12-2018 11:51 AM - edited 11-12-2018 11:53 AM
We are experiencing the same issue and have opened ticket 685408302 w/ logs etc., but have gotten bounced around between TAC and DevNet support. We have customers who want to upgrade to CUCM 12.0, but our testing/certification and their upgrades are on hold until this gets resolved.
11-12-2018 11:57 AM
11-12-2018 02:40 PM - edited 11-12-2018 03:01 PM
To update the thread: Cisco has received the appropriate logs and is now able to reproduce the issue internally. We have escalated to the engineering team for analysis.
From my own troubleshooting, it appears that somewhere between 12.0.1.10000-10 and 12.0.1.21900-7, the <logout> request is failing validation unless a <userID> element is included in the XML, e.g.:
<request>
<appInfo>
<appID>dstaudt</appID>
<appCertificate>password</appCertificate>
</appInfo>
<logout>
<deviceName>IPCMRAEU5UCM5X7</deviceName>
<userID>dstaudt</userID>
</logout>
</request>
You may be able to confirm the behaviour on your system. Not sure how or if this change is intended...my assumption is that it would be reverted to match previous versions and current documentation of the API, in which case a defect # and possible ES inclusion would be generated soon.
11-20-2018 09:12 AM
Just checking to se if there has been a CSC# defect number created for this yet. I don't see anything in the BugTrack tool.
11-26-2018 10:53 AM
It appears that the change was made as part of feature implementation for 'E/M login using primary extension and/or self-service ID': https://www.cisco.com/c/en/us/support/docs/unified-communications/unified-communications-manager-callmanager/212083-CUCM-12-X-Extension-Mobility-EM-and-Ext.html
The initial word from engineering is they would like to update the docs to indicate the new <userId> field is now required - we are following up to see if this field could be optional, and/or other possibilities for preserving backward compatibility for apps.
For now (and likely in future) you may want to explore providing the additional <userId> field as a workaround...
11-26-2018 12:34 PM
Thanks for the update.
<userid> is not backwards compatible with CUCM 10.x & 11.x, correct?
11-26-2018 12:40 PM
From my testing that is correct, I get an error if I try and include it. Hopefully apps won't need to become version aware in order to create a compatible request; investigating more with engineering...
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