Hello, to avoid popup window for asking access point, the RSocket/RConnection must be set to use a default AP, if you are out of Wlan or still in Wlan. Still another problem is when the RSocket can't be created/opened by using the defined AP, a Popup window will still be displayed for selecting another AP. What you can do is, check the result of RConnection::Start(), if there is error, than stopping RSocket usage. it will avoid the popup selection. Regards, Pai On Mon, Feb 9, 2009 at 1:54 PM, Mukesh Srivastav <muki_champs at yahoo.com>wrote: > Hi, > you try implmenting a simple http connection exmaple in "Symbian", you > will see the same message, it is not the PJSIP IS smart enough, it is > symbian. > > > Have a look @ my small web-page: > http://www.geocities.com/muki_champs > > Regards, > Mukesh Kumar, > Sr.Software Engineer, > Mobile Application Developer. > Hyderabad. > India. > > <http://www.geocities.com/muki_champs> > > > ------------------------------ > *From:* Srivatsan Deenadayalan <srivatsan at ongobiz.com> > *To:* pjsip list <pjsip at lists.pjsip.org> > *Sent:* Monday, February 9, 2009 6:21:58 PM > *Subject:* Re: [pjsip] Access Point problem in PjSIP Symbian S60 3ed > > Hi Pai, > > I think some mistakes / misunderstood occur with my question. Let me > explain again. > > Initially when invoking PjSIP, device will pop up for selection of access > point, which is because of aConn.Start(). If we have given connection > preference then we ll not get any popup's. > > if ((err = aSocketServer.Connect()) != KErrNone) > return PJ_STATUS_FROM_OS(err); > > // Open up a connection > if ((err = aConn.Open(aSocketServer)) != KErrNone) > { > aSocketServer.Close(); > return PJ_STATUS_FROM_OS(err); > } > > if ((err = aConn.Start()) != KErrNone) > { > aSocketServer.Close(); > return PJ_STATUS_FROM_OS(err); > } > > I am clear with it and my problem is not with this. > > At the app. launch i chooses a WLan access point from the list shown by > device, now if i move out of range from the WLan (say 500 meters), then WLan > connection will be disconnected.Immediately a access point list is shown by > PjSIP to make connection. > > My question here is... How PjSIP know / Monitors that a connection has been > disconnected ? Is their any call back methods from sockets implemented to > get the status ? Can any one pls give me the methods / area where this > occurs ? Then how it re-initialize after connecting to a new access point ? > > I think this time my question might be clear. > > > Pai Peng wrote: > > hello, > > > > > > it depends on Symbian C++. based for Symbian 3rd. > > > > Check forum nokia for auto connection with socket, there is already > example/code for your purpose. > > > > > > Regards > > > > Pai > > > > On Sat, Feb 7, 2009 at 10:27 AM, Srivatsan Deenadayalan < > srivatsan at ongobiz.com <mailto:srivatsan at ongobiz.com>> wrote: > > > > Hi All, > > > > I have implemented PjSIP successfully in my application, and works > > great. Thanks for PjSIP team :-) . I have a small problem in > > connecting with access points (WLan / GPRS / 3G). > > When i move out of range from a WLan access point which is used > > by PjSIP, a pop up showing access point list is shown by the > > device. But i don't want this access point to be shown, instead i > > have my own methods to show and select the access points. > > > > I have tried to destroy PjSIP when ever any interruptions occurs > > with connections and show my list of access points then > > reinitialize PjSIP. Before calling my methods , device access > > point pop up list comes in to picture. > > > > So my question is how to suppress the access point pop up which > > comes when ever any connection interruption occurs ? Is their any > > way to shut down and re-initialize PjSIP during disconnection of > > internet connection? > > > > Please some one help me ..... :-( > > > > -- Thanks And Regards, > > Srivatsan.D, > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org> > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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 > > > > > -- Thanks And Regards, > Srivatsan.D, > > > > > _______________________________________________ > 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 > > > _______________________________________________ > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090209/af67655b/attachment.html>