Session-Expires header ( Just remembered right name) will help you See rfc 4028 https://tools.ietf.org/html/rfc4028#page-6
On Tue, 17 Dec 2019, 19:44 Yuriy Gorlichenko, <ovoshl...@gmail.com> wrote: > Hi. It is no a kamailio question but sip question itself. You can manage > how often te invite will be by using session-timers. It will help you to > setup time range between reInvite ir whatever message you will use as > keepalive > > On Tue, 17 Dec 2019, 19:34 Anuran Barman, <anuranbar...@gmail.com> wrote: > >> Hi, I am using Kamailio for my SIP Phone app. My main SIP client is the >> iOS app. Till now everything is working fine regarding the calling. But the >> problem is when the app is killed I am not able to pick up incoming call. >> The thing is, when app is killed I am sending PushKit VOIP message to my >> ios app to wake it up. App is waking up. But by the time app is waking up, >> the original INVITE message got missed up. So according to SIP protocol it >> will re-INVITE after some time. Currently if I keep my app open for 10-15 >> secs after it wakes up, I am able to get the re-INVITE and everything works >> fine just as it was supposed to. But waiting 10-15 sec on the app is not >> practical in any sense. >> >> So my question is there any way I can reduce the re-INVITE time to like >> 5/6 seconds so that as soon as the app open it will wait for 5/6 seconds >> (practical upto some extent) and it will get the call ? Or what kamailio is >> using as the interval time is a SIP standard and can not be changed? If >> possible to do so, how can I do that? Please help. >> _______________________________________________ >> Kamailio (SER) - Users Mailing List >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> >
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users