Description
Method
Interface
Selects one or more possible routing destinations. It
takes as arguments a string array of:
• destination telephone address names, in prioritized
order
• PreferredOriginalCalled numbers
• FACs
• CMCs
The system selects the PreferedOriginalCalled number
corresponding to the index of the destination telephone
name array. If the index is not found in the
PreferedOriginalCalled number array, the
preferedOriginalCalled gets set to the destination.
The highest priority destination is the first element in
the specified array, and the system attempts to route the
call to that destination first. The system attempts the
specified destination addresses in order, until the call
gets routed successfully. The system delivers a
RouteUsedEvent event to the application when the
system has selected a successful routing destination and
routed the call to that destination.
Pre-conditions
• this.getRouteAddress().getProvider().getState() =
• Provider.IN_SERVICE this.getState() = =
RouteSession.ROUTE
• RouteSession.RE_ROUTE
Post-conditions
• this.getRouteAddress().getProvider().getState() =
• Provider.IN_SERVICE this.getState() = =
• RouteSession.ROUTE_USED (if the call was
successfully routed). A RouteUsedEvent gets
delivered for this RouteSession if a successful
destination was selected.
Parameters
• routeSelected—List of possible destinations.
• preferedOriginalCalledNumber—List with each
member of corresponding to the route at the same
array index in the routeSelected.
• list.preferedOriginalCalledOption—List of options,
Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs
534
Cisco Unified JTAPI Extensions
Methods
