hi, when the account first register it start using a contact with the current IP address (and port), later if rport is used it change the address acording to what recieved from the server. in the next registration (after timeout), in case of rport, i think that it would change the address again as the server respose should be diffrent again. nir On Sun, Nov 22, 2009 at 1:44 PM, Saul Ibarra Corretge <saul at ag-projects.com>wrote: > > On Nov 21, 2009, at 11:25 AM, oto nag wrote: > > > Hi, > > > > I am trying to build an mobile sip client (in python for now) and I have > same problems as written on the page you posted. If do call.reinvite() in > SDP there is still an od IP. > > > > For IP change detection I made an another thread in witch I monitor > actual IP address (many times per second) and if change is detected I can > execute a proper actions.. but question for me is, what should be proper > actions. And if these actions can be achieved with pjsua. > > > > You'll nedd to restart the transport and the accounts... and if you're > using pjsua I think you'll also need to restart the whole pjsua. > > As you said we can do it from outside, but it'd be better if pjsip itself > was able to recover from such a situation. :) > > > > -- > Saul Ibarra Corretge > AG Projects > > > > > > _______________________________________________ > 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 > -- ??? ?????? ??: 050-3930056 nir.elkayam at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091122/f73652d1/attachment.html>