Skip to main content

A package for working with Asterisk and Polycom config files.

Project description

Configure Asterisk and Polycoms from a CSV file.

This package is designed to read a CSV file, and help you generate sip.conf device definitions, which can then be used to generate Polycom config files.

Quick start and Order of Operations

  1. Create a CSV file with at least the following information in it: Extension, Mac address, User first name, User last name
  2. Run polypy configure to setup the polypy app.
  3. Run polypy sip configure to setup your column definition map.
  4. Run polypy sip generate all from /path/to/csv/file
  5. Run polypy provision to generate the Polycom config files you need.

Commands

configure

This helps setup the polypy environment by telling PolyPy where to find your asterisk config path, tftp server config path and other important stuff.

provision

Command: polypy provision polycom

This command helps you provision Polycom phones and maintain decent security on those phones. You can:

  1. Provision one or more extensions as defined in sip.conf to a single phone.
  2. Provision all phones defined in sip.conf.
  3. List all the devices that are found in sip.conf
  4. Show a particular extension
  5. Clean a particiular extension
  6. Swap two extensiosn (really useful when Bob and Alice want to swap phones).
  7. Audit passwords
  8. Reset a password for an extension.

sip

This command generates device entries for sip.conf and (optionally) voicemail entries for voicemail.conf. See command help: polypy sip for more commands and details.

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

poly_py_tools-2.1.2.tar.gz (14.8 kB view hashes)

Uploaded Source

Built Distribution

poly_py_tools-2.1.2-py3-none-any.whl (20.9 kB view hashes)

Uploaded Python 3

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