summaryrefslogtreecommitdiffstats
path: root/doc/call-barring-api.txt
diff options
context:
space:
mode:
authorPekka Pessi <Pekka.Pessi@nokia.com>2010-03-18 16:44:30 +0200
committerDenis Kenzior <denkenz@gmail.com>2010-03-18 11:36:33 -0500
commitad68d50c0369d85c0d2ac709dfd07cd4b722ab31 (patch)
tree7297556c1fcb9884691d8cdf0d3cbb6f8467b990 /doc/call-barring-api.txt
parent3f6da155bd8479fb13f347db913caf6fd7a7b266 (diff)
downloadofono-ad68d50c0369d85c0d2ac709dfd07cd4b722ab31.tar.bz2
Added call-barring-api.txt.
Diffstat (limited to 'doc/call-barring-api.txt')
-rw-r--r--doc/call-barring-api.txt65
1 files changed, 65 insertions, 0 deletions
diff --git a/doc/call-barring-api.txt b/doc/call-barring-api.txt
new file mode 100644
index 00000000..6bee60c9
--- /dev/null
+++ b/doc/call-barring-api.txt
@@ -0,0 +1,65 @@
+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.
+
+ void ChangePassword(string old_password, string new_password)
+
+ Register new network password for the barring
+ services.
+
+ void DisableAll(string password)
+
+ Disables all call barrings.
+
+ void DisableAllIncoming(string password)
+
+ Disables barrings for incoming calls.
+
+ void DisableAllOutgoing(string password)
+
+ Disables barrings for outgoing calls.
+
+ void SetProperty(string property, variant value)
+
+ Sets the given property value to that specified in
+ call parameter.
+
+Signals PropertyChanged(string property, variant value)
+
+ Signal is emitted whenever a property has changed. The new
+ value is passed as the signal argument.
+
+ IncomingBarringInEffect()
+
+ Signal is emitted when a call is made and an
+ incoming call barring supplementary service is in use.
+
+ OutgoingBarringInEffect()
+
+ Signal is emitted when a call is made and an
+ outgoing call barring supplementary service is in use.
+
+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