has anybody tried to detect WLAN coverage and then reconfigure the SIP access point of the sip profile with a predefined wlan access point

I suspect that it would require to drop the pdp context programatically.

then we face two issues:

--> how to change the profile via an API.(well we can have two predefined profiles)
--> how de we drop the pdp context from the application (same procesing when a phone is put in off-line mode) and re-enable it so that the sip stack can use a new access point (is that enough?)

by the way is there any programmatic reset for the SIP stack so that we can restart in aclear situation.

Any idea on the subject?