cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
843
Views
0
Helpful
1
Replies

Using the CUCM Cisco Sample App to find phone name by description?

adam.byczkowski
Level 1
Level 1

I was able to get the Demo code up and running (https://developer.cisco.com/docs/axl/#!javajax-ws-quickstart) and query my CUCM to get various attributes of a phone. The sample code looks up a phone based on its name in CUCM. Is there a way to make it look up a phone given a description?

1 Reply 1

TDoan
Level 1
Level 1

Hi,

You can try to use listPhone to search a description as follows.

<ns:listPhone sequence="1">
     <searchCriteria>
           <description>YourDescriptionOfDevice</description>   
      </searchCriteria>
      <returnedTags><name/><description/></returnedTags>

</ns:listPhone>

 

Note: Also, you can search all names such as  <name>%</name>  

or all descriptions <description>%</description>

Hope this would help.

 

Regards,

T Doan