Skip to main content

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.

Release files for poly-py-tools 2.1.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 poly-py-tools 2.1.2
File Size Uploaded
poly_py_tools-2.1.2.tar.gz 14.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for poly-py-tools 2.1.2
File Interpreter ABI Platform
poly_py_tools-2.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 35.7 kB

Release files / poly_py_tools-2.1.2.tar.gz

Download URL poly_py_tools-2.1.2.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b6b206fb77d24727378f561e36ae52c6cc9976edc61d0979f914bb5c2a74559d
BLAKE2b-256 checksum
How to use checksums
1fff0f4a5e0144e0485ac189232f6981048d39aa0f7f6a45ed59e2345baa4e4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.5

Release files / poly_py_tools-2.1.2-py3-none-any.whl

Download URL poly_py_tools-2.1.2-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d8989a6b8a7d0e8373a74b912126ea6ac9bf8d5cf17260dc7a96153f2cb2261
BLAKE2b-256 checksum
How to use checksums
e5b59dd8b661fd742d65f16f62854bcb5a9422aef15c0532614525e468703afd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.5

Release history Release notifications | RSS feed

This release

2.1.2 This release

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.3

2 release files

2.0.2

2 release files

0.0.1

2 release files

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