Recovering the events of ASTERISK in JAVA


I develop an application in java for the management of the calls, My problem, how to recover the events of asterisk in my code java.
help me.

Have you looked at the Asterisk Java class libraries available on sourceforge ? Lots of event handlers available.

Search sourceforge for asterisk-java (I think).


Indeed I already looked at the libraries of java, but I do not manage to find a solution with my problem, for example: if a telephone call another number or it receives a call, how to recover these events in the program java.