Smartswitch
Operations | List of all members
Smartswitch::Telephony::Forwarding::Rule Interface Reference

This interface allows to manipulate the forwarding rules for a given User or UserGroup. More...

defined in <Rule.ice>

interface Rule extends Smartswitch::Destroyable { ... }

Inheritance diagram for Smartswitch::Telephony::Forwarding::Rule:
Inheritance graph
[legend]
Collaboration diagram for Smartswitch::Telephony::Forwarding::Rule:
Collaboration graph
[legend]

Operations

NumberaddNumber (string number) throws EmptyArgumentException
 Add a new Number for this rule. More...
 
idempotent string getCalleeIdPattern ()
 Obtain the callee ID pattern for this rule. More...
 
idempotent string getCallerIdPattern ()
 Obtain the caller ID pattern for this rule. More...
 
NumberSequence getNumbers ()
 Obtain the Number proxies for this rule. More...
 
TimetablegetTimetable ()
 Obtain the Timetable proxy for this rule. More...
 
void remove ()
 Remove a given Rule. More...
 
idempotent void setCalleeIdPattern (string pattern)
 Set the callee ID pattern for this rule. More...
 
idempotent void setCallerIdPattern (string pattern)
 Set the caller ID pattern for this rule. More...
 
- Operations inherited from Smartswitch::Destroyable
void destroy ()
 Destroy the proxy entity at the Smartswitch side. More...
 

Detailed Description

This interface allows to manipulate the forwarding rules for a given User or UserGroup.

Operation Documentation

◆ addNumber()

Number* addNumber ( string  number) throws EmptyArgumentException

Add a new Number for this rule.

When a Rule is matched, Smartswitch dials the Numbers.

Returns
A proxy to a newly added Number which could be further configured.

◆ getCalleeIdPattern()

idempotent string getCalleeIdPattern ( )

Obtain the callee ID pattern for this rule.

A Rule is matched when all its patterns are matched.
An empty pattern is considered a wildcard pattern.

Returns
The callee ID pattern.

◆ getCallerIdPattern()

idempotent string getCallerIdPattern ( )

Obtain the caller ID pattern for this rule.

A Rule is matched when all its patterns are matched.
An empty pattern is considered a wildcard pattern.

Returns
The caller ID pattern.

◆ getNumbers()

NumberSequence getNumbers ( )

Obtain the Number proxies for this rule.

When a Rule is matched, Smartswitch dials the numbers.

Returns
The list of Number.

◆ getTimetable()

Timetable* getTimetable ( )

Obtain the Timetable proxy for this rule.

A Rule is matched when its Timetable is matched.

Returns
The Timetable proxy.

◆ remove()

void remove ( )

Remove a given Rule.

◆ setCalleeIdPattern()

idempotent void setCalleeIdPattern ( string  pattern)

Set the callee ID pattern for this rule.

A Rule is matched when all its patterns are matched.
An empty pattern is considered a wildcard pattern.

Parameters
patternThe caller ID pattern.

◆ setCallerIdPattern()

idempotent void setCallerIdPattern ( string  pattern)

Set the caller ID pattern for this rule.

A Rule is matched when all its patterns are matched.
An empty pattern is considered a wildcard pattern.

Parameters
patternThe caller ID pattern.

The documentation for this interface was generated from the following file: