From ecb9693d412df358de2e5f21982fe2f98651bc50 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 11 Oct 2016 20:26:09 +0200 Subject: [PATCH] Provide a configuration file for USSD codes This file is not in use yet though. --- src/plugins/project.conf | 2 +- src/plugins/ussd/project.conf | 8 + src/plugins/ussd/ussd.conf | 368 ++++++++++++++++++++++++++++++++++ src/plugins/ussd/ussd.xsl | 34 ++++ 4 files changed, 411 insertions(+), 1 deletion(-) create mode 100644 src/plugins/ussd/project.conf create mode 100644 src/plugins/ussd/ussd.conf create mode 100644 src/plugins/ussd/ussd.xsl diff --git a/src/plugins/project.conf b/src/plugins/project.conf index cccc368..c259609 100644 --- a/src/plugins/project.conf +++ b/src/plugins/project.conf @@ -1,4 +1,4 @@ -subdirs=16x16,24x24,32x32,48x48,gprs +subdirs=16x16,24x24,32x32,48x48,gprs,ussd targets=blacklist,console,debug,engineering,gprs,gps,n900,openmoko,oss,panel,password,profiles,smscrypt,systray,template,ussd,video cppflags_force=-I ../../include cppflags= diff --git a/src/plugins/ussd/project.conf b/src/plugins/ussd/project.conf new file mode 100644 index 0000000..05cbd2d --- /dev/null +++ b/src/plugins/ussd/project.conf @@ -0,0 +1,8 @@ +#targets=ussd.conf +dist=Makefile,ussd.conf,ussd.xsl + +[ussd.conf] +#type=script +#script=../../../tools/xsltproc.sh +#depends=ussd.xml,ussd.xsl,xsltproc.sh +install=$(PREFIX)/share/doc/Phone diff --git a/src/plugins/ussd/ussd.conf b/src/plugins/ussd/ussd.conf new file mode 100644 index 0000000..42b005c --- /dev/null +++ b/src/plugins/ussd/ussd.conf @@ -0,0 +1,368 @@ +[du] +msisdn-query=*#100# + +[Karabakh Telecom] +balance-check=*122# +balance-top-up=*123*CODE# + +[tele.ring] +balance-check=*102# + +[Azerfon] +msisdn-query=*100#3# + +[m:tel] +balance-check=*101# + +[HT-ERONET] +balance-check=*101# + +[Robi (AKTel)] +balance-check=*222# +balance-top-up=*111*CODE# +msisdn-query=*140*2*4# + +[Banglalink] +balance-check=*124# +balance-top-up=*123*CODE# +msisdn-query=*511# + +[GrameenPhone] +balance-check=*566# +balance-top-up=*555*CODE# +msisdn-query=*2# + +[Airtel (Warid)] +balance-check=*778# +balance-top-up=*787*CODE# +msisdn-query=*121*6*3# + +[Teletalk] +balance-check=*152# +balance-top-up=#151*CODE# +msisdn-query=*551# + +[Mobistar] +balance-check=#123# + +[GloBul] +balance-check=*125# + +[M-Tel] +balance-check=*101# + +[Vivacom] +balance-check=*102# + +[Claro] +balance-check=*544# + +[TIM] +balance-check=*222# + +[velcom] +balance-check=*100# + +[MTS] +balance-check=*100# + +[life:)] +balance-check=*100# + +[Orange] +balance-check=#121# +balance-top-up=#121*CODE# + +[Swisscom] +balance-check=*130# +balance-top-up=*123*CODE# + +[M-Budget] +msisdn-query=*#100# + +[Cytamobile-Vodafone] +msisdn-query=*#109# + +[Vodafone] +balance-check=*22# + +[O2] +balance-check=*104*# +balance-top-up=*102*CODE# + +[AldiTalk/MedionMobile] +balance-check=*100# +balance-top-up=*104*CODE# + +[blau.de] +balance-check=*100# +balance-top-up=*104*CODE# + +[E-Plus] +balance-check=*100# +balance-top-up=*104*CODE# + +[O2] +balance-check=*101# +balance-top-up=*103*CODE# + +[Tchibo-Mobil] +balance-check=*101# +balance-top-up=*103*CODE# + +[T-Mobile(Telekom)] +balance-check=*100# +balance-top-up=*101*CODE# + +[Congstar] +balance-check=*100# +balance-top-up=*101*CODE# + +[Vodafone] +balance-check=*100# +balance-top-up=*100*CODE# + +[FONIC] +balance-check=*101# +balance-top-up=*103*CODE# + +[simyo Internet] +balance-check=*100# +balance-top-up=*104*CODE# + +[1&1] +balance-check=*100# + +[Telenor] +balance-check=*101# + +[TDC] +balance-check=*101# + +[Telia] +balance-check=*101# + +[Orange] +balance-check=#131# + +[Claro] +balance-check=*122# + +[Viva] +balance-check=#111# + +[Vodafone] +msisdn-query=*878# + +[Orange] +balance-check=*111# + +[Vodafone] +msisdn-query=*138# + +[Yoigo] +balance-check=*111# + +[Ethio Telecom] +balance-check=*804# + +[Vodafone FO] +msisdn-query=*#100# + +[Vodafone / Kidanet] +msisdn-query=*999# + +[Orange] +balance-check=#123# +balance-top-up=#124*CODE# + +[O2] +balance-check=*#10# + +[giffgaff] +balance-check=*100# + +[Vodafone] +balance-check=*#1345# +msisdn-query=*#100# + +[MTN] +balance-check=*124# +balance-top-up=*125*CODE# + +[Vodafone] +balance-check=*122# +balance-top-up=*123*CODE# +msisdn-query=*127# + +[Tigo] +balance-check=*820# +balance-top-up=*842*CODE# + +[Airtel] +balance-check=*133# +balance-top-up=*134*CODE# + +[GloGhana] +balance-check=*124# +balance-top-up=*123*CODE# + +[O2] +balance-check=*#100# + +[Reliance] +balance-check= *111*1*3# + +[Safaricom] +balance-check=*144# +balance-top-up=*544*CODE# + +[Beeline] +balance-check=*102# + +[MegaCom] +balance-check=*500# + +[O!] +balance-check=*100# + +[Cellcard] +balance-check=#124# + +[Hello] +balance-check=*100# + +[qb] +balance-check=#132# + +[Smart Mobile] +balance-check=*888# + +[Metfone] +balance-check=*097# + +[Beeline] +balance-check=*102# + +[Mfone] +balance-check=*222# + +[Lao Telecom] +balance-check=*122# + +[Airtel NG] +balance-check=*123# +balance-top-up=*126*CODE# + +[MTN] +balance-check=*556# +balance-top-up=*555*CODE# + +[Glo Mobile] +balance-check=#124# +balance-top-up=*123*CODE# + +[Etisalat] +balance-check=*232# +balance-top-up=*222*CODE# + +[Vodafone] +msisdn-query=*#100# + +[Netcom] +balance-check=*150# + +[Tele2] +balance-check=*111# + +[T-mobile] +balance-check=*101# +balance-top-up=*111*CODE# + +[Play Online] +balance-check=*101# +balance-top-up=*100*CODE# + +[Orange] +balance-check=*124*# +balance-top-up=*125*CODE# + +[Plus] +balance-check=*100# +balance-top-up=*123*CODE# + +[Heyah] +balance-check=*108# +balance-top-up=*109*CODE# + +[GaduAIR] +balance-check=*101# + +[mBank mobile] +balance-check=*100# + +[Vodafone] +msisdn-query=*#100# + +[Beeline] +balance-check=*102# + +[MTS] +balance-check=*100# + +[Megafon] +balance-check=*100# + +[U-tel] +balance-check=*100# + +[Tele2] +balance-check=*111# + +[Comviq] +balance-check=*111# +balance-top-up=*110*CODE# + +[Telenor] +balance-check=*222# + +[Telia] +balance-check=*120# + +[Vodafone / Simobil] +msisdn-query=*100# + +[Zain] +balance-check=*888# +balance-top-up=*888*CODE# + +[Vodafone] +msisdn-query=*101# + +[life:)] +balance-check=*111# + +[Cell-c] +balance-check=*101# +balance-top-up=*102*CODE# +msisdn-query=*147*100# + +[MTN] +balance-check=*141# +balance-top-up=*141*CODE# +msisdn-query=*123*888# + +[Vodacom] +balance-check=*100# +balance-top-up=*100*01*CODE# +msisdn-query=*111*501# + +[Virgin Mobile] +balance-check=*101# +balance-top-up=*102*CODE# + +[8.ta] +balance-check=*188# +balance-top-up=*188*CODE# +msisdn-query=*1# + diff --git a/src/plugins/ussd/ussd.xsl b/src/plugins/ussd/ussd.xsl new file mode 100644 index 0000000..63a2703 --- /dev/null +++ b/src/plugins/ussd/ussd.xsl @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + [] + + balance-check= + + balance-top-up= + + msisdn-query= + + + + + + + + + + + +