Yealink Forums
ESS: refer to prompted value in speed dialing - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Configuration (/forumdisplay.php?fid=24)
+--- Thread: ESS: refer to prompted value in speed dialing (/showthread.php?tid=43100)



ESS: refer to prompted value in speed dialing - oliv - 08-19-2019 10:32 AM

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


RE: ESS: refer to prompted value in speed dialing - complex1 - 08-19-2019 12:41 PM

(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.


RE: ESS: refer to prompted value in speed dialing - oliv - 08-19-2019 01:01 PM

(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.