Isn't PJSUA really the SIP application that sits on top of the PJ-SIP stack, so wouldn't it be a relevant feature for them to implement? They already handle STUN, ICE, etc so it seems like it's not that far away from handling this case. In my case I just need a new INVITE to go out with the correct new external IP address (i.e. re-STUN) and then those ports to be opened properly on the outside of my new NAT router. I can get this to work with mjSIP fairly easily, but since mjSIP doesn't do media handling I thought PJSIP would be a better all around solution. How did you handle this with your application? Thanks! > From: " R?gis Montoya " <r3gis.3r@xxxxxxxxx> > To: pjsip list <pjsip at lists.pjsip.org> > Subject: Re: Proper way to handle Ip address changes in > Android > Message-ID: <5033B83A.3070408 at gmail.com> > Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" > > Hi Shaun, > > From my experience on CSipSimple it's not something that is relevant of > the sip stack. > Besides, it's not simple to support on android and may depend on your > approach on that. Depending on whether you'd like to support VPN > connection /for example/ approach will be different. It will also be > different depending on what android version you'd like to support. > You can get inspired on what's done on Android stock SIP application... > BTW, you'll see it's also not responsibility of the sip stack but of the > sip application to decide whether to restart or not the sip stack in the > implementation from Google too... so I think that's not a bad idea ;). > > Best regards, > R?gis > > On 21/08/2012 18:24, Shaun Clark wrote: > > When the Android app goes between wifi and 3g the call does not > > automatically switch, I can call 'n' which re-does the NAT, but then > > looking at this page: http://trac.pjsip.org/repos/wiki/IPAddressChange > > none of these approaches seem to work. Since mobile phones often > > switch back and forth between wifi and 3g/mobile this seems like a > > great feature to build into pjsip. Is there a way to easily handle > > this now on Android? Thanks! > > > > Shaun > > > > > > _______________________________________________ > > 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/20120821/2384e4e8/attachment.html> > > ------------------------------ > > _______________________________________________ > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > End of pjsip Digest, Vol 60, Issue 77 > ************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120821/ea518354/attachment-0001.html>