I am a bit of a lurker here but I did look at the trace you have sent prior. This is what I see wrong in the signalling. PJSIP send these as the contacts 08-14 14:27:43.561: I/apjsua(22927): Contact: <sip:990XXXX at 50.43.XXX.XXX:55340;transport=UDP;ob> <--- This is sent because pjsip detects that it is behind a NAT and would like to use the public IP 08-14 14:27:43.561: I/apjsua(22927): Contact: <sip:990XXXX at 10.3.10.126:5060;ob>;expires=0 <--- This unregisters the old contact. However the registrar responds with: 08-14 14:27:44.374: I/apjsua(22927): Contact: <sip:990XXXX at 10.3.10.126:5060;transport=UDP;ob>;expires=120 Which is wrong. This is the point when pjsip seems to just quit. I am not sure what is the actual issue but I am simply pointing out that the response from the registrar (which is wrong IMHO) is somehow related to your issue. On 08/17/2012 06:12 AM, Shaun Clark wrote: > I was able to determine my problem, I had dual contacts in the contact > header because I was simultaneously running the desktop version of > pjsua at the same time, whoops! So anyone with this issue this is how > I think I fixed it. > > On Wed, Aug 15, 2012 at 10:57 AM, Shaun Clark <shaun_clark at hotmail.com > <mailto:shaun_clark at hotmail.com>> wrote: > > Just working with a theory here, but this may have to do with a > lack of the file os_core_android because this is where we call > pj_thread_create from app_main() in pjsua_app.c. So perhaps we > aren't able to create a thread due to the lack of the > implementation for android being included? Thanks! > > > On Tue, Aug 14, 2012 at 2:38 PM, Shaun Clark > <shaun_clark at hotmail.com <mailto:shaun_clark at hotmail.com>> wrote: > > I was able to successfully start the android demo code, but > after it starts up and registers it immediately shuts down. > The log file is attached. I was thinking it has to do with the > 401 Unauthorized, but the command line version takes the same > login info and rolls with it, the Android code looks like it's > trying to as well as it properly sends the second registration > message and gets back a 200 OK. Any help would be much > appreciated, 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/20120818/329c55d6/attachment-0001.html>