Commit a8fe2544 authored by Guido Günther's avatar Guido Günther Committed by Dan Williams

dtd: add attributes for balance top-up

<balance-top-up>
  <ussd replacement="CODE">*130*CODE#</ussd>
</balance-top-up>

CODE will the be replaced by the user input (e.g. the unique top up
code).

<balance-top-up>
  <sms text="foo">150</sms>
</balance-top-up>
parent aa0092a4
......@@ -6,7 +6,7 @@
<!ELEMENT provider (name+, gsm?, cdma?)>
<!ELEMENT gsm (network-id*, voicemail*, balance-check*, apn*)>
<!ELEMENT gsm (network-id*, voicemail*, balance-check*, balance-top-up*, apn*)>
<!ELEMENT apn (name*,
gateway?,
username?,
......@@ -28,7 +28,12 @@
<!-- 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 -->
<!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 -->
......@@ -42,6 +47,10 @@
<!-- 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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment