Register is not being sent in Background mode in iOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Another way is to increase the register expire :)


On Thu, Jun 13, 2013 at 3:01 PM, Spencer MacDonald <
spencer.macdonald.other at gmail.com> wrote:

> 600 is the minimum unfortunately.
>
> Regards
>
> Spencer
>
>
> On Thu, Jun 13, 2013 at 8:26 AM, Anuj Panwar <anuj.panwar at agnity.com>wrote:
>
>>
>>   Thanks Ashraf,
>>
>> I have implemented a handler for keep background process alive but
>> minimum time interval allowing for running a handler is 600 seconds. Is
>> there any other work around to send a re-register in less then 600 sec
>> interval (say 90 seconds) while iOS Application is running in background?
>>
>> Regards,
>> Anuj
>>
>>
>>
>> On 13-Jun-2013, at 3:28 AM, pjsip-request at lists.pjsip.org wrote:
>>
>> Send pjsip mailing list submissions to
>>  pjsip at lists.pjsip.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>> or, via email, send a message with subject or body 'help' to
>> pjsip-request at lists.pjsip.org
>>
>> You can reach the person managing the list at
>>  pjsip-owner at lists.pjsip.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of pjsip digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Re: Register is not being sent in Background mode in iOS
>>      (Ashraf Jaddo)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 12 Jun 2013 17:58:29 -0400
>> From: Ashraf Jaddo <ash.x.ash@xxxxxxxxxxx>
>> To: "pjsip list" <pjsip at lists.pjsip.org>
>> Subject: Re: Register is not being sent in Background mode in
>> iOS
>> Message-ID: <SNT142-DS18CA350508A0D59B69F4DFB7860 at phx.gbl>
>> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>>  reply-type=original
>>
>>
>> Look into "Implementing a VoIP App" in
>>
>> http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html
>>
>> You have to implement a handler for background process that will keep
>> your
>> registration alive.
>>
>> AsH
>>
>> -----Original Message-----
>> From: Anuj Panwar
>> Sent: Wednesday, June 12, 2013 6:13 PM
>> To: pjsip at lists.pjsip.org
>> Subject: Register is not being sent in Background mode in iOS
>>
>> Hi,
>>
>> I have using PJSIP 1.14.2 and iOS version 6.1.2. I am setting a Register
>> expire time to 90 seconds for frequent presence update.
>> PJSIP works fine in foreground mode over iOS and sends re-register at
>> every
>> 90 seconds but as soon as application moves to background PJSIP stops
>> sending register messages.
>>
>> I have defined voip and audio modes in UIBackgroundModes in plist file
>> and i
>> am running PJSIP over TCP. Can anyone help me why this problem is
>> occurring?
>>
>> Regards,
>> Anuj
>> _______________________________________________
>> 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
>>
>>
>>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>> ------------------------------
>>
>> End of pjsip Digest, Vol 70, Issue 51
>> *************************************
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>
>


-- 
Khoa Pham
HCMC University of Science
www.fantageek.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130613/7f604e36/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux