Phone Book on Grandstream Phones

Eakin
Posts: 3
Member Since:
2006-08-30

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



mocahbee
Posts: 24
Member Since:
2006-10-27
Re: Phone Book on Grandstream Phones

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.



JamesDW
Posts: 509
Member Since:
2006-06-01
Re: Phone Book on Grandstream Phones

I did the install and there is no .xml file.....



mocahbee
Posts: 24
Member Since:
2006-10-27
Re: Phone Book on Grandstream Phones

I just looked at the code, From what I can tell, it uses SugarCRM contact lists/phonebook. Very very impressive. Create a account in SugarCRM and it will work. Going to try it now myself.



miggl2
Posts: 4
Member Since:
2006-10-30
Re: Phone Book on Grandstream Phones

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** :)



JamesDW
Posts: 509
Member Since:
2006-06-01
Re: Phone Book on Grandstream Phones

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?



miggl2
Posts: 4
Member Since:
2006-10-30
Re: Phone Book on Grandstream Phones

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



JamesDW
Posts: 509
Member Since:
2006-06-01
Re: Phone Book on Grandstream Phones

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.



miggl2
Posts: 4
Member Since:
2006-10-30
Re: Phone Book on Grandstream Phones

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



mocahbee
Posts: 24
Member Since:
2006-10-27
Re: Phone Book on Grandstream Phones

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.



JamesDW
Posts: 509
Member Since:
2006-06-01
Re: Phone Book on Grandstream Phones

What abotu MAC's Address Book? Haven't use Outlook for years..



mocahbee
Posts: 24
Member Since:
2006-10-27
Re: Phone Book on Grandstream Phones

Well this will be web-based, so it will work good. Im not sure what you mean by MAC's Address Book. You will be able to bring up your web-browser and look add and delete.



andrew
Posts: 672
Member Since:
2006-05-30
Re: Phone Book on Grandstream Phones

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.



mocahbee
Posts: 24
Member Since:
2006-10-27
Re: Phone Book on Grandstream Phones

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.



matthewk
Posts: 1
Member Since:
2006-11-28
Re: Phone Book on Grandstream Phones

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



mocahbee
Posts: 24
Member Since:
2006-10-27
Re: Phone Book on Grandstream Phones

Well...I guess thats up to andrew....or I could just put it on my site and let everyone have at it. I could also post some screenshots of what I have done so far.

William



renatohtpc
Posts: 26
Member Since:
2007-03-21
Re: Phone Book on Grandstream Phones

William

Any updates on your project?

Renato



mocahbee
Posts: 24
Member Since:
2006-10-27
Hey

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



RoadKill
Posts: 232
Member Since:
2006-05-31
Hi sound great looking

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

--

Mark Petersen

1xBillion HFC / 1xOctoBRI HFC-8 / 1xPerfecTone IP-300 / 1xSnom360 / 1xKirk 600v3



ma_xyz
Posts: 12
Member Since:
2006-07-04
any news

@mocahbee

any news regarding your project?

thx
michael



mocahbee
Posts: 24
Member Since:
2006-10-27
Release

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



ciessegi
Posts: 2
Member Since:
2007-02-16
VERY INTERESTED!!!

Hi,

Please let me know how I can make this phonebook?

I've try .... all work but my gs-phonebook.xml is blank.

Regard
Stefano



chickenrob
Posts: 10
Member Since:
2007-08-19
we are interested...

I am picking up a couple gxp-2000's and would love to play around with this address book if you would let me know how I can get it.

-rob



oschultz
Posts: 2
Member Since:
2007-09-14
GS Phonebook

I'm interestetd too.
Have you still released your skript?

oli



midinate
Posts: 5
Member Since:
2006-10-31
Web based phone book app

Sound Fantastic,

Let me know as well. Very Interested!!!



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.