Koha, This is keepalive mechanism. Romain is correct. You can read the example in that RFC. Romain, is there any keepalive message between UAC and REGISTRAR? Thanks, Sam -----Original Message----- From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] On Behalf Of pjsip-request at lists.pjsip.org Sent: Wednesday, February 27, 2013 4:44 PM To: pjsip at lists.pjsip.org Subject: pjsip Digest, Vol 66, Issue 129 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: What is UPDATE request ? (Khoa Pham) ---------------------------------------------------------------------- Message: 1 Date: Wed, 27 Feb 2013 15:44:06 +0700 From: Khoa Pham <onmyway133@xxxxxxxxx> To: Romain JEZEQUEL <romainjezequel at yahoo.fr>, pjsip list <pjsip at lists.pjsip.org> Subject: Re: What is UPDATE request ? Message-ID: <CAN+NExEyY4iw8YxKwfW6LAUrN-eQd7_K_eEVQLegbdMU7kD=9A at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hi Romain, I think it is more reasonable to send UPDATE requests every 100s (if my session expire is 100) ? What is UPDATE used for, I see it contains no specific information. P/S: I even tried setting my session expire header to 120, but UPDATE is still sent every 50s On Wed, Feb 27, 2013 at 3:26 PM, Romain JEZEQUEL <romainjezequel at yahoo.fr>wrote: > Hi Khoa, > > RFC4028 describes the use of RE-INVITE or UPDATE requests to refresh the > session. > > From RFC4028, section 7.4 : > "If a UAC knows that its peer supports the UPDATE method, it is > RECOMMENDED that UPDATE be used instead of a re-INVITE." > > This is the way it is implemented in PJSIP. > Sending UPDATE requests every 50s means that your session-expires header > is set to 100s. > > Regards, > > Romain > > ------------------------------ > *De :* Khoa Pham <onmyway133 at gmail.com> > *? :* pjsip list <pjsip at lists.pjsip.org> > *Envoy? le :* Mercredi 27 f?vrier 2013 8h06 > *Objet :* [pjsip] What is UPDATE request ? > > Hi all, > > What is UPDATE request? > I see that when A call B, the INVITE 200 OK from B indicates that A is > the refresher. And A send UPDATE request every 50 seconds. > > Is UPDATE request related to Session timer (RFC 4028) ? > > -- > Khoa Pham > HCMC University of Science > Faculty of Information Technology > > _______________________________________________ > 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 Faculty of Information Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130227 /c85e2707/attachment.html> ------------------------------ 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 66, Issue 129 **************************************