IFRCGo / cbs

Red Cross: Community-Based Surveillance

Home Page:https://cbsrc.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set up a block in the platform to not accept commercial messages. These are often short numbers or text.

tineml opened this issue · comments

We need a block that only exclude comercials. We do not want to block wrong format and unknown regular phone numbers.

Example of commercial message:
image

After discussing this with @tineml these rules should be used to identify commercial messages:

  • The origin/sender number is shorter than 5 letters
  • The origin/sender number contains letters

The recommended way to remove the commercial messages is to change the query that returns CaseReportsForListing to filter them out. This makes it easy to change the filter at a later stage if it includes too many or too few reports.