Exclamation Difficulties getting RAS status

Dear all,
I am developing an application that controlls different
network possibillities. This means it has to be able to turn cradle
communication, wlan and gprs on and off. One by one or all at the same
time. This all works fine, except for one major problem.
I need to detect if a RAS ppp connection has been lost, so I can
redial it in the background. I used the RAS function
"RasGetConnectState", but this keeps returning "Connected", even if
the handheld is wrapped in 5 cm of aluminium foil. Offcourse, this
isn't right. I hoped there would be a tapi event when the connection
is lost, but these events only fire when the connection is explicitly
made or broken. So no luck here also. I can't use any function that
checks if a network is still alive, because there are situations where
wlan, cradle and gprs could be alive at the same time. So these
functions can return true, even when gprs is turned off.
I heard something about the RIL, but haven't been able to develop it
or test it yet. I really hope anyone has some groundbreaking ideas,
cause I'm really running out.
Maybe some Einstein could help me out
here, thank you.

Kind Regards,

Peter