This project has moved. For the latest updates, please go here.
1

Closed

Implement Fritz!Box Addressbook connector

description

Actually it is possible to do this with the tools JFritz or JAnrufmonitor. But it will be nice to have one tool for all.

file attachments

Closed Oct 4, 2010 at 11:05 AM by Matzen

comments

Matzen wrote May 31, 2010 at 6:35 PM

This is an incredible nice idea - but I don't have a Fritz!Box ... I'll ask one of the others what routers they are using. If you have an old one (not needed any more), you might borrow me one to let me implement the connector. Another option would be to to use FiddlerTool to record the sequence
  • login (you might use some temporary passwort for that)
  • open address book
  • add a new entry
  • edit an existing entry
  • log off
    You might attach the saved sequence to this workitem, so I can have a look if the connector can be done and write a prototype.

frankglaser wrote Jun 1, 2010 at 7:57 AM

I've found a (hopefully) very simple solution:
FritzBoxNET - .NET Bibliothek für Fritz!Box
http://www.voipfan.de/showthread.php?t=190718
One problem it can only read data from the fritzbox, but I think it is easier to update this library, instead of reworking it.

So, which way do You want to go?

Here some information about the login procedure:
http://www.wehavemorefun.de/fritzbox/Hilfsprogramme_/_Tipps_&_Tricks#Anrufliste_von_der_Box_holen_.28Beispiel_f.C3.BCr_neues_Loginverfahren_mit_SID.29

Maybe we can also reuse parts of the OpenSource software JFritz:
http://www.jfritz.org

Matzen wrote Jun 7, 2010 at 12:47 PM

I've done a quick look for the login and the JFritz sample, but I think it's a lot more simple to just log the traffic and implement my own webscraping client.
http://www.fiddler2.com/fiddlercap/ does offer a download which can capture the http(s) traffic, so I can analyze the pages and implement a "first try" for the client.
As already written below: I don't have a friz box, so I cannot debug the client on my machine. But if you are able to send me a capture file of the complete process, I will do my very best to implement something usefull.

wrote Jun 7, 2010 at 7:34 PM

frankglaser wrote Jun 7, 2010 at 7:34 PM

Hi,

have You also take a look into the FritzBoxNET library?

I've prepared some Fiddler records:

First record shows the login, add a new entry and logoff.
FiddlerCap_100607-21-21_login_add_new_entry_logoff.saz

Second record shows the login, edit an existing entry and logoff.
FiddlerCap_100607-21-21_login_edit_entry_logoff.saz

These records shows how to import / export a xml file containing the whole telephone book.
FiddlerCap_100607-21-21_login_export_logoff.saz
FiddlerCap_100607-21-21_login_import_logoff.saz

And finally the sample xml phonebook.
FRITZ.Box_Telefonbuch_07.06.10_2124.xml

Kind regards
Frank

wrote Jun 13, 2010 at 12:28 PM

wrote Jun 13, 2010 at 7:50 PM

Resolved with changeset 68344.

frankglaser wrote Jun 15, 2010 at 7:59 PM

Hi, can You provide a beta executable, then I can test it. THX

Matzen wrote Jun 16, 2010 at 6:36 AM

** Closed by Matzen 13.06.2010 12:50

Matzen wrote Jun 16, 2010 at 6:36 AM

closed accidentially, development in progress...

Matzen wrote Jun 16, 2010 at 6:39 AM

Current status: FritzBoxNET in order to create a new (better suitable) Wrapper for the FritzBox-WebServices

wrote Jun 17, 2010 at 8:49 PM

Added support for reading via FritzBoxNET 0.4.1. Unfortunately writing entries is not supported via that library ... now investigating the writing.

wrote Jun 24, 2010 at 7:50 PM

Read and write is now supported and tested with a set of more than 2000 contacts (not all of them were copied, because not all did have a phone number)
A setup for further testing has been uploaded as an alpha release (I do have a FritzBox, now, but I'm not connecting it to the phone line)

wrote Jun 24, 2010 at 7:50 PM

wrote Oct 4, 2010 at 11:05 AM

wrote Feb 13, 2013 at 7:33 PM

wrote May 15, 2013 at 3:20 AM