Integrating Asterisk with Java application


I wana inegrate my asterisk with java application over TCP/udp, this application need a 14 digit dtmf characters for user authentication, this all needed during run time calls. can i do these authentication on asterisk,

i will b grateful if any body help me …thanks n regards,


Sure you can easily do this using FastAGI. Have a look at
The general idea is that you pass control to you Java application using

where you read the 14 digits and verify them. Then you can pass control back to Asterisk’s dialplan - probably different locations depending on whether authentication succeeded or not.

thank you for ur response…