I am using the RASDIAL api to connect to the internet. I am using the rasgetconnstatus(or something like that) API to get the status of it, and that works. But how can i detect if the line is busy or no dial tone, since if any of that is true it just returns a disconnect status.

Can anyone help?

Thanks