This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |