Call status while orginate the call

[[color=red][size=150]b]i written the outbound program using the Manager API. .How can I get the status of the call whether its ANSWERED,FAILED,NO ANSWER,BUSY[/b][/size][/color]

thanks in advance from mahesh