Integrating Asterisk with Java application

HI,

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,

@$iF

Sure you can easily do this using FastAGI. Have a look at asterisk-java.org/0.3-m2/tutorial.html
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…

@$iF.