Hi. Thank you for responding Benny. The problem was HTTPS connection (Qt's QNetworkRequest has some issues it seems -> switched to orodinary HTTP and it works now). Now I'm having a different problem with the connection (I'm already using pj_symbianos_set_connection_status() ). If I disconnect the network connection through menus (Nokia X6), the connmon immediately fires and reconnects. If I disable the AP (using a wifi router as access point) or walk far enough to loose the signal, the phone soon informs that wireless connection was lost, but connmon doesn't detect this. Only after 2 minutes had passed, the application unfreezes and connmon fires. This is probably not a pjsip problem, but I'm hoping someone will share a solution. Furthermore during the same call (B side - which still has its own wifi connection, but no more voice data is passed to it) the call never disconnects or timeouts (this is allways after A call looses connection). Best regards, Tine Benny Prijono wrote: > 2010/10/21 Tine Ur?i? <tine at cde.si>: > >> Hi. >> >> I'm having some trouble with reconnecting socket when connection is lost. >> I have read the documentation >> (http://trac.pjsip.org/repos/wiki/Symbian_AP_Reconnection). >> >> I did implement the "connmon" into my application. However as the >> documentation states, this does not completely resolve the problem. >> Namely if the connection is lost and user selects another access point (AP), >> the socket gets stuck (symbian bug?). >> >> > > Haven't we solved the stuck issue with > pj_symbianos_set_connection_status()? The wiki above has explained > this, and this trick is used in symbian_ua as well. > > Best regards, > Benny > > > > >> I want to reset everything and reconnect as if it's the first app start: >> >> connmon detects disconnection >> connmon calls pjsua_destroy() >> connmon calls applications "init" (which creates a new rconnection and so >> on) >> connmon is freed/closed >> >> Is this the right way of doing this? Is there a better os simpler solution? >> If using the symbian_ua sample app, how would one fix this problem? >> >> I'm using Qt. Would mobility help? >> >> _______________________________________________ >> 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 > -- Tine Ur?i? Razvojni in?enir CDE nove tehnologije d.o.o. Tehnolo?ki park 24 1000 Ljubljana, Slovenija GSM: +386 0 30 600 619 E-mail: tine at cde.si www.cde.si -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101108/5eac5f12/attachment.html>