Coco Richard wrote:
> Hi,
>
> i need to save into a local variable the user's input dialed during
> the cmd Authenticate(). Is there a way to do it?
>
>    

core show application authenticate
hylafax*CLI>
   -= Info about application 'Authenticate' =-

[Synopsis]
Authenticate a user


   Options:
      a - Set the channels' account code to the password that is entered

----------

You probably could use option a.

But, I'd suggest that instead of using authenticate, you code something 
using the read option.

I use read to authenticate conference administration.

[check-password]

exten => s,1,Read(get-admin-password|enter-password|||3|)
exten => s,n,Gotoif($["${LEN(${get-admin-password})}" < "1"]?9:3)
exten => s,n, some dialplan magic here.

Doug


-- 

Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety."


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to