Hello, after testing with another SIP server/proxy, register expire > 600 seconds. I don't have this issue any more. I think pjsip is okey under iOS multitasking. Regards, Pai On Thu, Nov 1, 2012 at 5:37 PM, Pai Peng <sipaipv6 at gmail.com> wrote: > Hello John, > > > yes, I have now the same problem with TCP like your description. Very bad! > > > Regards, > > Pai > > > > On Wed, Oct 31, 2012 at 5:15 PM, John Mah <john at jazinga.com> wrote: > >> Thanks for your response, Pai. I've tried running on iOS 5 and 6, iPads >> (1st/3rd gen), iPod Touches, iPhone 3GS, 4, 4S, and 5. All show the same >> results. >> >> I should point out that the TCP connection is closed when there is no >> active calls in place. (ie: lurking in the background waiting for a call to >> come in) If an active call is in place, the app never gets shutdown for the >> duration of a call as the call's background audio prevents the device from >> truly sleeping. >> >> With a 1m registration timeout that would force a device wake-up every >> minute and burn thru battery, would it not? >> >> cheers, >> - John >> >> >> On 2012-10-31 11:34 AM, Pai Peng wrote: >> >>> with which device/iOS/Pjsip have you tested? >>> >>> I have just tested with one iPhone 4 iOS6 and pjsip 2.0. The TCP isn't >>> disconnected after more than 10 min and I can still talk via VoIP. >>> >>> The client is running at the first in the background and later in screen >>> off mode. No USB connected to any power. >>> >>> So no problem here. >>> >>> The only one differenct is the register expire timeout is not 10min, but >>> ca. 1 min for TCP connection. Maybe you can modify the expire time to >>> shorter during an active VoIP call. >>> >> >> >> ______________________________**_________________ >> 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<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/20121107/b4fd9e16/attachment-0001.html>