Brekeke PBX Wiki

5. Phonebook utility for javascript

Besides above mentioned APIs (getPhonebooks(), getContactList(), getContact(), setContact()), using javascript API (phonebook.js) may be desired in the cases of implementing the phonebook feature into an application.

Javascript API (phonebook.js) allows:

  • Retrieving standard field information
  • Creating a display name

Load the “http(s)://<host>:<port>/pbx/common/js/brekeke/phonebook/phonebook.js” file to use those functions.

Yes No
Suggest Edit