- Notifications
You must be signed in to change notification settings - Fork4
Perl module for AVM FRITZ!Box interaction via TR-064
mmitch/fritz
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Net::Fritz is a set of Perl modules to communicate with an AVMFritz!Box (and possibly other routers as well) via the TR-064protocol. The AVM Fritz!Box is a popular home router family inGermany (and beyond).
I wanted to use an old analog field telephone with my FritzBox andVoIP. While this works quite out-of-the box (it’s just an ordinaryanalog phone) for receiving calls, I have no way to dial a number foroutgoing calls.
Luckily the Fritz!Box has a call helper mode where you can tell it todial a number and patch it through to any local phone, but I found noPerl library to use this feature. So I wrote my own library - the oneyou’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::Fritzmodule, you need to have Dist::Zilla installed. Run thedzil
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 beinstalled by
$ dzil authordeps --missing | cpanm$ dzil listdeps --missing | cpanm
Afterwards, try the installation again with
$ dzil install
Net::Fritz source is hosted athttps://github.com/mmitch/fritz
The latest released version is available on CPAN athttps://metacpan.org/release/Net-Fritz
An example of how to use this library as a dial helper and call logtool can be seen athttps://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 Garbsmitch@cgarbs.de
Licensed under GNU GPL v2 or later.
About
Perl module for AVM FRITZ!Box interaction via TR-064