07-05-2015 05:18 PM - edited 03-18-2019 04:41 AM
All,
I just need a copy of the results of a C60 TC 7.3x phone book search that show what syntax is returned for a folder entry so I can parse the folder IDs and names. Obviously, I don't have a C60 handy to test with. Your help will be appreciated!
Thanks,
Tom
Solved! Go to Solution.
07-06-2015 12:18 PM
Hi Tom,
Yeah, I don't have any systems that use folders or ones I can easily manipulate to create them.
You can also take a look at the DevNet site which provides information on the API's.
https://developer.cisco.com/site/tp-av-integrator/howtos/phonebook.gsp
Sorry I couldn't help more.
07-06-2015 06:27 AM
xcommand phonebook search PhoneBookType: Corporate ContactType: Contact SearchString: "" Recursive: False
07-06-2015 11:10 AM
Hi Nicholas,
Thanks for responding to my question although I think your answer was the API command to search the phone book, not the results of a search. I'm trying to figure out how to parse the folder IDs and names out of the response to a search.
Regards,
Tom
07-06-2015 11:17 AM
Data Scrub from that command.
OK
*r ResultSet ResultInfo Offset: 0
*r ResultSet ResultInfo Limit: 50
*r ResultSet ResultInfo TotalRows: 29
*r ResultSet Contact 1 Name: “Test Room 1"
*r ResultSet Contact 1 ContactId: "e_36"
*r ResultSet Contact 1 ContactMethod 1 ContactMethodId: "1"
*r ResultSet Contact 1 ContactMethod 1 Number: "H323:10.10.1.15"
*r ResultSet Contact 1 ContactMethod 1 Protocol: H323
*r ResultSet Contact 1 ContactMethod 1 CallRate: 1152
*r ResultSet Contact 1 ContactMethod 2 ContactMethodId: "2"
*r ResultSet Contact 1 ContactMethod 2 Number: "SIP:5551000@example.com"
*r ResultSet Contact 1 ContactMethod 2 Protocol: SIP
*r ResultSet Contact 1 ContactMethod 2 CallRate: 1152
*r ResultSet Contact 2 Name: “Test Room 2“
*r ResultSet Contact 2 ContactId: "e_122"
*r ResultSet Contact 2 ContactMethod 1 ContactMethodId: "1"
*r ResultSet Contact 2 ContactMethod 1 Number: "H323:10.10.4.15"
*r ResultSet Contact 2 ContactMethod 1 Protocol: H323
*r ResultSet Contact 2 ContactMethod 1 CallRate: 1152
*r ResultSet Contact 2 ContactMethod 2 ContactMethodId: "2"
*r ResultSet Contact 2 ContactMethod 2 Number: "SIP:5551001@example.com”
*r ResultSet Contact 2 ContactMethod 2 Protocol: SIP
*r ResultSet Contact 2 ContactMethod 2 CallRate: 1152
*r ResultSet Contact 3 Name: “Test Room 3“
*r ResultSet Contact 3 ContactId: "e_156988"
*r ResultSet Contact 3 ContactMethod 1 ContactMethodId: "1"
*r ResultSet Contact 3 ContactMethod 1 Number: "H323:10.10.12.2"
*r ResultSet Contact 3 ContactMethod 1 Protocol: H323
*r ResultSet Contact 3 ContactMethod 1 CallRate: 1152
*r ResultSet Contact 4 Name: “Test Room 4“
*r ResultSet Contact 4 ContactId: "e_149699"
*r ResultSet Contact 4 ContactMethod 1 ContactMethodId: "1"
*r ResultSet Contact 4 ContactMethod 1 Number: "H323:10.10.1.213"
*r ResultSet Contact 4 ContactMethod 1 Protocol: H323
*r ResultSet Contact 4 ContactMethod 1 CallRate: 1152
*r ResultSet Contact 4 ContactMethod 2 ContactMethodId: "2"
*r ResultSet Contact 4 ContactMethod 2 Number: "SIP:5551002@example.com”
*r ResultSet Contact 4 ContactMethod 2 Protocol: SIP
*r ResultSet Contact 4 ContactMethod 2 CallRate: 1152
07-06-2015 11:50 AM
Hi again,
Thanks for the fast response! I really appreciate you trying to help. It appears your CODEC doesn't have any folders created. I'm pretty sure the response contains the word "Folder" when the record represents a folder.
Thanks,
Tom
07-06-2015 12:18 PM
Hi Tom,
Yeah, I don't have any systems that use folders or ones I can easily manipulate to create them.
You can also take a look at the DevNet site which provides information on the API's.
https://developer.cisco.com/site/tp-av-integrator/howtos/phonebook.gsp
Sorry I couldn't help more.
07-06-2015 12:25 PM
Hi Nicholas,
That link had an example with folders!! It was just what I needed. So, again, thanks for your time and help! Hope you have a great day.
Best regards,
Tom
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: