1 SupplementaryServices hierarchy
2 ==========================
5 Interface org.ofono.SupplementaryServices
6 Object path [variable prefix]/{modem0,modem1,...}
8 Methods string, variant Initiate(string command)
10 If the command is a recognized supplementary service
11 control string, the corresponding SS request is made
12 and the result is returned.
14 Otherwise the command is sent to the network
15 initiating a USSD session. When the request is handled
16 by the appropriate node of the network, the
17 method returns the response or an appropriate
18 error. The network may be awaiting further response
19 from the ME after returning from this method and no
20 new command can be initiated until this one is
23 The output arguments are described in section
24 "Initiate method outptut arguments" below.
26 Possible Errors: [service].Error.InProgress
27 [service].Error.NotImplemented
28 [service].Error.InvalidArguments
29 [service].Error.InvalidFormat
30 [service].Error.NotSupported
31 [service].Error.NotAllowed
32 [service].Error.IncorrectPassword
33 [service].Error.NotRegistered
34 [service].Error.Timedout
35 [service].Error.AccessDenied
36 [service].Error.Failed
37 [service].Error.NotRecognized
39 string Respond(string reply)
41 Send a response to the network either when
42 it is awaiting further input after Initiate()
43 was called or after a network-initiated request.
45 Possible Errors: [service].Error.InProgress
46 [service].Error.NotActive
47 [service].Error.NotImplemented
48 [service].Error.InvalidArguments
49 [service].Error.InvalidFormat
50 [service].Error.Failed
54 Cancel an ongoing USSD session, mobile- or
57 Possible Errors: [service].Error.NotActive
58 [service].Error.InProgress
59 [service].Error.NotImplemented
60 [service].Error.Failed
64 Returns Supplementary Services related properties. See
65 the properties section for available properties.
67 Signals NotificationReceived(string message)
69 Signal is emitted on a network-initiated USSD
70 request for which no response is needed.
72 RequestReceived(string message)
74 Signal is emitted on a network-initiated USSD
75 request for which a response must be sent using
76 the Respond method unless it is cancelled or
77 the request is not supported.
79 PropertyChanged(string property, variant value)
81 Signal is emitted whenever a property has changed.
82 The new value is passed as the signal argument.
84 Properties string State [readonly]
86 Reflects the state of current USSD session. The
87 values have the following meanings:
89 "idle" No active USSD session.
90 "active" A session is active between the
91 network and the ME, the ME is
92 waiting for a reply from the
94 "user-response" The network is waiting for the
95 user's response, client must
99 Initiate method output arguments
100 ================================
102 The first return argument and the corresponding second return argument are:
104 "USSD" string ussd_response
105 "CallBarring" (string ss_op, string cb_service,
107 "CallForwarding" (string ss_op, string cf_service,
109 "CallWaiting" (string ss_op, dict cw_dict)
110 "CallingLinePresentation" (string ss_op, string status)
111 "ConnectedLinePresentation" (string ss_op, string status)
112 "CallingLineRestriction" (string ss_op, string clir_status)
113 "ConnectedLineRestriction" (string ss_op, string status)
115 ss_op contains the supplementary service operation:
123 cb_service contains the call barring service for which the operation was
127 "InternationalOutgoing"
128 "InternationalOutgoingExceptHome"
130 "IncomingWhenRoaming"
132 "AllOutgoingServices"
133 "AllIncomingServices"
135 cf_service contains the call forwarding service for which the operation was
145 cb_dict contains basic service/call barring service combinations that were
146 affected by SS operation and their current status ("enabled" or "disabled").
147 The basic services are:
158 To those the name of call barring service is appended, so the property and
159 value is for example:
161 "FaxIncomingWhenRoaming" : "disabled"
163 cf_dict contains call forwarding properties affected by the operation.
164 Propery names are formed from basic service name and call forwarding
165 service name, for example:
167 "VoiceNoReply" : "+12345678"
169 The property value is the phone number to which the call is forwarded.
171 For "NoReply" service, there is also a timeout property, holding the timeout
172 in seconds, for example:
174 "VoiceNoReplyTimeout" : 20
176 cw_dict contains basic services with "CallWaiting" suffix that were affected
177 by call waiting operation and their current status ("enabled" or "disabled"),
180 "VoiceCallWaiting" : "enabled"
182 status can be "disabled" or "enabled".
183 clir_status can be "disabled", "permanent", "on" or "off".
185 More information about supplementary services is provided in
186 call-barring-api.txt, call-forwarding-api.txt and call-settings-api.txt