Phone Book on Grandstream Phones
I've created a phone book on the Grandstream GXP-2000 phones that I want to share with everybody. (Note: this may need the new firmware.) To install do the following:
1) Add this block to apache config /etc/httpd/conf/httpd.conf to alow URL rewrites
[code]
RewriteEngine on
RewriteRule ^gs_phonebook.xml$ PhoneDirectory.php
[/code]
2) restart the apache server
3) cd /var/www/htdocs
4) wget http://www.officenetpro.com/GSSearch.tar.gz
5) tar -xzf GSSearch.tar.gz
Then test you install from a webbrowser:
http://asterisk1/grandstream/services/gs_phonebook.xml
If this all works, then you can configure the phone to get it's phonebook from the asterisk server:
Change the [u]Phone XML Download[/u] on the [u]Advance Settings[/u] in the phone to: 192.168.1.25/grandstream/services
Finaly, download the phone book by pressing the down arrow key, and select new phonebook.
-- Greg Eakin
I did everthing you said to do here. When I add a phone/address entry, the other phones do not see the entrys I have made. Is there somthing else I have to do to get this going?
This is my firmware I am running:
Software Version: Program-- 1.1.1.14 Bootloader-- 1.1.1.3
I can go to:
http://192.168.254.28/grandstream/services
This is what I get.
<?xml version="1.0" ?>
I have these files in my /var/www/html/grandstream/services directory.
DBConnect.inc dot.htaccess PhoneDirectory.php
I even went as far as trying to create the gs_phonebook.xml file and put it in with the other files mentioned above.
I go to the phone book update and it sits for a split second and goes back the main screen.
But nothing changes if I add one etc.
Could you please shed some light on what Im doing wrong.
Keep me posted on this. Also, there is an extensive resource for setting up your Grandstream phonebook here: VOIP-Info.org
There is a recently added section that explains how to use the asterisk CallerID database. **SWEETNESS** :)
I do not use Sugar so I am trying to test a sample file found on the voip-info.org website. For some reason I can not get the phone to download the file. It downloads the screen.xml file and my aastras are downloading okay.
Are there any tricks to the file name I need to save it as or anything else?
Yes, the file MUST be named gs_phonebook.xml. I use the php script to create the file. I then schedule the php script with a cron job to update every hour, and I configure the phone to download once an hour as well. That way my phonebook should be constantly up-to-date.
I read today that you can set the phone up to use Asterisk's CallerIDs. I will try that route (not sure if that means using SugarCRM or not).
Cheers!
Mike
Mike,
Thanks for that! I am now getting it to download the phonebook. The php script to update sounds interesting but way over my head. I think I will be stuck with manually entering the phone book information in the xml file and relying on the phone to update itself... I need to learn more about this stuff.
Goo dowrk, James! Glad to hear you got it going. :)
Hey guys, I have been snooping aroung in the Trixbox 2 beta and found a subfolder /var/www/html/xmlservices. This seems to be aimed at the getting a dynamic addressbook set up (possibly for the Grandstream phone?).
Can anyone shed some more light on this as to how it can be configured, or how it should be accessed? I tried entering the URL in my browser, but got nothing.
Thanks!
Mike
To let everyone know, I am currently working on a standalone software that will allow the person to add and remove phone numbers, set user levels to read,write,delete. Import CSV, Export CSV. This does NOT rely on SugarCRM.
For me, Sugar CRM is way too much. I wanted a simple address book software to add and remove for the grandstream phone. So this is what I have come up with.
Will be releasing it soon.
Would love to talk to someone about making a plugin that would allow Outlook direct inport from XML file.
Anyone thats interested in this, Please let me know.
Sugar supports syncing from outlook and is the best contact manager I have seen. Why reinvent the wheel. miggl2 is correct there is some code to pull phone book entries from Sugar. This is in the testing phase but it seems to work. If you use the endpoint manager to config your phone it is already set up to pull from Sugar.
Well, there might be people out there andrew..that doesnt want to use the bulk side of SugarCRM. I personally dont like it. Im not saying its too complicated for me. But its just too much. I just wanted to help. What I have written will allow people to add to the XML file, set user permissions, delete entries etc.....
If I offened you in anyway. I apologize.
I wish there was a distro of Trixbox without SugarCRM and not have all the bulk.
If anyones interested. Let me know.
I am in no way bashing SugarCRM, its just too much for me.
I am very interested in yoru light weight web interface for the Grandstream GXP2000.
I am in the same situation that you are in, Sugar is just too much. I am looking for something just to manage a phone book.
I had thought about doing it myself, but if you have something more or less working that is light weight and simple for the end user, please point me at it.
Thanks!
--Matthew
Yea....I finnally got it finished. Been using it for the last month, and it works perfect. I think I need to make a HOWTO on installing it. Its quite simple. Im going to release it as GPL, anyone can have it. I just wish there was a way to remove CRM. Im running my Trixbox off of a 2 gig DiskOnModule
Will release my application to everyone soon. Keep a eye out.
William
Hi sound great
looking forward to see the end result.
as we are looking for a simpel and small phonebook that have 2 levels a shared and a private sektion, so that it is posible for a company to have a shared phonebook and at the sametime the users can add there own numbers.
hope that you have made it nice and moduler, as we might need to add support for some aditional phones
I will prob be releasing it on my site, Andrew or others here showed no interests in it. I will be cleaning up the code and will be releasing it to the world to have. I have fixed all issues for connecting through the internet. So....meaning, the phonebook can reside outside or inside your network. So, if you have a site thats www.mywebsite.com. You can make a folder called phone. The you can go to www.mywebsite.com/phone and add and remove phone numbers. Also, if you want it on trixbox, you can put it in your /var/www/html/phone and use it from there. If anyone shows a interest in this, please let me know. Just trying to give back to the community. I have made this work with all current firmwares of the grandstream GXP2000. I have noticed that older firmwares does not work for the internet phonebook. Check what firmware you have and make sure its the latest.
VaRMiT

Member Since:
2006-08-30