Net::Fritz is a set of Perl modules to communicate with an AVM Fritz!Box (and possibly other routers as well) via the TR-064 protocol. The AVM Fritz!Box is a popular home router family in Germany (and beyond).
I wanted to use an old analog field telephone with my FritzBox and VoIP. While this works quite out-of-the box (it’s just an ordinary analog phone) for receiving calls, I have no way to dial a number for outgoing calls.
Luckily the Fritz!Box has a call helper mode where you can tell it to dial a number and patch it through to any local phone, but I found no Perl library to use this feature. So I wrote my own library - the one you’re looking at right now.
The latest release of Net::Fritz can be installed directly from CPAN, eg. via
$ cpan -i Net::Fritz
or
$ cpanm Net::Fritz
To build and install the current development version of Net::Fritz
module, you need to have Dist::Zilla installed. Run the dzil
command - if it is available, Dist::Zilla should be installed.
To install or upgrade Dist::Zilla use
$ cpan -i Dist::Zilla
or
$ cpanm Dist::Zilla
Then clone this repository, enter it and start the install process:
$ git clone https://github.com/mmitch/fritz.git
$ cd fritz
$ dzil install
Any missing dependencies should be reported automatically and can be installed by
$ dzil authordeps --missing | cpanm
$ dzil listdeps --missing | cpanm
Afterwards, try the installation again with
$ dzil install
Net::Fritz source is hosted at https://github.com/mmitch/fritz
The latest released version is available on CPAN at
https://metacpan.org/release/Net-Fritz
An example of how to use this library as a dial helper and call log tool can be seen at https://github.com/mmitch/fritzdial
A blog article covering my setup is here: https://www.cgarbs.de/blog/archives/1113-Feldtelefon-an-Fritzbox.html (German only)
Copyright (C) 2015 Christian Garbs [email protected]
Licensed under GNU GPL v2 or later.