1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
<!ELEMENT serviceproviders (country*)>
<!ATTLIST serviceproviders format CDATA #REQUIRED>
<!ELEMENT country (provider*)>
<!ATTLIST country code CDATA #REQUIRED>
<!ELEMENT provider (name+, gsm?, cdma?)>
<!ELEMENT gsm (network-id*, voicemail*, balance-check*, apn*)>
<!ELEMENT apn (name*,
gateway?,
username?,
password?,
dns*)>
<!ATTLIST apn value CDATA #REQUIRED>
<!ELEMENT voicemail (#PCDATA)>
<!-- contains dial string used to access voicemail services for this provider -->
<!-- for historical/legacy reasons network providers may support various alternative -->
<!-- dial strings that can be used to access voicemail services -->
<!ELEMENT balance-check (ussd*,
dtmf*,
sms*,
ussd-response*)>
<!-- for handset branding and historical/legacy reasons, network providers often -->
<!-- support a number of alternative methods to check balance/allowance. -->
<!-- the first element will typically be the default method -->
<!ELEMENT ussd (#PCDATA)>
<!-- contains * prefixed string which when sent to the network should result in a response text string from network -->
<!ELEMENT dtmf (#PCDATA)>
<!-- contains dial string used to access balance check service via voice call -->
<!ELEMENT sms (#PCDATA)>
<!ATTLIST sms text CDATA #REQUIRED>
<!-- contains dial string and text string used to access balance check service via sms -->
<!ELEMENT ussd-response (#PCDATA)>
<!-- similar to standard ussd method but requires user to select options from initial network response -->
<!-- typically, option 1 followed by option 3 will display remaining credit -->
<!-- this method does not have widespread use -->
<!ELEMENT network-id EMPTY>
<!ATTLIST network-id mcc CDATA #REQUIRED>
<!ATTLIST network-id mnc CDATA #REQUIRED>
<!-- network-id should contain all the providers's known MCC/MNC codes.
The MCC should be a three-digit ITU E.212 Mobile Country Code (like
'310' or '409') and the MNC should be a two- or three-digit GSM
Mobile Network Code. Even if the provider is an MVNO, it's upstream
network infrastructure provider's MCC/MNC codes should be included
so that the MCC+MNC from the IMSI of the MVNO's SIM can be roughly
matched to the provider.
-->
<!ELEMENT username (#PCDATA)>
<!-- username required for authentication when starting a packet data session -->
<!ELEMENT password (#PCDATA)>
<!-- password required for authentication when starting a packet data session -->
<!ELEMENT dns (#PCDATA)>
<!-- Any static IPv4 DNS servers required for the provider; usually these are
sent to the client automatically via PPP or PDP context negotiation and
this value is not used.
-->
<!ELEMENT gateway (#PCDATA)>
<!-- Static IPv4 gateway to which IP traffic for the data session should be
directed to. Usually the gateway is provided automatically via PPP or
PDP context negotiation and this value is not used.
-->
<!ELEMENT cdma (name*,
username?,
password?,
dns*,
sid*)>
<!ELEMENT sid EMPTY>
<!ATTLIST sid value CDATA #REQUIRED>
<!-- AMPS/CDMA System IDs known to be used by this provider -->
<!ELEMENT name (#PCDATA)>
<!ATTLIST name xml:lang CDATA #IMPLIED>
|