Can it be done?

I have an issue I need to solve and I am wondering if it can be done with Asterisk and some other products, or maybe get some recomendations for other possible solutions. The secnario is… RADIUS server recives an authentication request which triggers Asterisk to make an outbound call to a specific number based on the RADIUS username, user answers call and dials a PIN or other key like # to authenticate, Asterisk verifys PIN or keypress is correct and responds back with an Access Accept to RADIUS. If someone could nudge me in the right direction to make this happen I would really appreciate it.

I think this can be done, I would do this using an AGI php script (with the help of the nice phpagi class) to handle the radius connection and the dialplan to call the destination number and read the user response.


Marco Bruni