/mcp<?xml version="1.0" encoding="UTF-8"?> <GreetingStreamFile> <StreamFile>temporary file name</StreamFile> </GreetingStreamFile> Cisco Unity Connection Provisioning Interface (CUPI) API -- Updating Caller Input Keys Introduction This document describes how to change the caller input key on a call handler to take different actions. This content is applicable to Cisco Unity Connection release 7.1(3) and later. These examples have not been verified with versions prior to 7.1(3). In order to change a caller input key for a call handler, you need to know the object ID of the call handler. In order to change a caller input key for a user, you need the object ID of that user's call handler. Every user who has caller input keys has a call handler, and if you are looking at the user data returned from a GET request like the following, the object ID is the element CallHandlerObjectId. GET https://<server>/vmrest/users/<userobjectid> When you have obtained the object ID of the call handler you want to change, you can do any of the following actions. Examples Ignore The default setting of most keys is "Ignore." To set a key to ignore, do the following PUT request: PUT https://<server>/vmrest/handlers/callhandlers/<callhandlerobjectid>/menuentries/<key> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <MenuEntry> <Action>0</Action> </MenuEntry> The Action field is a custom type used to determine at a basic level what the caller input key is going to do. The 0 value denotes that this key should be ignored. Hang Up To set a key to hang up, do the following PUT request: PUT https://<server>/vmrest/handlers/callhandlers/<callhandlerobjectid>/menuentries/<key> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <MenuEntry> <Action>1</Action> </MenuEntry> The Action field of 1 denotes that this key should terminate the call. Cisco Unity Connection Provisioning Interface (CUPI) API 515 Cisco Unity Connection Provisioning Interface (CUPI) API -- Call Handler Settings Cisco Unity Connection Provisioning Interface (CUPI) API -- Updating Caller Input Keys