Added the balance enquiry for additional networks

This commit is contained in:
Pierre Pronchery 2011-12-11 16:49:38 +00:00
parent 54a46986c2
commit f30f16a36c

View File

@ -60,6 +60,13 @@ static USSDCode _ussd_codes_za_mtn[] =
{ NULL, NULL } { NULL, NULL }
}; };
/* Virgin Mobile, see */
static USSDCode _ussd_codes_fr_virgin[] =
{
{ "*144#", "Balance enquiry" },
{ NULL, NULL }
};
static const struct static const struct
{ {
char const * name; char const * name;
@ -67,7 +74,10 @@ static const struct
} _ussd_operators[] = } _ussd_operators[] =
{ {
{ "E-plus", _ussd_codes_de_eplus }, { "E-plus", _ussd_codes_de_eplus },
{ "Monacell", _ussd_codes_fr_virgin },
{ "MTN", _ussd_codes_za_mtn }, { "MTN", _ussd_codes_za_mtn },
{ "NRJ", _ussd_codes_fr_virgin },
{ "Virgin", _ussd_codes_fr_virgin },
{ NULL, NULL } { NULL, NULL }
}; };