cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
605
Views
0
Helpful
1
Replies

Soft Key for a prefix?

The documentation helped me dope out how to program a PSK to dial an extension and then how to place that PSK on the soft key (Dope being the proper adjective to describe me at this point)

 

This comes in very handy for, as an example parking .. where I don't want the user to dial "##700" when they can just press "park" -- but there are several cases where I'd like to program a PSK to just dial a prefix...   An example is Intercom on Asterisk:  The user doesn't want to  type  *80 and the extension when the could press a soft key (ICM) and then the extension.   (yes, using basic a math ... "*80" minus "icm" is TWO WHOLE EXTRA CHARACTERS)  but this is what I was asked to do.

 

The question is this:  in the function:

fnc=sd;ext=*80xxxx@proxy;nme=page

 

Is it possible to program it so that the "xxx" is taken from the keypad?   <icm>101 becomes *80101?

1 Reply 1

Dan Lukes
VIP Alumni
VIP Alumni

No, as far as I know.

But with Asterisk you can implement target *80 (so user can dial it using PSK) and such target can wait for user input, e,g, extension, then. See function WaitExten, ReadExten or just Read for more.