Smartswitch
Rule.ice
Go to the documentation of this file.
1 #pragma once
2 
3 [["python:pkgdir:Smartswitch/Telephony/Forwarding"]]
4 
5 #include <Config.ice>
6 
7 #ifdef CONFIG_FORWARDING
8 
9 #include <Destroyable.ice>
13 
14 module Smartswitch
15 {
16  module Telephony
17  {
18  module Forwarding
19  {
23  interface Rule extends Destroyable
24  {
33  idempotent string getCallerIdPattern();
34 
43  idempotent void setCallerIdPattern(string pattern);
44 
53  idempotent string getCalleeIdPattern();
54 
63  idempotent void setCalleeIdPattern(string pattern);
64 
72  Timetable* getTimetable();
73 
81  NumberSequence getNumbers();
82 
90  Number* addNumber(string number) throws EmptyArgumentException;
91 
95  void remove();
96  };
97  sequence<Rule*> RuleSequence;
98  };
99  };
100 };
101 
102 #endif
This interface allows to destroy a proxy entity at the Smartswitch side.
Definition: Destroyable.ice:12
sequence< Number > NumberSequence
Definition: Number.ice:108
This interface allows to manipulate the forwarding numbers which are bound to the Rule.
Definition: Number.ice:21
This interface allows to manipulate the forwarding rules for a given User or UserGroup.
Definition: Rule.ice:23
Definition: AccessException.ice:7
The exception is thrown when you specify empty argument while Smartswitch expects it to be non-empty.
Definition: EmptyArgumentException.ice:14
This interface enables to set the range of time during which the ForwardingRule should be active duri...
Definition: Timetable.ice:54
sequence< Rule > RuleSequence
Definition: Rule.ice:97