Smartswitch
|
Interface to modify caller ID replacement for a User. More...
defined in <UserCallerId.ice>
interface UserCallerId extends Smartswitch::Destroyable { ... }
Operations | |
idempotent string | getCalleeIdPattern () throws AccessException |
Obtain the callee ID pattern (i.e. More... | |
idempotent string | getCallerName () throws AccessException |
Obtain the caller name which will be passed in the egress calls to the upstream provider for the ingress calls from the User. More... | |
idempotent string | getCallerNumber () throws AccessException |
Obtain the caller number which will be passed in the egress calls to the upstream provider for the ingress calls from the User. More... | |
idempotent long | getPriority () throws AccessException |
Obtain the priority of this replacement rule. More... | |
idempotent string | getRealCalleeIdPattern () throws AccessException |
Obtain the real callee ID pattern (i.e. More... | |
void | remove () throws AccessException |
Remove this caller ID replacement rule. More... | |
idempotent void | setCalleeIdPattern (string calleeIdPattern) throws AccessException, DuplicateException |
Set the callee ID pattern (i.e. More... | |
idempotent void | setCallerName (string callerName) throws AccessException |
Set the caller name which will be passed in the egress calls to the upstream provider for the ingress calls from the User. More... | |
idempotent void | setCallerNumber (string callerNumber) throws AccessException, DuplicateException |
Set the caller number which will be passed in the egress calls to the upstream provider for the ingress calls from the User. More... | |
idempotent void | setPriority (long priority) throws AccessException |
Set the priority of this replacement rule. More... | |
idempotent void | setRealCalleeIdPattern (string realCalleeIdPattern) throws AccessException, DuplicateException |
Set the real callee ID pattern (i.e. More... | |
Operations inherited from Smartswitch::Destroyable | |
void | destroy () |
Destroy the proxy entity at the Smartswitch side. More... | |
Interface to modify caller ID replacement for a User.
These settings are used by the Smartswitch to replace a caller number and caller name for the calls from the User.
This is needed to bind a specific A-number and A-name to the user, so that he won't be able to call using other user's caller information.
The latter is considered a crime in many countries and thus it's needed to use this function in a safe User configuration.
idempotent string getCalleeIdPattern | ( | ) | throws AccessException |
Obtain the callee ID pattern
(i.e.
a dialed number without a prefix) which should be matched for this caller ID substitution to activate.
This gives user the possibility to choose a caller ID to use based on the county code of dialed number.
It pattern is empty - it matches any callee ID.
real callee ID pattern
. idempotent string getCallerName | ( | ) | throws AccessException |
idempotent string getCallerNumber | ( | ) | throws AccessException |
idempotent long getPriority | ( | ) | throws AccessException |
Obtain the priority
of this replacement rule.
This gives user the possibility to set the order of evaluation of the replacement rules.
The rules are evaluated consequently with ascending order of the priority.
If some rules have same priority and all othem match - a caller ID is picked up randomly among them.
priority
of the caller ID replacement rule. idempotent string getRealCalleeIdPattern | ( | ) | throws AccessException |
Obtain the real callee ID pattern
(i.e.
a dialed number with a prefix) which should be matched for this caller ID substitution to activate.
This gives user the possibility to choose a caller ID to use based on the prefix of dialed number.
It pattern is empty - it matches any callee ID.
real callee ID pattern
. void remove | ( | ) | throws AccessException |
Remove this caller ID replacement rule.
idempotent void setCalleeIdPattern | ( | string | calleeIdPattern | ) | throws AccessException, DuplicateException |
Set the callee ID pattern
(i.e.
a dialed number without a prefix) which should be matched for this caller ID substitution to activate.
calleeIDPattern | The callee ID pattern . |
idempotent void setCallerName | ( | string | callerName | ) | throws AccessException |
idempotent void setCallerNumber | ( | string | callerNumber | ) | throws AccessException, DuplicateException |
idempotent void setPriority | ( | long | priority | ) | throws AccessException |
Set the priority
of this replacement rule.
priority | The priority of the caller ID replacement rule. |
idempotent void setRealCalleeIdPattern | ( | string | realCalleeIdPattern | ) | throws AccessException, DuplicateException |
Set the real callee ID pattern
(i.e.
a dialed number with a prefix) which should be matched for this caller ID substitution to activate.
realCalleeIdPattern | The real callee ID pattern . |