cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
449
Views
0
Helpful
6
Replies

C60 Phonebook Results - Folder Entry Syntax

twingate111
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

6 Replies 6

xcommand phonebook search PhoneBookType: Corporate ContactType: Contact SearchString: "" Recursive: False

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

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
 

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

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.

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

Getting Started

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: