Skip to main content

Provides an API for Linksys/Sipura VoIP SPA Phones

Project description

SPA Phone API provides an API for Linksys/Sipura SPA IP Phones. It can be used to programmatically update the phone’s address book. Combining it into other scripts it can be used to sync the phone’s address book with (for example) Google Contacts.

Installation

Installation with pip:

$ pip install spa-phone-api

Command Line Usage

Update the address book from OS X Contact. Defaults to sync all contacts, but an optional group paramater can be specified.

$ spa-sync ip-address [--group]

Usage

Read the address book

import spa_phone
spa_phone.read('10.0.1.8')

Update the address book

import spa_phone
spa_phone.write('10.0.1.8', [
    ('Bouke Haarsma', '+31508200267'),
    ('WebAtoom', '+31508200267'),
    ('Apple Store', '+18006927753'),
])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spa-phone-api-0.2.1.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file spa-phone-api-0.2.1.tar.gz.

File metadata

File hashes

Hashes for spa-phone-api-0.2.1.tar.gz
Algorithm Hash digest
SHA256 31873066a7b1008a6df84866e95fb6d5f40813ba37ce983cbdc6fa7a3ffd847a
MD5 3c143e98e5725d69df17841a5ff0e1d0
BLAKE2b-256 0d7de5c4aafc72bf42df28cf68ebf28ca1387f77545f8e3eb2e8cf90492e0c84

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page