Interface java.telephony.callcenter.RouteAddress
All Packages Class Hierarchy This Package Previous Next Index
Interface java.telephony.callcenter.RouteAddress
- public interface RouteAddress
- extends Object
The RouteAddress interface augments the core Address class to add
methods to allow applications to register to route calls for a
specific Address. Such Addresses are typically logical PBX extension,
so it is being modeled by an extended Address.
An application can register to route calls for all extensions, this
is supported by invoking registration methods on a RouteAddress created
with a special valid Address, ALL_ROUTE_ADDRESS.
-
ALL_ROUTE_ADDRESS
- When an application registers to route calls for a RouteAddress
created with this special Address, the application is implying
that it wants to route calls for all Addresses in the Provider's
domain.
-
cancelRouteCallback(RouteCallback)
- An application uses this method to cancel a previous
registration to route calls for this Address.
-
getActiveRouteSessions()
- An application uses this method to get all RouteSessions
active for this RouteAddress.
-
getRouteCallback()
- An application uses this method to get all registrations
to route calls for this Address.
-
registerRouteCallback(RouteCallback)
- An application uses this method to register to route calls
for this Address.
ALL_ROUTE_ADDRESS
public final static String ALL_ROUTE_ADDRESS
- When an application registers to route calls for a RouteAddress
created with this special Address, the application is implying
that it wants to route calls for all Addresses in the Provider's
domain.
registerRouteCallback
public abstract void registerRouteCallback(RouteCallback routeCallback) throws PlatformException
- An application uses this method to register to route calls
for this Address.
The RouteCallback, passed in as a parameter, is called back
when the provider wants the application to route a call.
A Provider may support multiple registrations. Once the limit
on number of registrations is reached an exception will be
thrown.
cancelRouteCallback
public abstract void cancelRouteCallback(RouteCallback routeCallback) throws PlatformException
- An application uses this method to cancel a previous
registration to route calls for this Address.
getRouteCallback
public abstract RouteCallback[] getRouteCallback() throws PlatformException
- An application uses this method to get all registrations
to route calls for this Address.
getActiveRouteSessions
public abstract RouteSession[] getActiveRouteSessions() throws PlatformException
- An application uses this method to get all RouteSessions
active for this RouteAddress.
All Packages Class Hierarchy This Package Previous Next Index