Send message format to CBC

Either cap or ibag
This commit is contained in:
Pea Tyczynska
2020-12-08 11:12:48 +00:00
parent 9e4176ac50
commit 553565bc91
5 changed files with 71 additions and 26 deletions

View File

@@ -2453,6 +2453,11 @@ 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