Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python3
from wazo_auth_client import Client as Auth
from wazo_confd_client import Client as Confd
# Please add a web service user with acl confd.#
# To use ./add-webrtc-line
username = "sylvain" # Fill with your username
password = "sylvain" # Fill with your password
#!/usr/bin/env python3
import os
import sys
from wazo_confd_client import Client
TOKEN = os.getenv('TOKEN')
c = Client('localhost', verify_certificate=False, token=TOKEN)
conferences = []
@benasse
benasse / add-webrtc-line.py
Last active February 8, 2021 11:39 — forked from sduthil/add-webrtc-line.py
Add Wazo webrtc lines to users that don't have any an UC and CRM subscription
#!/usr/bin/python3
# Copyright 2020 The Wazo Authors (see the AUTHORS file)
# SPDX-License-Identifier: GPL-3.0-or-later
from wazo_auth_client import Client as Auth
from wazo_confd_client import Client as Confd
# Please add a web service user with acl confd.#
# in order to use ./add-webrtc-line