Shared Elastix contacts for Cisco VOIP phones

With this script you can share the Elastix address book with Cisco phones, managing all the contacts from the Elastix interface.


  1. Download the latest version of this repository from here.

  2. Onto your Elastix server, create the directory /var/www/html/contacts/.

  3. Copy the cisco.php file into the directory created in the previous step.

  4. Optional: Edit the cisco.php file to customize the XML output and path to the contacts database.

  5. Permit HTTP access to the script: edit the /etc/httpd/conf.d/elastix-htaccess.conf file and add the following lines:

    <Directory "/var/www/html/contacts">
        RewriteEngine Off
        Options -Indexes
  6. Set up your Cisco phones to download the XML phone book from http://<ip-to-elastix>/contacts/cisco.php

Managing contacts

Login onto your Elastix administration page, navigate to AgendaAddress Book to create/view and delete the shared contacts.

Viewing shared contacts: Choose External from the Phone Directory option to view all the shared contacts.

Creating a new shared contact: Click on the (guess what!) New Contact button, and make sure you mark Public contact.

Tested on

  • Cisco SPA 303

  • Cisco 7941G IP Phone


  • Elastix 2.3