Discussion:
phonebook API or command line import
Claas Hilbrecht
2012-11-19 15:37:03 UTC
Permalink
Hello,

I'm trying to find a way to import (global) address books via command line
scripting or using an API. As far as I can see the current API
<http://wiki.sipfoundry.org/display/sipXecs/Configuration+Web+Service> only
allows to edit user phone books, but not global phonebooks.
--
Claas Hilbrecht
http://www.jucs-kramkiste.de
Mircea Carasel
2012-11-19 22:33:32 UTC
Permalink
On Mon, Nov 19, 2012 at 5:37 PM, Claas Hilbrecht <
Post by Claas Hilbrecht
Hello,
I'm trying to find a way to import (global) address books via command line
scripting or using an API. As far as I can see the current API
<http://wiki.sipfoundry.org/display/sipXecs/Configuration+Web+Service>
only
allows to edit user phone books, but not global phonebooks.
What do you mean by "global" phonebook?
We do have two rest APIs that retrieve user's phonebook
/my/phonebook - that retrieve all users in phonebook at once
/my/pagedphonebook?start={start-row}&amp;end={end-row} - that retrieve a
set of users (a page)
In order to have all users in the system to be in your phonebook, just
check the "Everyone" checkbox in config UI, Phonebook page

Mircea

Loading...