Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2eb1ad11 authored by Eeshan Shrimali's avatar Eeshan Shrimali
Browse files

DCB whitelist shortcode for user association



This is to white list short code for DCB user
association for 18Q1. We will only whitelist
code that will actually trigger the premium SMS
warnings. Namely
CL - 9240
NO - 2171
BR - 4141, 8000
FI - 17110
ID - 363

There's also a config update for Thailand (TH).

The rest of the entries are in the bug
BUG:72942242

Change-Id: I97c1631dc09e0dfcfa3c268f91e3955cab715195
Signed-off-by: default avatarEeshan Shrimali <eeshans@google.com>
parent 6ca9d3d9
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@
    <shortcode country="bh" pattern="\\d{1,5}" free="81181" />

    <!-- Brazil: 1-5 digits (standard system default, not country specific) -->
    <shortcode country="br" pattern="\\d{1,5}" free="6000[012]\\d|876|5500|9963" />
    <shortcode country="br" pattern="\\d{1,5}" free="6000[012]\\d|876|5500|9963|4141|8000" />

    <!-- Belarus: 4 digits -->
    <shortcode country="by" pattern="\\d{4}" premium="3336|4161|444[4689]|501[34]|7781" />
@@ -73,7 +73,7 @@
    <shortcode country="ch" pattern="[2-9]\\d{2,4}" premium="543|83111|30118" free="98765" />

    <!-- Chile: 4-5 digits (not confirmed), known premium codes listed -->
    <shortcode country="cl" pattern="\\d{4,5}" free="9963" />
    <shortcode country="cl" pattern="\\d{4,5}" free="9963|9240" />

    <!-- China: premium shortcodes start with "1066", free shortcodes start with "1065":
         http://clients.txtnation.com/entries/197192-china-premium-sms-short-code-requirements -->
@@ -104,7 +104,7 @@
    <shortcode country="es" premium="[23][57]\\d{3}|280\\d{2}|[79]9[57]\\d{3}" free="116\\d{3}|22791|222145|22189" />

    <!-- Finland: 5-6 digits, premium 0600, 0700: http://en.wikipedia.org/wiki/Telephone_numbers_in_Finland -->
    <shortcode country="fi" pattern="\\d{5,6}" premium="0600.*|0700.*|171(?:59|63)" free="116\\d{3}|14789" />
    <shortcode country="fi" pattern="\\d{5,6}" premium="0600.*|0700.*|171(?:59|63)" free="116\\d{3}|14789|17110" />

    <!-- France: 5 digits, free: 3xxxx, premium [4-8]xxxx, plus EU:
         http://clients.txtnation.com/entries/161972-france-premium-sms-short-code-requirements,
@@ -136,7 +136,7 @@
    <shortcode country="in" pattern="\\d{1,5}" free="59336|53969" />

    <!-- Indonesia: 1-5 digits (standard system default, not country specific) -->
    <shortcode country="id" pattern="\\d{1,5}" free="99477|6006|46645" />
    <shortcode country="id" pattern="\\d{1,5}" free="99477|6006|46645|363" />

    <!-- Ireland: 5 digits, 5xxxx (50xxx=free, 5[12]xxx=standard), plus EU:
         http://www.comreg.ie/_fileupload/publications/ComReg1117.pdf -->
@@ -190,7 +190,7 @@
    <shortcode country="nl" pattern="\\d{4}" premium="4466|5040" free="116\\d{3}|2223|6225|2223" />

    <!-- Norway: 4-5 digits (not confirmed), known premium codes listed -->
    <shortcode country="no" pattern="\\d{4,5}" premium="2201|222[67]" />
    <shortcode country="no" pattern="\\d{4,5}" premium="2201|222[67]" free="2171" />

    <!-- New Zealand: 3-4 digits, known premium codes listed -->
    <shortcode country="nz" pattern="\\d{3,4}" premium="3903|8995|4679" free="3067|3068|4053" />
@@ -240,7 +240,7 @@
    <shortcode country="sk" premium="\\d{4}" free="116\\d{3}|8000" />

    <!-- Thailand: 4186001 used by AIS_TH_DCB -->
    <shortcode country="th" pattern="\\d{1,5}" free="4186001" />
    <shortcode country="th" pattern="\\d{1,5}" premium="4\\d{6}" free="4186001" />

    <!-- Tajikistan: 4 digits, known premium codes listed -->
    <shortcode country="tj" pattern="\\d{4}" premium="11[3-7]1|4161|4333|444[689]" />