Skip to main content

starzel.whoiscalling

Warning

This bot does not work properly yet. It cannot keep a connection open properly yet. The underlying library does not handle this in a suitable way either. So I might release an update, or use some totally different library, like hubot. Right now I check every morning what failed this time and try to handle that case.

Small bot that monitors your FRITZ!Box for incoming calls and informs a multiuserchat in jabber.

How to use

For this to work, it needs a bunch of configuration options. The script needs a configuration file in ~/starzelbot.cfg. The configuration needs a main section. This is how a sample configuration could look like:

[main]
username = mybot@jabber.ccc.de
password = xxx
room = yourgroup@conference.jabber.ccc.de
fritzbox = 192.168.1.1

The egg exposes a script called fritzbot. The fritzbot script does not accept any parameters, and it blocks. If you want to run it in the background, start it with nohup.

In normal operation, the script generates no output. So it should be save to start it via cron.

What does it do

A FRITZ!Box with VoIP offers an interface to get informed of incoming calls.

This information gets exposed via a simple interface accessible on the FRITZ!Box at port 1012

This bot connects to this port on the FRITZ!Box and tries to extract the caller.

For each call, it sends a message to a multi user chatroom on jabber.

HISTORY

0.0.2 (2013-04-26)

  • First release on PyPI [do3cc]

Release files for starzel.whoiscalling 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for starzel.whoiscalling 0.0.2
File Size Uploaded
starzel.whoiscalling-0.0.2.zip 6.9 kB Details

Release files / starzel.whoiscalling-0.0.2.zip

Download URL starzel.whoiscalling-0.0.2.zip
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8f73f5ed62ed70bd57c04ad74f71024d3563bd5471406a17212c4b2248048da9
BLAKE2b-256 checksum
How to use checksums
d6c39709b10a833f99301e5496188a1053b33b0cce93be87a932a5b1f9e255d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page