ofono/doc/call-barring-api.txt

88 lines
2.5 KiB
Plaintext
Raw Normal View History

2010-03-18 14:44:30 +00:00
Call Barring hierarchy
======================
Service org.ofono
Interface org.ofono.CallBarring
Object path [variable prefix]/{modem0,modem1,...}
Methods dict GetProperties()
Contains the properties for this object.
2011-02-11 11:34:31 +00:00
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
2010-03-18 14:44:30 +00:00
void ChangePassword(string old_password, string new_password)
Register new network password for the barring
services.
2011-02-11 11:34:31 +00:00
Possible Errors: [service].Error.InProgress
[service].Error.InvalidFormat
[service].Error.Failed
2010-03-18 14:44:30 +00:00
void DisableAll(string password)
Disables all call barrings.
2011-02-11 11:34:31 +00:00
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
2010-03-18 14:44:30 +00:00
void DisableAllIncoming(string password)
Disables barrings for incoming calls.
2011-02-11 11:34:31 +00:00
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
2010-03-18 14:44:30 +00:00
void DisableAllOutgoing(string password)
Disables barrings for outgoing calls.
2011-02-11 11:34:31 +00:00
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
2010-08-24 00:12:17 +00:00
void SetProperty(string property, variant value, string pin2)
2010-03-18 14:44:30 +00:00
Sets the given property value to that specified in
2010-08-24 00:12:17 +00:00
call parameter. For all properties, the password
(typically PIN2) must be provided.
2010-03-18 14:44:30 +00:00
2011-02-11 11:34:31 +00:00
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
2010-03-18 14:44:30 +00:00
Signals PropertyChanged(string property, variant value)
2010-03-18 16:35:06 +00:00
Signal is emitted whenever a property has changed.
The new value is passed as the signal argument.
2010-03-18 14:44:30 +00:00
Properties string VoiceIncoming [readwrite]
Contains the value of the barrings for the incoming
voice calls. The possible values are:
- "always" bar all incoming voice calls
- "whenroaming" bar incoming voice calls when roaming,
- "disabled" if no barring is active
string VoiceOutgoing [readwrite]
Contains the value of the barrings for the outgoing
voice calls. The possible values are:
- "all" bar all outgoing calls
- "international" bar all outgoing international calls
- "internationalnothome" bar all outgoing
international calls except to home country
- "disabled" if no barring is active