McDewey

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

Page 541

↗ View in doc context
page
541
source
unity-connection/rest-api/cupi/cupi.md
chunk_id
unity-connection::rest-api::cupi::cupi::507

Cisco Unity Connection Provisioning Interface (CUPI) API -- Caller Input Keys About Caller Input Keys (Note that this content is applicable to Cisco Unity Connection 7.1(3) and later) In order to use the CUPI API to update caller input keys, you need to determine the object ID of the call handler whose caller input key you want to change. To make an update to caller input keys for a user, you need to determine the object ID of the user's call handler. Every user who has caller input keys has a call handler. When looking at the user data returned from the following GET, the object ID is under the element <CallHandlerObjectId>: GET https://<server>/vmrest/users/<userobjectid> When you have determined the object ID of the call handler that you want to change, you can do any of the following operations. 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. Restart Greeting To set a key to restart the greeting, do the following PUT request: Cisco Unity Connection Provisioning Interface (CUPI) API 509 Cisco Unity Connection Provisioning Interface (CUPI) API -- Call Handler Settings Cisco Unity Connection Provisioning Interface (CUPI) API -- Caller Input Keys