@@ -19,7 +19,7 @@ The **match_response_code** maps to the Equipment-Status AVP output, so specifie
19
19
Some end to end examples of this provisioned into the API:
20
20
21
21
### IMSI / IMEI Binding
22
- ```
22
+ ``` json
23
23
{
24
24
'imei': '1234',
25
25
'imsi': '567',
@@ -30,7 +30,7 @@ Some end to end examples of this provisioned into the API:
30
30
If IMSI is equal to * 567* and is in use in IMEI * 1234* , then the response code returned is 0 (Whitelist).
31
31
32
32
### IMEI Matching (Blacklist lost / stolen devices)
33
- ```
33
+ ``` json
34
34
{
35
35
'imei': '99881232',
36
36
'imsi': '',
@@ -41,7 +41,7 @@ If IMSI is equal to *567* and is in use in IMEI *1234*, then the response code r
41
41
If the IMEI is equal to 99881232 used with any IMSI, then the response code returned is 1 (Blacklist). This would be used for devices reported stolen.
42
42
43
43
### IMEI Prefix Match (Blacklist / Whitelist all devices of type)
44
- ```
44
+ ``` json
45
45
{
46
46
'imei': '^666.*',
47
47
'imsi': '',
@@ -52,7 +52,7 @@ If the IMEI is equal to 99881232 used with any IMSI, then the response code retu
52
52
If the IMEI starts with 666, then the response code returned is 1 (Blacklist).
53
53
54
54
### IMEI & IMSI Regex Match
55
- ```
55
+ ``` json
56
56
{
57
57
'imei': '^777.*',
58
58
'imsi': '^1234123412341234$',
@@ -83,9 +83,9 @@ If ``imsi_imei_logging`` is set, then every unique IMSI / IMEI mapping is visibl
83
83
This also allows us to detect SIM Swap events.
84
84
85
85
## Config Example
86
- ```
86
+ ``` yaml
87
87
eir :
88
88
imsi_imei_logging : True # Store current IMEI / IMSI pair in backend
89
89
sim_swap_notify_webhook : http://localhost/webhook/
90
90
no_match_response : 2 # Greylist
91
- ```
91
+ ` ` `
0 commit comments