This gist contains the audio file necessary to build the wlapi docker image
Whenever the wav file is updated remember to update the URL in the dockerfile of wazo-load-stack wlapi
This gist contains the audio file necessary to build the wlapi docker image
Whenever the wav file is updated remember to update the URL in the dockerfile of wazo-load-stack wlapi
diff --git a/xivo_dao/resources/user/persistor.py b/xivo_dao/resources/user/persistor.py | |
index 4a2fe27d..2eb6e9fd 100644 | |
--- a/xivo_dao/resources/user/persistor.py | |
+++ b/xivo_dao/resources/user/persistor.py | |
@@ -1,6 +1,7 @@ | |
# Copyright 2015-2022 The Wazo Authors (see the AUTHORS file) | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
+from sqlalchemy.orm import joinedload | |
from sqlalchemy.sql import func |
diff --git a/xivo_dao/alchemy/endpoint_sip_options_view.py b/xivo_dao/alchemy/endpoint_sip_options_view.py | |
index c4f9cc5e..9b358845 100644 | |
--- a/xivo_dao/alchemy/endpoint_sip_options_view.py | |
+++ b/xivo_dao/alchemy/endpoint_sip_options_view.py | |
@@ -1,4 +1,4 @@ | |
-# Copyright 2021-2022 The Wazo Authors (see the AUTHORS file) | |
+# Copyright 2021-2023 The Wazo Authors (see the AUTHORS file) | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
from sqlalchemy import select, join, cast, literal, func, String, Index, text |
diff --git a/xivo_dao/helpers/db_views.py b/xivo_dao/helpers/db_views.py | |
index 401f14a9..51c3c002 100644 | |
--- a/xivo_dao/helpers/db_views.py | |
+++ b/xivo_dao/helpers/db_views.py | |
@@ -10,7 +10,7 @@ from sqlalchemy.inspection import inspect | |
from sqlalchemy.sql.ddl import DDLElement | |
from sqlalchemy.sql.selectable import Selectable | |
-from .db_manager import Base, Session, daosession | |
+from .db_manager import Base, Session |
diff --git a/wazo_websocketd/bus.py b/wazo_websocketd/bus.py | |
index a755642..9cf6375 100644 | |
--- a/wazo_websocketd/bus.py | |
+++ b/wazo_websocketd/bus.py | |
@@ -74,7 +74,7 @@ class _UserHelper: | |
class _BusConnection: | |
- _id_counter = Value('i', 1) # process-safe shared counter | |
+ _id_counter = Value('i', 1) |
diff --git a/wazo_auth/config.py b/wazo_auth/config.py | |
index 27984daf..8a95adee 100644 | |
--- a/wazo_auth/config.py | |
+++ b/wazo_auth/config.py | |
@@ -1,4 +1,4 @@ | |
-# Copyright 2015-2022 The Wazo Authors (see the AUTHORS file) | |
+# Copyright 2015-2023 The Wazo Authors (see the AUTHORS file) | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
import argparse |
diff --git a/wazo_calld/controller.py b/wazo_calld/controller.py | |
index 276283ac..d7900c03 100644 | |
--- a/wazo_calld/controller.py | |
+++ b/wazo_calld/controller.py | |
@@ -20,6 +20,8 @@ from .bus import CoreBusConsumer, CoreBusPublisher | |
from .collectd import CollectdPublisher | |
from .http_server import api, HTTPServer | |
from .service_discovery import self_check | |
+from .helpers.channel_proxy import ChannelProxy | |
+ |
diff --git a/wazo_calld/controller.py b/wazo_calld/controller.py | |
index 276283ac..54f8074b 100644 | |
--- a/wazo_calld/controller.py | |
+++ b/wazo_calld/controller.py | |
@@ -20,6 +20,8 @@ from .bus import CoreBusConsumer, CoreBusPublisher | |
from .collectd import CollectdPublisher | |
from .http_server import api, HTTPServer | |
from .service_discovery import self_check | |
+from .helpers.channel_proxy import ChannelProxy | |
+ |
#!/usr/bin/env python3 | |
import kombu | |
from kombu.mixins import ConsumerMixin | |
from kombu import binding as Binding | |
class C(ConsumerMixin): | |
def __init__(self, connection): | |
self.connection = connection |
copy config2.yml to /etc/wazo-websocketd/config2.yml | |
Create the file wazo-websocketd2.service at /etc/systemd/system | |
systemctl daemon-reload | |
systemctl start wazo-websocketd2 | |
Add the websocketd upstream in /etc/nginx/sites-available/wazo | |
``` | |
upstream websocketd { | |
server 127.0.0.1:9502; | |
server 127.0.0.1:9512; | |
} |