Yealink Forums

Full Version: ESS: refer to prompted value in speed dialing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'm discovering Enhanced DSS Keys and it looks promising.

I would like to implement something like this:
- interact with user through a custom prompt asking for a value
- then dialout a prefix with whatever the user replied in previous custom prompt

Simply settings something $P5N4$ does allow me to dialout whatever was prevously entered but I can prepend user reply with a fixed prefix.

In other words, if user enters 1234, 1234 is dialed out.
What I would prefer, is that if user enters 1234, then *991234 would be dialed out.

Best regards
(08-19-2019 10:32 AM)oliv Wrote: [ -> ]Hello,

I'm discovering Enhanced DSS Keys and it looks promising.

I would like to implement something like this:
- interact with user through a custom prompt asking for a value
- then dialout a prefix with whatever the user replied in previous custom prompt

Simply settings something $P5N4$ does allow me to dialout whatever was prevously entered but I can prepend user reply with a fixed prefix.

In other words, if user enters 1234, 1234 is dialed out.
What I would prefer, is that if user enters 1234, then *991234 would be dialed out.

Best regards

Hi,

Have you ever considered using the Replace Rules in "Dial Plan"?
e.g. Prefix: (x.) - Replace: *99$1

Hope this will help.
(08-19-2019 12:41 PM)complex1 Wrote: [ -> ]Have you ever considered using the Replace Rules in "Dial Plan"?
e.g. Prefix: (x.) - Replace: *99$1
How can you link this $1 notation to the value entered by the user in previous prompt (see ed.dekprompt.X. settings) ?

Replying to myself, simply prepending a prefix seems to be enough for what I was after.

For instance, with:
features.enhanced_dss_keys.enable = 1
edk.edkprompt.1.enable = 1
edk.edkprompt.1.title = Favorite
edk.edkprompt.1.label = Enter Fav number
edk.edkprompt.1.type = numeric
edk.edkprompt.1.userfeedback = visible
linekey.4.type = 73
linekey.4.line = 0
linekey.4.value = *73$P1N11$$Tinvite$
linekey.4.label = EditFav

Then, pressing Linekey 4, would trigger a custom prompt titled "Favorite".
If user type 12345 in, then *7312345 is dialed.
That is exactly what I was after.

Thanks for helping.
Reference URL's