Ivan,
Thanks for your reply. I think I should start writing my own module, because the AAA system itself is in C. In other words, all of our external programs are C programs. Thanks again for your patience and guidance.

Kind Regards
Ali Majdzadeh Kohbanani