I use asterisk-java to initiate a call from my java code.
In my java code I need to check the dialstatus in order to
do different actions depending on if the user answered, hung up or did not answer.
Basically check the DIALSTATUS.
I've struggled with this for a while and now I hope that anyone "out there"
could give me a hint :)