AMWD.Net.Api.Fritz.CallMonitor 0.0.1-8

FRITZ!Box Call Monitor

You can use this small library to connect to the FRITZ!Box Call Monitor and receive live call events.

Router preparation

Call #96*5* to enable the endpoint in your FRITZ!Box.
Call #96*4* to disable it again.

In your code

using (var client = new CallMonitorClient(host, port))
{
	client.OnEvent += (sender, e) =>
	{
		switch (e.Event)
		{
			case EventType.Ring:
				Console.WriteLine($"{e.Timestamp:yyyy-MM-dd HH:mm:ss} | #{e.ConnectionId} | Incoming Call from {e.CallerNumber} to {e.CalleeNumber}");
				break;

			case EventType.Connect:
				Console.WriteLine($"{e.Timestamp:yyyy-MM-dd HH:mm:ss} | #{e.ConnectionId} | Call connected to {e.CallerNumber}");
				break;

			case EventType.Disconnect:
				Console.WriteLine($"{e.Timestamp:yyyy-MM-dd HH:mm:ss} | #{e.ConnectionId} | Call disconnected after {e.Duration}");
				break;

			case EventType.Call:
				Console.WriteLine($"{e.Timestamp:yyyy-MM-dd HH:mm:ss} | #{e.ConnectionId} | Outgoing Call from {e.CalleeNumber} to {e.CallerNumber}");
				break;
		}
	};

	// Wait to terminate.
}

Published under MIT License (see choose a license).

Buy me a Coffee

No packages depend on AMWD.Net.Api.Fritz.CallMonitor.

Version Downloads Last updated
0.0.1-10 10 28.08.2025
0.0.1-9 6 25.08.2025
0.0.1-8 6 25.08.2025