[jitsi-dev] [jitsi] Plugin to query Cisco directory (#33)


#1

I use Jitsi at work, where we are in the process of moving from Cisco phones to SIP. Unfortunately our internal extension numbers are not available in our LDAP server. I saw SIP has a presence protocol, but it does not seem to work with our configuration.

Anyway, to make the transition easier I wrote a external contact source that queries the Cisco IP Phone directory. Typically this is an URL like `http://SERVER:8080/ccmcip/xmldirectorylist.jsp`. It returns a XML document listing pairs of name and phone numbers ([documented here](http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cuipph/all_models/xsi/9_1_1/CUIP_BK_P82B3B16_00_phones-services-application-development-notes/CUIP_BK_P82B3B16_00_phones-services-application-development-notes_chapter_011.html#CUIP_RF_C09FE419_00)).

I tried to stick to the Jitsi coding style and standard.
Let me know if you think this can be included or if I'm completely misled :wink:
You can merge this Pull Request by running:

  git pull https://github.com/freongrr/jitsi master

Or you can view, comment on it, or merge it online at:

  https://github.com/jitsi/jitsi/pull/33

-- Commit Summary --

  * Search names and phone numbers in a Cisco directory
  * Coding Style.
  * Add documentation to every class and method.
  * Better validation.
  * Copyright/license.
  * Only flag the query as failed if there was an error.

-- File Changes --

    M build.xml (11)
    M lib/felix.client.run.properties (3)
    M resources/languages/resources.properties (6)
    A src/net/java/sip/communicator/plugin/ciscodirectory/CiscoDirectoryActivator.java (152)
    A src/net/java/sip/communicator/plugin/ciscodirectory/CiscoDirectoryConfigForm.java (187)
    A src/net/java/sip/communicator/plugin/ciscodirectory/CiscoDirectoryContactQuery.java (342)
    A src/net/java/sip/communicator/plugin/ciscodirectory/CiscoDirectoryContactSourceService.java (120)
    A src/net/java/sip/communicator/plugin/ciscodirectory/DirectorySettings.java (104)
    A src/net/java/sip/communicator/plugin/ciscodirectory/ciscodirectory.manifest.mf (23)

-- Patch Links --

https://github.com/jitsi/jitsi/pull/33.patch
https://github.com/jitsi/jitsi/pull/33.diff

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/pull/33


#2

Closed #33.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/pull/33#event-158803634