McDewey

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

Page 188

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

routeSelected[3]

5005 modifiedCallingNumber[0] = null modifiedCallingNumber[1] = 9721234567 modifiedCallingNumber[2] = 9721234568 modifiedCallingNumber[3] = null If routeSelected[0] or routeSelected[3] is selected for routing, the modifying calling number may not get applied. You can only use this feature after an administrator enables the modifying calling number check box in the Cisco Unified Communications Manager Administration for a particular user, which by default is False. If it is not configured, a RerouteEvent with the cause of RouteSession.CAUSE_PARAMETER_NOT_SUPPORTED gets sent to the applications. The application that is modifying the calling number needs to be aware that display name on the called party is affected, and subsequent feature interactions of the calling or called party may result in inconsistent behavior. The following new or changed interfaces exist for Modifying Calling Number: CiscoRouteSession selectRoute (java.lang.String[] routeSelected, intcallingSearchSpace, String[] modifiedCallingNumber) This interface allows applications to modify the calling party number to the routeSelected address. If no modifiedCallingNumber element exists for the corresponding routeSelected element, the calling number does not get modified if a call gets routed to that particular routeSelected element. void CiscoCall getModifiedCalledAddress () This interface returns a modified called address for the call if an application modifies the calling party by using the selectRoute API; however, this information may not be accurate if an application is only controlling the route point that modifies the calling number. If no modified calling number gets performed, this acts similar to the getCurrentCalledAddress interface. Typically, this gets varied from getCurrentCalledAddress when a feature gets invoked after modified calling number modifications. javax.telephony.Address getModifiedCallingAddress () This interface returns a modified calling address for the call if an application modifies the calling party by using the selectRoute API; however, this information may not be accurate if an application is only controlling the route point that modifies the calling number. If no modified calling number gets performed, this interface acts similar to the getCurrentCallingAddress interface. javax.telephony.Address CiscoRouteUsedEvent getRouteSelectedIndex() This method returns an array index of the route to where the call gets routed. int Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 124 Features Supported by Cisco Unified JTAPI Modifying Calling Number