File: serviceproviders.2.dtd

package info (click to toggle)
mobile-broadband-provider-info 20190618-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 464 kB
  • sloc: xml: 13,653; makefile: 14; sh: 14
file content (124 lines) | stat: -rw-r--r-- 4,610 bytes parent folder | download | duplicates (2)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!ELEMENT serviceproviders (country*)>
<!ATTLIST serviceproviders format CDATA #REQUIRED>

<!ELEMENT country (provider*)>
<!ATTLIST country code CDATA #REQUIRED>

<!ELEMENT provider (name+, gsm?, cdma?)>

<!-- Indicates this provider is the primary/wholesale network provider -->
<!-- for a given MCC/MNC; other providers with the same MCC/MNC are MVNOs -->
<!-- that piggy-back on the primary provider. -->
<!ATTLIST provider primary (true|false) #IMPLIED>

<!ELEMENT gsm (network-id*, msisdn-query*, voicemail*, balance-check*, balance-top-up*, apn*)>
<!ELEMENT apn (plan*,
               usage?,
               name*,
               gateway?,
               username?,
               password?,
               authentication?,
               dns*,
               mmsc?,
               mmsproxy?)>
<!ATTLIST apn value CDATA #REQUIRED>

<!ELEMENT msisdn-query (ussd*, sms*)>
<!-- query the network for the telephone number assigned to the SIM card -->

<!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)>
<!ATTLIST ussd replacement CDATA #IMPLIED>
<!-- contains * prefixed string which when sent to the network should result in
     a response text string from network. The attribute "replacement" is a
     string that, if found in the #PCDATA, can be replaced by user input, e.g.
     to provide a pin code for balance top up.
  -->

<!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 balance-top-up (ussd*,
                          sms*)>
<!-- Howto top up the balance of prepaid cards -->

<!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 authentication EMPTY>
<!ATTLIST authentication method (chap|pap) #REQUIRED>
<!-- method to use 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 plan EMPTY>
<!ATTLIST plan type (prepaid|postpaid) #REQUIRED>

<!ELEMENT usage EMPTY>
<!ATTLIST usage type (internet|mms|wap|ia) #REQUIRED>

<!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>

<!-- MMS proxy in HOST:PORT format -->
<!ELEMENT mmsproxy (#PCDATA)>

<!-- MMS Center URL -->
<!ELEMENT mmsc (#PCDATA)>