New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fritz-callmonitor

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fritz-callmonitor

Provides a node.js wrapper for the call monitor api of the AVM Fritz!Box. Written in TypeScript.

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-77.27%
Maintainers
1
Weekly downloads
 
Created
Source

node-fritzbox

Provides a node.js wrapper for the call monitor api of the AVM Fritz!Box. Written in TypeScript.

Installation: npm install fritz-callmonitor

Usage with TypeScript: Copy the fritz-callmonitor.d.ts from node_modules/fritz-callmonitor to your TypeScript directory and make a reference using ///.

Activating the API

The network API is disabled by default. To use this, call #96*5* on a phone which is managed by a FRITZ!Box.

Sample:

"use strict";

import fb = require("./CallMonitor");

var cm = new fb.CallMonitor("192.168.178.1", 1012);

cm.on("ring", rr =>
{
    console.dir(rr);
    console.log(rr.caller + " calling...");
});

cm.on("call", rr => console.dir(rr));
cm.on("pickup", rr => console.dir(rr));
cm.on("hangUp", rr => console.dir(rr));

cm.on("close", () => console.log("Connection closed."));
cm.on("connect", () => console.log("Connected to device."));
cm.on("error", err => console.dir(err));

cm.connect();

FAQs

Package last updated on 06 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc