06-10-2014 05:23 AM
Hello,
I've tried to receive the telephoneNumber from the EndUser via the listUser Method.
On 8.5 until 9.1 it was possible to receive the telephonenumber as part from the response.
I've tried it with the 9.1 and 10.5 Schema, but the result is always "null".
ExecuteSQLQuery "select pkid,userid,telephonenumber from enduser" is working fine.
Is this a Bug or did I miss a change in the API?
Regards
Heimo Stieg
Solved! Go to Solution.
12-09-2014 04:14 AM
Hello All,
It is CSCup88049 - AXL's listUserResponse capitalizes telephoneNumber
Regards,
Lilia
06-17-2014 02:35 AM
Hi Heimo,
The XML methods for CUCM 9 are not the same as CUCM 8 and hence the XML Requests should be modified according to the AXL Scheme of CUCM 9. Please review the New and Changed Information .
Also please enusre there is no errors while running these two commands.
admin#utils dbreplication status
admin#utils diagnose test
Thanks and Regards,
Geevarghese
06-17-2014 06:47 PM
Hi Geevarghese,
Will Cisco solve this bug?
Best Regards,
Ivan Lo
06-17-2014 02:45 AM
I come across the same issue. I am quite sure it is a CISCO BUG!
If you further analyse the XML returned from Cisco AXL "listUser", the element return from CUCM 10 is:
<TelephoneNumber>1234</TelephoneNumber>
The T is upper case! It was lower case in CUCM 9 and 8.
However, the wsdl of 10.0 is still lower case. It won't work.
07-02-2014 08:11 PM
Works in 9.1.2.10000-28. See below...
REQUEST: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.cisco.com/AXL/API/9.0"><SOAP-ENV:Body><ns1:listUser><searchCriteria><userid>Test</userid></searchCriteria><returnedTags uuid="%"><firstName>%</firstName><lastName>%</lastName><userid>%</userid><telephoneNumber>%</telephoneNumber></returnedTags></ns1:listUser></SOAP-ENV:Body></SOAP-ENV:Envelope>
RESPONSE: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:listUserResponse xmlns:ns="http://www.cisco.com/AXL/API/9.0"><return><user uuid="{9B1123E5-90B4-4BB3-B8AF-FB44CB787F76}"><firstName>Brian</firstName><lastName>Mennenga</lastName><userid>Test</userid><telephoneNumber>+13334445555</telephoneNumber></user></return></ns:listUserResponse></soapenv:Body></soapenv:Envelope>
07-02-2014 08:15 PM
I do know it works in CUCM9, but it does NOT work in CUCM10!
Can you repeat your test in CUCM10?
07-04-2014 01:28 PM
Tested on 10.5.1.10000-7.
With TelephoneNumber returns no telephone numbers. telephoneNumber returns values (oddly as TelephoneNumber - 10.X issue), but aren't being read by php. I've posted AXL results below and PHP read out of the value below that. AXL response shows telephone Numbers, but PHP object doesn't see it. See anything out of line?
REQUEST: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.cisco.com/AXL/API/9.0"><SOAP-ENV:Body><ns1:listUser><searchCriteria><userid>%</userid></searchCriteria><returnedTags uuid="%"><firstName>%</firstName><lastName>%</lastName><userid>%</userid><telephoneNumber>%</telephoneNumber></returnedTags></ns1:listUser></SOAP-ENV:Body></SOAP-ENV:Envelope>
RESPONSE: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:listUserResponse xmlns:ns="http://www.cisco.com/AXL/API/9.0"><return><user uuid="{35AD45C1-8518-B6B8-B852-E4D7ED31CC10}"><firstName>Local</firstName><lastName>User</lastName><userid>localuser</userid><TelephoneNumber>1555</TelephoneNumber></user><user uuid="{4C1A9FF1-3D1D-4022-B981-1B290D309C86}"><firstName>John</firstName><lastName>Doe</lastName><userid>JohnDoe</userid><TelephoneNumber>+15551232001</TelephoneNumber></user><user uuid="{575D56A8-15A4-4C10-B40C-8627086FEE28}"><firstName>uccx</firstName><lastName>admin</lastName><userid>uccxadmin</userid><TelephoneNumber/></user><user uuid="{5B93C37E-FC09-E65B-23BD-90278B1C13B3}"><firstName>Jane</firstName><lastName>Doe</lastName><userid>JaneDoe</userid><TelephoneNumber>+15551232002</TelephoneNumber></user><user uuid="{6C8E905E-C751-4CC4-8BD6-2AC80A4341E2}"><firstName>Adam</firstName><lastName>Smith</lastName><userid>AdamSmith</userid><TelephoneNumber>+15551232003</TelephoneNumber></user><user uuid="{70CCA0C4-5284-4B85-AE57-5C23F6D1695E}"><firstName>UCCX</firstName><lastName>Sup1</lastName><userid>UCCXSup1</userid><TelephoneNumber/></user><user uuid="{8651B455-ACE0-410D-A35C-86BBFDB75414}"><firstName>UCCX</firstName><lastName>Agent2</lastName><userid>UCCXAgent2</userid><TelephoneNumber/></user><user uuid="{AD6E26E8-4319-B5E9-07D5-2623E1EEA411}"><firstName/><lastName>test</lastName><userid>test</userid><TelephoneNumber/></user><user uuid="{B1114180-94AF-41FD-92EB-B170447A01B6}"><firstName>Joe</firstName><lastName>Henry</lastName><userid>JoeHenry</userid><TelephoneNumber>+15551232008</TelephoneNumber></user><user uuid="{B11C84A9-4600-4FF9-852A-186DC6C1CC42}"><firstName>Dave</firstName><lastName>Smith</lastName><userid>DaveSmith</userid><TelephoneNumber>+15551232005</TelephoneNumber></user><user uuid="{DCD082A7-20C5-4B04-9BF9-A72DCA355E88}"><firstName>Bob</firstName><lastName>Barker</lastName><userid>BobBarker</userid><TelephoneNumber>+15551232004</TelephoneNumber></user><user uuid="{F31C471B-09BB-4A56-AFCF-B62FC9E3B85A}"><firstName>Brian</firstName><lastName>Mennenga</lastName><userid>Brian</userid><TelephoneNumber>1570</TelephoneNumber></user><user uuid="{FED1314F-E7D6-4F43-B570-6405E5E75E6E}"><firstName>UCCX</firstName><lastName>Agent1</lastName><userid>UCCXAgent1</userid><TelephoneNumber/></user></return></ns:listUserResponse></soapenv:Body></soapenv:Envelope>
PHP Code:
echo '<pre>';
print_r($cucmResponse);
echo '</pre>'
Results:
stdClass Object
(
[return] => stdClass Object
(
[user] => Array
(
[0] => stdClass Object
(
[firstName] => Local
[lastName] => User
[userid] => localuser
[uuid] => {35AD45C1-8518-B6B8-B852-E4D7ED31CC10}
)
[1] => stdClass Object
(
[firstName] => John
[lastName] => Doe
[userid] => JohnDoe
[uuid] => {4C1A9FF1-3D1D-4022-B981-1B290D309C86}
)
etc...
07-04-2014 06:05 PM
Yes, a Cisco bug!
12-09-2014 04:14 AM
Hello All,
It is CSCup88049 - AXL's listUserResponse capitalizes telephoneNumber
Regards,
Lilia
12-11-2014 10:58 AM
Heimo Stieg,
I know you have gotten a mass of responses so I am not trying to add more to it than necessary but is your question answered. If not can you provide a sample request and response so we can see what your result is and / or a clarification of your problem so we can hopefully get you on the right track. If you have an app that is doing this can you provide the code that is sending the request and provide the response you are getting back from CUCM.
I hope you are well. Please let me know if you have any further questions.
Thank You,
Jock
12-12-2014 01:05 AM
Hello Jock,
Lilia Jock has posted already the BugID so we could say that it is known as a Bug. So we could say it is resolved =)
Kind Regards
Heimo Stieg
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