[asterisk-users] different authentication requirement

Eckhard Jokisch e.jokisch at orange-moon.de
Tue Mar 16 08:29:10 CDT 2010


Hi,
I am using the athorisation like this:
_0. => { Authenticate(<file>,a,4); Dial(misdn/g:extern/${EXTEN:1});}

which works fine. So outgoing calls have to be prefixed by "0" and then asterisk 
asks for the code.

But:
The users complain that they have to enter the full number *before* they are 
asked to authenticate. Here is what they want:
Pick up the phone (POST...)
get a tone
dial *8xxx           //xxx is the personal pin number
get a free line including a tone if pin was correct
dial the real number they want to call


How do I achieve this? 

Best regards

Eckhard



More information about the asterisk-users mailing list