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