|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CallHandling
The CallHandling class provides a rules based processing capability that is accessible to Applications through a set of operations that allow definition of discrete rules.
Method Summary | |
---|---|
void |
clearRules(java.net.URI[] addresses)
Clear the call handling rules associated with the addresses specified. |
CallHandlingRules |
getRules(java.net.URI address)
Get the call handling rules for an address (the destination for the call). |
void |
setRules(java.net.URI address,
CallHandlingRules rules)
Set the call handling rules for an address (the destination for the call). |
SetRulesResult[] |
setRulesForGroup(java.net.URI[] addresses,
CallHandlingRules rules)
Set the call handling rules for multiple addresses (the destination for calls). |
Method Detail |
---|
void setRules(java.net.URI address, CallHandlingRules rules) throws java.rmi.RemoteException, PolicyException, ServiceException
Set the call handling rules for an address (the destination for the call). If a set of rules is already in place for the address, then this operation will replace the old rules with the set provided in this operation.
The address may not specify a group. If a group is specified, a PolicyException will be returned.
ServiceException from ES 202 391-1 [2]:
* SVC0001: Service error.
* SVC0002: Invalid input value.
PolicyException from ES 202 391-1 [2]:
* POL0001: Policy error.
* POL0006: Groups not allowed.
address
- xsd:anyURI
Address to handle calls forrules
- CallHandlingRules
Rules to apply for this address
java.rmi.RemoteException
PolicyException
ServiceException
SetRulesResult[] setRulesForGroup(java.net.URI[] addresses, CallHandlingRules rules) throws java.rmi.RemoteException, PolicyException, ServiceException
Set the call handling rules for multiple addresses (the destination for calls). If a set of rules is already in place for any of the addresses, then this operation will replace the old rules with the set provided in this operation.
The addresses may include groups, with members using the 'tel:' and 'sip:' URIs in the manner defined in ES 202 3911 [2]. Wildcards may not be used to specify addresses.
ServiceException from ES 202 391-1 [2]:
* SVC0001: Service error.
* SVC0002: Invalid input value.
* SVC0004: No valid addresses.
* SVC0006: Invalid group.
PolicyException from ES 202 391-1 [2]:
* POL0001: Policy error.
* POL0006: Groups not allowed.
* POL0007: Nested groups not allowed.
addresses
- xsd:anyURI [1..unbounded]
Addresses to handle calls forrules
- CallHandlingRules
Rules to apply for these addresses
java.rmi.RemoteException
PolicyException
ServiceException
CallHandlingRules getRules(java.net.URI address) throws java.rmi.RemoteException, PolicyException, ServiceException
Get the call handling rules for an address (the destination for the call).
The address may not specify a group. If a group is specified, a PolicyException will be returned.
ServiceException from ES 202 391-1 [2]:
* SVC0001: Service error.
* SVC0002: Invalid input value.
PolicyException from ES 202 391-1 [2]:
* POL0001: Policy error.
* POL0006: Groups not allowed.
address
- xsd:anyURI
Address to handle calls for
java.rmi.RemoteException
PolicyException
ServiceException
void clearRules(java.net.URI[] addresses) throws java.rmi.RemoteException, PolicyException, ServiceException
Clear the call handling rules associated with the addresses specified. If no rules have been set for an address, this operation silently ignores the request, and does not return an error or fault message. The addresses may include groups, with members using the 'tel:' and 'sip:' URIs in the manner defined in
ES 202 391-1 [2]. Wildcards may not be used to specify addresses.
ServiceException from ES 202 391-1 [2]:
* SVC0001: Service error.
* SVC0002: Invalid input value.
* SVC0006: Invalid group.
PolicyException from ES 202 391-1 [2]:
* POL0001: Policy error.
* POL0006: Groups not allowed.
* POL0007: Nested groups not allowed.
addresses
- xsd:anyURI [1..unbounded]
Addresses to clear call handling for
java.rmi.RemoteException
PolicyException
ServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |