Thanks for the suggestion. To be honest i have same taught, but don't know where it is trying to initialize, the reason i am looking for getting disconnection notification is to stop reinitialization of PjSIP at that point. If have got some solutions / ideas , please suggest me. Mukesh Srivastav wrote: > i would better suggest one thing, instead of destroy, you better > check, if it is not initlize, revere engineering, that would help in > resolving this issue. > > > > Have a look @ my small web-page: > http://www.geocities.com/muki_champs > > Regards, > Mukesh Kumar, > Sr.Software Engineer, > Mobile Application Developer. > Hyderabad. > India. > +91-9397845485 (M) > > <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:46:42 PM > *Subject:* Re: [pjsip] Access Point problem in PjSIP Symbian S60 3ed > > Hi > > Yes i accept, and have seen in HTTP conn. also.But i am sure their > must be a way to suppress the access point list popping up during > disconnection. As you can see in many application (like fring), when > ever disconnection occurs it will try to connect with the access point > from the user defined auto roaming table. Even i too maintain same > scenario and have auto roaming table which has set of define access > point by user. So when ever disconnection occurs i am monitoring the > connection status and trying to connect with one of the access point > from my auto roaming table. As per my taught my access point list is > shown when ever disconnection occurs along with device access point list. > So i planned in different way, when ever i get disconnection status i > tried to destroy PjSIP and re-initialize. But when destroying PjSIP > sends an un-register message to server which needs active connection > to be exist else again a pop up to select access point will be shown. > > Any suggestions / comments pls ? > > Mukesh Srivastav 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 > <mailto:srivatsan at ongobiz.com>> > > *To:* pjsip list <pjsip at lists.pjsip.org <mailto: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> > <mailto:srivatsan at ongobiz.com <mailto:srivatsan at ongobiz.com>> > <mailto:srivatsan at ongobiz.com <mailto:srivatsan at ongobiz.com> > <mailto: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 <http://blog.pjsip.org/> > <http://blog.pjsip.org/> > > > > > > pjsip mailing list > > > pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org> > <mailto:pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org>> > <mailto:pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org> > <mailto: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 <http://blog.pjsip.org/> > <http://blog.pjsip.org/> > > > > > > pjsip mailing list > > > pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org> > <mailto:pjsip at lists.pjsip.org <mailto: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 <http://blog.pjsip.org/> > <http://blog.pjsip.org/> > > > > pjsip mailing list > > pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org> > <mailto: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 <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 > > > -- > Thanks And Regards, > Srivatsan.D, > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org <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,