On 3/18/08, robs4au at yahoo.com <robs4au at yahoo.com> wrote: > I am using pjsip with Windows Mobile 5 and everything > works fine unless the device powers down due to no > usage. When the device is reactivated my application > is still running but I am no longer able to make a > connection. > I can set the device to not power down but that drains > the battery, which is not a viable solution. > What can I do to reestablish the ability to connect? I think cince a lot of things can change when the device is woken up (for example, it might be connected to a different Wi-Fi access point), the only reliable way to re-establish connection is to restart the stack or application. So once your application has detected that the application has been resumed from suspended state, call pjsua_destroy(), clear up the GUI, and re-initialize all over again (something like that). But I'm not an expert on this, so maybe others can shed light. cheers, -benny > Thanks > Robert > > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >