Categories: Small Business VoIP

The Elastix Phonebook

Configure Grandstream Phones on Elastix PBXs to Automatically Download XML Phone Book Files

On Enterprise-level phone systems like Avaya, Cisco and Alcatel-Lucent, when a new extension or user is added to the system, an entry is automatically created in the internal phonebook and thus, pushed to the phones.

While working with Elastix, I noticed that under Agenda>Address Book extensions showed up there after creation. All, except virtual extensions. After some google searches, I ran across a post about the Elastix Address Book and Grandstream phones. Personally, since I really like the Grandstream GXP-series phones, I was more than willing to give this a try.  I read through the article and figured I would test this out in the lab. First thing I found; the links to download the scripts were dead. I added a post on the site to let the author know and he corrected the issue. The links now work properly.

Place the script in  /var/www/html on your Elastix or FreePBX-Distro server. I tested this on Elastix 2.5 and FreePBX 6.12.65 successfully. I tested this successfully on Grandstream GXP-series phones with the exception of the GXP-2200 which is Android based so it did not work properly. I tested the following specifically:

GXP-1160/1165, GXP-1400/1405, GXP-2130, GXP-2140, GXP-2160. I even tested on an old GXP-2000. I also tested on a GXV-3240 and it did not go well as 10 entries became 101 upon download. My solution was to export from one of the GXP phones and then import into the GXV-3240.

Once you have installed the script and have updated your phones to download the script automatically, even virtual extensions like general mailboxes will appear in the phonebook. Here is the link: http://ethertubes.com/grandstream-phone-book-creator-for-elastix/. The scripts as well as instructions can be found there. The author also references a script he has written to have the Grandstream phones pull the phonebook config automatically. I did not use this as it took only a few seconds per phone to set this manually from within each phones web interface. I will be testing the FreePBX Commercial Endpoint Manager module for the next few weeks, and my hope is that I can add this entry into the config file I push to the phones. This would then completely automate the process.

Go ahead and give it a try yourself.

Michael Taylor

Mike is VoIP Supply's former Senior VoIP Engineer.

Share
Published by
Michael Taylor

Recent Posts

Watch Now: A Step-by-Step CloudSpan Walkthrough

How To Use CloudSpan for PBX Licensing and Hosting CloudSpan is our brand-agnostic PBX licensing…

3 days ago

Watch Now: Fanvil and Yeastar, Unified by VoIP Supply

Most UC deals don't fall apart on the product. They fall apart in the gaps…

6 days ago

VoIP Supply Launches PBX Licensing Platform: CloudSpan

Today we're announcing the launch of CloudSpan. It's a brand-agnostic platform where VoIP Supply partners…

2 weeks ago

Fanvil X7A: The Android IP Phone Built for the Modern Desk

The Fanvil X7A is an enterprise Android IP phone built around a 7-inch color touchscreen…

2 weeks ago

How to Set Up a Home Office VoIP Phone in 2026

Setting up a home office VoIP phone in 2026 — a step-by-step guide from the…

1 month ago

Jabra Evolve3 85 & 75: What’s New | Watch Now — SiP Chats

On the latest episode of SiP Chats, VoIP Supply's Brian Hyrek sat down with Michelle…

1 month ago