Thanks for your reply.Now I need to get the channels which are in active by a method in asteriskjava which is equivalent to the command sip show channels in asterisk.I have tried request.getChannel().But it is not showing what i need.I have tried request.getChannels() method too.it shows the following error:
HelloAgi.java:38: cannot find symbol
symbol : method getChannels()
location: interface org.asteriskjava.fastagi.AgiRequest
String k=request.getChannels();
^
.
what is wrong?please help me to find out.