< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] How registration is refreshed?


Greetings.

I work on iOS VoIP resiprocate based application.
In order to support background mode let me ask a few question.

The first one is
- what is the interval for registration refreshing? Half of registration time? Quarter of registration time? Can I change it?

iOS provides quants of time to refresh application state each 600 seconds - so I use TCP transport to avoid UDP/NAT/lifetime issues.
But would be great if application refresh its registration in these quants. It is a reason for my first question.

The second question - what is the lifetime for TCP connection used for registration?

I saw GC capability in source code but it is disabled by default (this is good for me).
I pass the connection's socket to iOS to track the data on it and bring the application if new data (incoming call/message) are available.

Thank you!