cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
71
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Corey Canfield on 27-07-2010 06:39:25 PM
Is there a way via xml to query the local phone book on MXP and C series endpoints?

I've looked through the documentation and I see you can add contacts, delete and search folders. The search doesn't really work well for my implementation, i'd rather get a static list when my application loads.


Thanks,

Corey

Subject: RE: Query of local phone books, MXP and C series
Replied by: Viggo Fredriksen on 28-07-2010 12:57:02 PM
Hi Corey,

  on C-series endpoints we only provide the search based implementation.
The reason for this is scalability; we have no way of knowing how big a
phone book can get.

In a controlled environment, you could just do a full search at start-up and
keep it in a cache while the program is running. I don't think you gain much
by doing this, and you'd loose the search ability.

Regards,
  viggo

Subject: RE: Query of local phone books, MXP and C series
Replied by: Corey Canfield on 28-07-2010 04:35:27 PM
Viggo,

Thanks for the prompt reply. I'm having trouble with the format of my xml test command. Could you provide an example of doing a search and getting a list of all the phone books?


This is what I'm trying to use and not yielding any results.

http://<ip>/formputxml?xmldoc=<Command><Search item="1" command="True"><PhonebookType>Corporate</PhonebookType><SearchString></SearchString></Search></Command>

I've tried changing the Coporate to Local with no success.

Also in the documentation it says if the search string is empty it will return values for all entries in all phone books on the system.


Thanks again,


Corey

Subject: RE: Query of local phone books, MXP and C series
Replied by: Viggo Fredriksen on 28-07-2010 04:44:58 PM
I think you have a small error in the url -- the Phonebook element seems to be missing. E.g.,
1
2http://<ip>/formputxml?xmldoc=<Command><Phonebook><Search item="1" command="True"><PhonebookType>Corporate</PhonebookType><SearchString></SearchString></Search></Phonebook></Command>


Subject: RE: Query of local phone books, MXP and C series
Replied by: Corey Canfield on 28-07-2010 05:07:23 PM
It's always something simple.

Thanks for the help.

Corey
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:

Quick Links