Open Source Telephony
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@nokia.com>
To: ofono@ofono.org
Subject: Re: return values of org.ofono.SupplementaryServices.Initiate
Date: Tue, 05 Oct 2010 15:41:42 +0300	[thread overview]
Message-ID: <4CAB1D06.50503@nokia.com> (raw)
In-Reply-To: <1286280392.17473.85.camel@aeonflux>

[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]

On 05.10.2010 15:06, ext Marcel Holtmann wrote:
>> doc/supplementaryservices-api.txt says nothing about return values of
>> SupplementeryServices.Initiate method (or that the method can take SS
>> requests in addition to USSD). Can the API designer/implementer fix this
>> please?
>
> why don't you just send a patch for it if it is unclear?

If it was a small update I would just send a patch. But a typical return 
value for example is:

(u'CallBarring',
  (u'interrogation',
   u'AllBarringServices',
   {u'DataAllIncoming': u'disabled',
    u'DataAllOutgoing': u'disabled',
    u'DataIncomingWhenRoaming': u'disabled',
    u'DataInternationalOutgoing': u'disabled',
    u'DataInternationalOutgoingExceptHome': u'disabled',
    u'FaxAllIncoming': u'disabled',
    u'FaxAllOutgoing': u'disabled',
    u'FaxIncomingWhenRoaming': u'disabled',
    u'FaxInternationalOutgoing': u'disabled',
    u'FaxInternationalOutgoingExceptHome': u'disabled',
    u'VoiceAllIncoming': u'disabled',
    u'VoiceAllOutgoing': u'disabled',
    u'VoiceIncomingWhenRoaming': u'disabled',
    u'VoiceInternationalOutgoing': u'disabled',
    u'VoiceInternationalOutgoingExceptHome': u'disabled'}))

Now multiply this by all possible combinations of supplementary services, 
supplementary service operations and basic services. Remember the second 
argument is a variant, so it's entirely freeform. So I sought to ask about 
this on the list first.

A patch(set) that changes the API shouldn't be accepted in the first place 
if it doesn't properly update the documentation.

Regards,
Alex

  reply	other threads:[~2010-10-05 12:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05 10:28 return values of org.ofono.SupplementaryServices.Initiate Alexander Kanavin
2010-10-05 12:06 ` Marcel Holtmann
2010-10-05 12:41   ` Alexander Kanavin [this message]
2010-10-07  0:37     ` Denis Kenzior
2010-10-07  9:49       ` Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CAB1D06.50503@nokia.com \
    --to=alexander.kanavin@nokia.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox