[mobile-broadband-provider-info] Add balance check and voicemail attributes
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mobile-broadband-provider-info] Add balance check and voicemail attributes
- Date: Thu, 22 Jul 2010 22:00:42 +0000 (UTC)
commit 30921a62009df83db6d902b192925806194be25b
Author: Neil Williams <codehelp debian org>
Date: Thu Jul 22 16:49:27 2010 -0700
Add balance check and voicemail attributes
serviceproviders.2.dtd | 30 +++++++++++++++++++++++++++++-
serviceproviders.xml | 43 ++++++++++++++++++++++++++++++++++++++++---
2 files changed, 69 insertions(+), 4 deletions(-)
---
diff --git a/serviceproviders.2.dtd b/serviceproviders.2.dtd
index 7a7fc92..44562aa 100644
--- a/serviceproviders.2.dtd
+++ b/serviceproviders.2.dtd
@@ -6,7 +6,7 @@
<!ELEMENT provider (name+, gsm?, cdma?)>
-<!ELEMENT gsm (network-id*, apn*)>
+<!ELEMENT gsm (network-id*, voicemail*, balance-check*, apn*)>
<!ELEMENT apn (name*,
gateway?,
username?,
@@ -14,6 +14,34 @@
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>
diff --git a/serviceproviders.xml b/serviceproviders.xml
index 271af8b..489e5d4 100644
--- a/serviceproviders.xml
+++ b/serviceproviders.xml
@@ -298,6 +298,11 @@ conceived.
<name>Telstra</name>
<gsm>
<network-id mcc="505" mnc="01"/>
+ <balance-check>
+ <dtmf>125111</dtmf>
+ <dtmf>1258888</dtmf>
+ <ussd-response>*100#</ussd-response>
+ </balance-check>
<apn value="telstra.wap">
<dns>139.130.4.4</dns>
<dns>203.50.2.71</dns>
@@ -2124,7 +2129,11 @@ conceived.
<network-id mcc="234" mnc="02"/>
<network-id mcc="234" mnc="10"/>
<network-id mcc="234" mnc="11"/>
-
+ <voicemail>901</voicemail>
+ <balance-check>
+ <ussd>*#10#</ussd>
+ <dtmf>4444</dtmf>
+ </balance-check>
<apn value="mobile.o2.co.uk">
<name>Contract</name>
<username>o2web</username>
@@ -2165,6 +2174,12 @@ conceived.
<name>T-Mobile</name>
<gsm>
<network-id mcc="234" mnc="30"/>
+ <voicemail>222</voicemail>
+ <balance-check>
+ <dtmf>150</dtmf>
+ <sms text="BA">150</sms>
+ <sms text="AL">150</sms>
+ </balance-check>
<apn value="general.t-mobile.uk">
<username>User</username>
<password>mms</password>
@@ -2188,6 +2203,11 @@ conceived.
<name>Vodafone</name>
<gsm>
<network-id mcc="234" mnc="15"/>
+ <voicemail>121</voicemail>
+ <balance-check>
+ <ussd>*#1345#</ussd>
+ <dtmf>2345</dtmf>
+ </balance-check>
<apn value="internet">
<name>Contract</name>
<username>web</username>
@@ -2224,7 +2244,10 @@ conceived.
<gsm>
<network-id mcc="234" mnc="33"/>
<network-id mcc="234" mnc="34"/>
-
+ <voicemail>123</voicemail>
+ <balance-check>
+ <dtmf>453</dtmf>
+ </balance-check>
<apn value="orangeinternet">
<name>Contract</name>
<username>orange</username>
@@ -2650,6 +2673,9 @@ conceived.
<name>O2</name>
<gsm>
<network-id mcc="272" mnc="02"/>
+ <balance-check>
+ <ussd>*#100#</ussd>
+ </balance-check>
<apn value="open.internet">
<name>Contract</name>
<username>gprs</username>
@@ -4273,6 +4299,10 @@ conceived.
<name>Telenor</name>
<gsm>
<network-id mcc="242" mnc="01"/>
+ <balance-check>
+ <dtmf>220</dtmf>
+ <sms text="saldo">222</sms>
+ </balance-check>
<apn value="telenor">
<dns>212.17.131.3</dns>
<dns>148.122.161.2</dns>
@@ -5227,6 +5257,10 @@ conceived.
<gsm>
<network-id mcc="240" mnc="07"/>
<network-id mcc="240" mnc="05"/>
+ <balance-check>
+ <ussd>*111#</ussd>
+ <dtmf>211</dtmf>
+ </balance-check>
<!-- http://www.tele2.se/internet-via-gprs.html -->
<apn value="internet.tele2.se">
<name>Mobilt Internet</name>
@@ -5283,7 +5317,10 @@ conceived.
<gsm>
<network-id mcc="240" mnc="01"/>
<network-id mcc="240" mnc="05"/>
-
+ <balance-check>
+ <ussd>*120#</ussd>
+ <ussd>*121#</ussd>
+ </balance-check>
<!-- http://www3.telia.se/foretag/mobilguiden/ -->
<apn value="online.telia.se"/>
</gsm>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]