I am trying to use Authenticate() in the dialplan for something other than "my password". The message says "Please enter YOUR password followed by the pound key". I'm not using this for my password. Is there any way to change the message to "please enter the password followed by the pound key"? or is there another version of Authenticate() that I'm not aware of or another way to prompt for a password? Thanks, Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160210/0d6e2fa4/attachment.html>
On 10/02/16 14:20, Jerry Geis wrote:> I am trying to use Authenticate() in the dialplan > for something other than "my password". > The message says "Please enter YOUR password followed by the pound key". > > I'm not using this for my password. > Is there any way to change the message to "please enter the password > followed by the pound key"? > > or is there another version of Authenticate() that I'm not aware of or > another way to prompt for a password?READ() ? Steve
>>> On Feb 10, 2016, at 9:20 AM, Jerry Geis geisj at pagestation.com wrote:>>> or is there another version of Authenticate() that I'm not aware of or another way to prompt for a password?As Steve said, use read. This is a snippet from my dial plan exten => s,1,Read(get-admin-password,enter-password,,,3,) exten => s,n,Gotoif($["${LEN(${get-admin-password})}" < "1"]?5:3) Doug