How can I know the pickup status?

Hi,
how can I tell the pickup status?
it seems that HANGUPCAUSE and DIALSTATUS are not working

Thanks!
Amos

can tell me what exactly you want