Re: service-provider extension patch



On Mon, 24 May 2010 16:46:34 -0700
Dan Williams <dcbw redhat com> wrote:

> On Mon, 2010-05-24 at 16:54 +0100, Neil Williams wrote:
> > Toby Churchill have been running an internal project to compile a list
> > of gsm network operators and the relevant information such as MCC/MNC
> > codes, voicemail, balance check methods etc for use in a mobile-phone
> > enabled communication aid. 
> > 
> > We created an XML document for our use internally but have since come
> > across the the serviceprovider package which has a fair amount of
> > overlap. So it has been suggested that it may be worthwhile adding our
> > information with the serviceprovider list... 
> > 
> > Please find attached a patch (serviceprovider.2.tdt &
> > serviceprovider.xml) to extend the <gsm> node to incorporate
> > <voicemail> and <balance-check> methods for a network provider. 

> - When two <dtmf> are listed, what's the difference between the two?  Do
> both do the same thing?  Or are they different?

The same "networkID" can have differing implementations from which the
user needs to select according to local requirements like tariff or
locality or handset. Our UI offers a default and then allows the user to
choose from the alternatives.

We also fallback to SMS when our own communication aid is set to silent
mode (to silence normal dialling noises / notifications etc.)
 
> - For the USSD stuff, when would <ussd> be used, and when would
> <ussd-response> be used?

<ussd> is fire and forget.
<ussd-response> needs to have the modem hang on for a response
from the user before the balance will be sent. The UI passes the
network prompt back to the user. (Choose 1 for X, 2 for Y etc.)

Which to use is down to handset/tariff variability.

> - For the SMS balance check, when two <sms> items are listed, what's the
> different between the two?

Handset / regional / tariff based differentiation. The user configures
which of the available methods to use, the choice is then stored in
the application.

> - Also for SMS, what is the meaning of the "text" attribute, and what's
> the  meaning of the data inside the <sms></sms> item?

For balance check enquiries by SMS, the text is the keyword passed as
the body of the SMS and then recognised by the network. The content of
the SMS tag is then used as the number to which the SMS is sent.

> - If you could also add voicemail to the CDMA stanza that would be great
> since all of these have voicemail #s too.

Not testable in TCL, so that's harder. We only support GSM currently.

> Thanks for sending the patches!

No problem. Further updates may follow as more devices get out to real
users. Network methods can be impossible to test without real access to
the network itself.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgph6cSVHlmsU.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]