Separate functions for cbc clients

Also move message_format to the clients.
This commit is contained in:
Pea Tyczynska
2020-12-09 11:13:50 +00:00
parent 553565bc91
commit 8af4b27fd6
5 changed files with 188 additions and 59 deletions

View File

@@ -2453,11 +2453,6 @@ class BroadcastProvider:
PROVIDERS = [EE, VODAFONE, THREE, O2]
class BroadcastProviderMessageType:
CBC = 'cbc'
IBAG = 'ibag'
class BroadcastProviderMessageStatus:
TECHNICAL_FAILURE = 'technical-failure' # Couldnt send (cbc proxy 5xx/4xx)
SENDING = 'sending' # Sent to cbc, awaiting response