McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 601

↗ View in doc context
page
601
source
cucm/v15/jtapi-dev-guide/jtapi-dev-guide.md
chunk_id
cucm::v15::jtapi-dev-guide::jtapi-dev-guide::602

Description Method Interface Selects one or more possible routing destinations. It takes a string array of: • Destination telephone address names, in prioritized order • PreferredOriginalCalled numbers • FACs • CMCs • Integer priorities The PreferedOriginalCalled number gets selected based on the index of the destination telephone name array. If the index tis not found in the PreferedOriginalCalled number array, preferedOriginalCalled gets set to the destination. The highest-priority destination is the first element in the given array, and the system attempts to route with this destination first. The system tries the successive specified destination addresses until the call gets routed successfully. The system delivers a RouteUsedEvent event to the application when a successful routing destination has been selected and the call has been routed 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.) Parameters routeSelected—Possible destinations for the call. preferedOriginalCalledNumber—List with each element corresponding to the route at the same array index in the routeSelected list. preferedOriginalCalledOption—Options list, each corresponding to RouteList. The option specifies whether Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 537 Cisco Unified JTAPI Extensions Methods

Page 601 diagram