How to add KV-List to interaction?

In T-Server for Cisco there is functionality “User-Data Display to IP Phones”.

A call with the following KV-data in user-data displays that data on all phones engaged in the phone call: KEY: IP_PHONE_DISPLAY TYPE: KV-List VALUE: KV-list with the following three fields: 1. KEY: TITLE TYPE: STRING VALUE: Any string, up to 24 characters. This is displayed at the top of the phone screen. 2. KEY: TEXT TYPE: STRING VALUE: Any string of fewer than 1024 characters. This is displayed in the center of the phone screen. 3. KEY: PROMPT TYPE: STRING VALUE: Any string, up to 28 characters. This is displayed at the bottom of the phone screen.
I want to play with it, but i totally don't understand how to add KV-List which consists of KV-Pairs in strategies. The only possibility of adding data, that I see in IRD's instruments is attach data, which is attach KV-Pairs not KV-List. Am I missing something? ???

Hi,

Attach/Update functions in IRD support KV-Lists but this functionality is a bit hidden. You must use following syntax: Attach[‘.’,‘’] e.g. Attach[‘IP_PHONE_DISPLAY.TITLE’,‘…’], Attach[‘IP_PHONE_DISPLAY.TEXT’,‘…’].

R.

1 Like

Thanks! It’s worked just fine.

This is an old thread but hopefully someone sees this.

I’ve tried using the above noted syntax but IRD is having problems validating this saying the comma to separate the Attach statements is bad. Any thoughts?

1 Like

Don’t use few functions in the same line (and if using don’t separate them with comma).

And better just use MultiAttach object.

Tried the multi attach option but the functionality didn’t work. Will try again and go through the TServer log.

Sent from my SM-N9005 using Tapatalk

1 Like