Copyright (C) 2015 by Christian Garbs mitch@cgarbs.de
Licensed under GNU GPL v2 or later.
https://github.com/mmitch/fritzdial
-
install the
Net::Fritz
module from CPAN, eg. withcpan -i Net::Fritz
-
enable TR-064 remote control and dial help on your Fritz!Box (this includes choosing an internal device that fritzdial should dial for)
-
create a user with VoIP permissions on your Fritz!Box
-
create
~/.fritzdialrc
with the following key/value pairs:username = <fritzbox user> password = <fritzbox user's password>
-
if you want to enable SSL, add this line to
~/.fritzdialrc
:url = https://fritz.box:49443
see Fritz documentation for more options (look for
upnp_url
) -
to set up dial shortcuts, just list any additional keys in
~/.fritzdialrc
:mom = 555 41234 work = 555 12345
if multiple shortcuts map to the same number, the last one is used for reverse lookups (showing names instead of numbers in the calllist)
-
run
fritzdial.pl
to use it interactively -
run
fritzdial.pl -
to read commands from stdin (noTerm::ReadLine
used)
The features
directory contains Cucumber test files (features,
step definition and some stubbing magic).
To run the tests, install Test::BDD::Cucumber
and Expect
and
run the pherkin
command.