Hi. I'm having some real strange issues with pjsip and the iOS 4.2 GM. I haven't been able to test it with other devices running 4.2 yet, so I'm not sure if this is only a problem on my iPhone 4 or a generic problem with pjsip and iOS 4.2. The issue is not a crash or anything, only that it takes forever to register the SIP account. This is my app logg running on iOS 4.2 (shouldn't be anything else going on than pjsip registration). Notice the timestamps and you will see that the registration-process takes a complete _five_ minutes (also, it seems like it seems like pjsip is only allowed a limited time before having to wait for over 30 seconds before proceeding). The app is running in the foreground when this happens: 2010-11-08 23:46:08.236 MyApp[1296:8703] PJSIP: Connecting... 23:46:08.248 os_core_unix.c pjlib 1.8.5-trunk for POSIX initialized 2010-11-08 23:46:08.377 MyApp[1296:307] PJSIPHandler: -- reachabilityChanged -- 2010-11-08 23:46:08.378 MyApp[1296:307] PJSIPHandler: should connect 23:46:43.256 sip_endpoint.c Creating endpoint instance... 23:46:43.262 pjlib select() I/O Queue created (0xb832f4) 23:46:43.262 sip_endpoint.c Module "mod-msg-print" registered 23:46:43.262 sip_transport. Transport manager created. 2010-11-08 23:46:43.272 MyApp[1296:8703] Running pjsp with verbose logging 23:46:43.282 sip_endpoint.c Module "mod-pjsua-log" registered 23:46:43.284 pjsua_core.c Nameserver 192.168.1.1 added 23:46:43.285 pjsua_core.c Nameserver 8.8.8.8 added 23:46:43.287 sip_endpoint.c Module "mod-tsx-layer" registered 23:46:43.287 sip_endpoint.c Module "mod-stateful-util" registered 23:46:43.288 sip_endpoint.c Module "mod-ua" registered 23:46:43.290 sip_endpoint.c Module "mod-100rel" registered 23:46:43.291 sip_endpoint.c Module "mod-pjsua" registered 23:46:43.292 sip_endpoint.c Module "mod-invite" registered 23:46:43.296 coreaudio_dev. core audio initialized 23:46:43.298 pjlib select() I/O Queue created (0xb84014) 23:46:43.301 conference.c Creating conference bridge with 12 ports 23:46:43.346 sip_endpoint.c Module "mod-evsub" registered 23:46:43.349 sip_endpoint.c Module "mod-presence" registered 23:46:43.349 evsub.c Event pkg "presence" registered by mod-presence 23:46:43.349 sip_endpoint.c Module "mod-mwi" registered 23:46:43.349 evsub.c Event pkg "message-summary" registered by mod-mwi 23:46:43.349 sip_endpoint.c Module "mod-refer" registered 23:46:43.349 evsub.c Event pkg "refer" registered by mod-refer 23:46:43.352 sip_endpoint.c Module "mod-pjsua-pres" registered 23:46:43.353 sip_endpoint.c Module "mod-pjsua-im" registered 23:46:43.353 sip_endpoint.c Module "mod-pjsua-options" registered 23:46:43.354 pjsua_core.c 1 SIP worker threads created 23:46:43.354 pjsua_core.c pjsua version 1.8.5-trunk for arm-apple-darwin9 initialized 23:47:18.362 pjsua_core.c SIP UDP socket reachable at 192.168.1.130:5060 23:47:18.363 udp0xbb3c00 SIP UDP transport started, published address is 192.168.1.130:5060 23:47:18.372 sip_endpoint.c Processing incoming message: Request msg OPTIONS/cseq=102 (rdata0xb59a14) 23:47:53.371 pjsua_media.c RTP socket reachable at 192.168.1.130:4000 23:47:53.371 pjsua_media.c RTCP socket reachable at 192.168.1.130:4001 23:48:28.378 pjsua_media.c RTP socket reachable at 192.168.1.130:4002 23:48:28.378 pjsua_media.c RTCP socket reachable at 192.168.1.130:4003 23:49:03.384 pjsua_media.c RTP socket reachable at 192.168.1.130:4004 23:49:03.384 pjsua_media.c RTCP socket reachable at 192.168.1.130:4005 23:49:38.389 pjsua_media.c RTP socket reachable at 192.168.1.130:4006 23:49:38.390 pjsua_media.c RTCP socket reachable at 192.168.1.130:4007 23:49:38.393 endpoint Response msg 200/OPTIONS/cseq=102 (tdta0xbb9000) created I'm having the same issue with the reference iphone project included with pjsip. Any suggestions what could cause this behavior? (I'm running this tests on pjsip trunk, r3362) Best regards, Even Andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101109/7c7909b9/attachment.html>