From 7d43aa55773e8d2b2c007e852558ca09db586fec Mon Sep 17 00:00:00 2001 From: Kondwani Michael Kamoto Date: Mon, 4 Dec 2023 21:53:09 +0200 Subject: [PATCH] Reverted settings_base.py to original version --- .../deployments/malawi/settings_base.py | 21 +++++-------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/logistics_project/deployments/malawi/settings_base.py b/logistics_project/deployments/malawi/settings_base.py index 3283ebbb4..eac3d94f5 100644 --- a/logistics_project/deployments/malawi/settings_base.py +++ b/logistics_project/deployments/malawi/settings_base.py @@ -107,26 +107,15 @@ "port": 8002, "sendsms_url": "http://127.0.0.1:13013/cgi-bin/sendsms", "sendsms_params": {"smsc": "airtel-smpp", - "from": "399", # not set automatically by SMSC + "from": "56543", # not set automatically by SMSC "username": "rapidsms", - "password": "kannel"}, # set password in localsettings.py - "coding": 0, - "charset": "ascii", - "encode_errors": "ignore", # strip out unknown (unicode) characters - }, - "tnm-smpp-send": { - "ENGINE": "rapidsms.backends.kannel", - "host": "127.0.0.1", - "port": 8003, - "sendsms_url": "http://127.0.0.1:13013/cgi-bin/sendsms", - "sendsms_params": {"smsc": "tnm-smpp-send", - "from": "399", # not set automatically by SMSC - "username": "rapidsms", - "password": "kannel"}, # set password in localsettings.py + "password": "CHANGEME"}, # set password in localsettings.py "coding": 0, "charset": "ascii", "encode_errors": "ignore", # strip out unknown (unicode) characters }, + # tnm smpp (?) + # tester "message_tester": { "ENGINE": "rapidsms.backends.bucket", }, @@ -228,4 +217,4 @@ # data warehouse config WAREHOUSE_RUNNER = 'logistics_project.apps.malawi.warehouse.runner.MalawiWarehouseRunner' ENABLE_FACILITY_WORKFLOWS = False -LOGISTICS_USE_DEFAULT_HANDLERS = False +LOGISTICS_USE_DEFAULT_HANDLERS = False \ No newline at end of file