After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 632979 - m-b-p-i: no way to specify recharge information
m-b-p-i: no way to specify recharge information
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2010-10-23 14:29 UTC by Guido Günther
Modified: 2011-03-19 16:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Extend schema to allows for credit top up (2.02 KB, patch)
2010-11-09 12:10 UTC, Guido Günther
none Details | Review
Credit top up information for swisscom (756 bytes, patch)
2010-11-09 12:12 UTC, Guido Günther
none Details | Review
Extend schema to allow for credit top up (2.04 KB, patch)
2010-11-18 17:47 UTC, Guido Günther
none Details | Review
Credit top up information for swisscom and some german providers (5.03 KB, patch)
2010-11-18 17:49 UTC, Guido Günther
none Details | Review

Description Guido Günther 2010-10-23 14:29:08 UTC
It's great that mobile-broadband-provider-info already stores the account balance information. Since using pre-paid cards in foreign countries rather than roaming is quiet widespread it would be great if it would also store the information on howto "top up" (reload) your credit.

<reload method="ussd" type="code">
    <prefix>*130*</prefix>
    <postfix>#</postfix>
</reload>

would indicate that to top up the credit one would use:

    *130*CODE#

where CODE is the code printed on the bill when buying the "top up". Would extending the schema in this direction make any sense to you?
Comment 1 Dan Williams 2010-10-25 14:39:52 UTC
Yeah, it would.  Do you know any other recharge methods in-use besides this type of code method?  I'll try and find out too but anything you could find out about other providers in Europe or elsewhere would be valuable.  Just to make sure we get it mostly right the first time :)
Comment 2 Guido Günther 2010-10-25 16:50:00 UTC
Besides USSD sending an SMS with the specific text seems to be quiet common:

http://www.prepaidanbieter.net/guthaben/simply-guthaben-aufladen/

The text in this case is no pin code but a fixed text message. The provider will then charge money from the bank account (you had to provide when buying the buying the prepaid card). So in this case one would have something like:

<reload method="sms" type="fixed-message">
    <number>77277</number>
    <msg>TopUp</msg>
</reload>
Comment 3 Guido Günther 2010-11-09 12:10:58 UTC
Created attachment 174128 [details] [review]
Extend schema to allows for credit top up

Attached patch allows for credit top up information like:

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

The replacement attribute allows to specify a string that should be replaced by user input. So if the code printed on the bill to top up the balance is 123456789012 the ussd would become: *123*123456789012#. Doing it this way instead of like #c1 makes credit-top-up and balance-check more similar.

For SMS we have:

<credit-top-up>
     <sms text="bla">123</ussd>
</credit-top-up>

since all I found are fixed text messages as described in #c2.
Comment 4 Guido Günther 2010-11-09 12:12:12 UTC
Created attachment 174129 [details] [review]
Credit top up information for swisscom

Credit top up information for swisscom as working example for the DTD extension.
Comment 5 Guido Günther 2010-11-18 17:47:44 UTC
Created attachment 174786 [details] [review]
Extend schema to allow for credit top up

Change credit to balance as discussed via mail.
Comment 6 Guido Günther 2010-11-18 17:49:17 UTC
Created attachment 174787 [details] [review]
Credit top up information for swisscom and some german providers

Change data to new schema and add more providers.
Comment 7 Guido Günther 2010-12-04 14:40:14 UTC
Any chance this gets merged? I'd like to use this in ppm: https://honk.sigxcpu.org/piki/projects/ppm/
Comment 8 Guido Günther 2010-12-26 11:29:14 UTC
Is there anything I can do to get this applied?
Comment 9 Tobias Mueller 2011-03-18 11:06:18 UTC
Dan: Ping
Comment 10 Dan Williams 2011-03-19 16:17:50 UTC
Argh, thanks for the ping.  I'm embarrassed this bug got left for so long.

Patches are great, pushed as:

a8fe254472b2aaf1ab047f2d2a88d183826c9e1c
e9fd05415541cea1f011959473c6fffa14dca348

I can tag a new release if you'd like?  Let me know.