This is the first working version of the merged plugin FritzBox Manager.
This plugin is a combination of the former fritz call monitor and the new fritz manager.
This article describes the installation and features of the fritz manager part.
The fritz manager can load and display several informations from the fritz!box.
Views
1. The list of callers. -----------------------
This is done via the web admin gui (csv export).
2. The fritz phone book. ------------------------
This is also done via the web admin gui (phone book export xml). Only one phone book is supported at this time. If you have more than one, I think the first one will be shown (not tested).
3. The messages on the fritz voice mail box. --------------------------------------------
This done by reading the meta0 ... 4 files on the fritz voicebox usb store. In order to make this work, you have configure you fritz box to use usb store for voicebox recordings and allows a NAS export of your usb store.
Next map this export (something like \\fritz.box\your-usb-store) to a local drive on the pc mediaportal is running on. I prever to use a fix drive mapping, because in my environment unc pathes \\fritz.box\usb... sometimes don't work.
Insert the path to the meta0 file (directory for the first voicebox) into 'path to voicebox' setting of the fritz manager plugin.
If no voicebox items listed, when switching to voicebox view please check the logfile (mediaportal.log must be set to debug level) to see if the plugin finds the metaX files.
Thumbsnail of contacts: ----------------------
All views support a thumbnail view of the selected contact. If you put an jpg image of the same name as show in the view in the \thumbs\yac folder, it will be displayed on your screen.
Further feaures:
Play voicebox recordings: -------------------------
When you click a recording, it is played directly on the mediaportal pc. To get this running you must install the decoder speexdec.exe (comes with this plugin) somewhere 'on the search path' e.g. to c:\windows.
Callback or Call someone from phonebook / voicebox / callers list: ------------------------------------------------------------------
On the list view open the context menu and choose 'call back' and the plugin calls the selected subscriber via the fritz "call assistant" function.
Be sure to configure the right dial port in the fritz manager settings to choose the right telephone which is connected by fritz. If you dont own which dial port to choose simply try 1,2,3 ...
Revers lookup numbers: ----------------------
All known numbers in callers list and voicebox recordings are replaced by the matching name from phonebook. For all other numbers the plugin will submit an invers search request to "das Oertliche" in background. If it finds a name the number will replaced and the name will remembered next time.
You must activate this explicitly in fritz manager settings. For numbers without areacode, you must provide a default areacode to make the lookup for this numbers possible.
Monitor the voicebox with notification --------------------------------------
The plugin monitors the voicebox directory files and update the view, if a new message arrives. Further the plugin sets two skin properties, which allow to include a custom control or info label on any screen of media portal.
you can modify our home screen that it shows a marker (or even a clickable marker) if there are new messages.
There are some gui properties: #FritzManager.NewMessages #FritzManager.TotalMessages
These are set to ' ' (one space) if message count is 0. If count is greather than 0 a displayable string like '1 message' or '2 messages' is set.
#FritzManager.NewMessageCount: empty string or number of new messages #FritzManager.TotalMessageCount: empty string or number of total messages #FritzManager.NewMessagesAvail: "true" or "false" -> use this to switch visibility
You can use this directly in your skin file to include a voicebox display. Add a label control like this:
fadelabel
100 120
In mediaportal 1.1.0 B1 and newer you can even switch a control on and off:
The communication to the fritz box is done via the normal web admin gui. For this reason the plugin has to know the password. Actually only the newer sid based authentication is supported (tested with 7270). If someone requests I will integrate the older auth methos as well.
The URLs the plugin uses to download the phonebook / callers list are fixed and tested with fritz 7270 firmware 54.04.76.
For other firmware versions or other fritz box types there is no garantee, that all URLs or POST request will work as expected. If something unexpected happens please check the mediaportal.log logfile first.
Source code see source forge svn.
Have fun trying it. Downloads last version below.
Be sure to delete the cache directory after installing the new version.