Skip to content

Tool that helps the management of a Kazoo telephony platform from the command line.

License

Notifications You must be signed in to change notification settings

crashdump/kazoo-vocalize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kazoo-vocalize

Description

This is Experimental: Don't use in production environment. You've been warned!

Dependencies

Installation

CentOS

yum install python-pip 
pip install argparse
pip install kazoo-api
./vocalize.py acct_id api_key cmd

Debian

apt-get install python-pip python-argparse
pip install kazoo-api
./vocalize.py acct_id api_key cmd

Example

./vocalize.py e13c3fz551j4da c5e5u452hi5yi23o6pxz96 get_users
Request status: success
Response content:
[
    {
        "email": "[email protected]",
        "features": [
            "vm_to_email"
        ],
        "first_name": "Adrien",
        "id": "f9bac00f8e6c2063c00f8e6c2063c53b",
        "last_name": "P.",
        "priv_level": "user",
        "username": "adrienp"
    },
    {
        "email": "[email protected]",
        "features": [
            "vm_to_email"
        ],
        "first_name": "Test",
        "id": "e93ee470d03f85ecbac00f8e6c20634c",
        "last_name": "Test",
        "priv_level": "user",
        "username": "testt"
    }
]

Commands

ref
 [x] are implemented
 [ ] the dude still has some work to do on them
  • activate_phone_number (account_id, phone_number, data)
  • add_port_in_number (account_id, phone_number, data)
  • create_callflow (account_id, data)
  • create_conference (account_id, data)
  • create_deployment (account_id, server_id, data)
  • create_device (account_id, data)
  • create_directory (account_id, data)
  • create_global_resource (account_id, data)
  • create_local_resource (account_id, data)
  • create_media (account_id, data)
  • create_menu (account_id, data)
  • create_phone_number (account_id, phone_number)
  • create_queue (account_id, data)
  • create_temporal_rule (account_id, data)
  • create_user (account_id, data)
  • create_voicemail_box (account_id, data)
  • delete_callflow (account_id, callflow_id)
  • delete_conference (account_id, conference_id)
  • delete_device (account_id, device_id)
  • delete_directory (account_id, directory_id)
  • delete_global_resource (account_id, resource_id)
  • delete_local_resource (account_id, resource_id)
  • delete_media (account_id, media_id)
  • delete_menu (account_id, menu_id)
  • delete_phone_number (account_id, phone_number)
  • delete_phone_number_doc (account_id, phone_number, filename)
  • delete_queue (account_id, queue_id)
  • delete_temporal_rule (account_id, rule_id)
  • delete_user (account_id, user_id)
  • delete_voicemail_box (account_id, vmbox_id)
  • get_account (account_id)
  • get_account_children (account_id)
  • get_account_descendants (account_id)
  • get_all_devices_status (account_id)
  • get_all_media (account_id)
  • get_callflow (account_id, callflow_id)
  • get_callflows (account_id)
  • get_conference (account_id, conference_id)
  • get_conferences (account_id)
  • get_deployment (account_id, server_id)
  • get_device (account_id, device_id)
  • get_devices (account_id)
  • get_directories (account_id)
  • get_directory (account_id, directory_id)
  • get_global_resource (account_id, resource_id)
  • get_global_resources (account_id)
  • get_hotdesk (account_id)
  • get_limits (account_id)
  • get_local_resource (account_id, resource_id)
  • get_local_resources (account_id)
  • get_media (account_id, media_id)
  • get_menu (account_id, menu_id)
  • get_menus (account_id)
  • get_phone_numbers (account_id)
  • get_queue (account_id, queue_id)
  • get_queues (account_id)
  • get_server_log (account_id)
  • get_servers (account_id)
  • get_temporal_rule (account_id, rule_id)
  • get_temporal_rules (account_id)
  • get_user (account_id, user_id)
  • get_users (account_id)
  • get_voicemail_box (account_id, vmbox_id)
  • get_voicemail_boxes (account_id)
  • reserve_phone_number (account_id, phone_number, data)
  • search_phone_numbers (prefix, quantity=10)
  • update_account (account_id, data)
  • update_callflow (account_id, callflow_id, data)
  • update_conference (account_id, conference_id, data)
  • update_device (account_id, device_id, data)
  • update_directory (account_id, directory_id, data)
  • update_global_resource (account_id, resource_id, data)
  • update_local_resource (account_id, resource_id, data)
  • update_media (account_id, media_id, data)
  • update_menu (account_id, menu_id, data)
  • update_phone_number (account_id, phone_number, data)
  • update_queue (account_id, queue_id, data)
  • update_temporal_rule (account_id, rule_id, data)
  • update_user (account_id, user_id, data)
  • update_voicemail_box (account_id, vmbox_id, data)
  • upload_phone_number_file (account_id, phone_number, filename, file_obj)

About

Tool that helps the management of a Kazoo telephony platform from the command line.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages