What is UPDATE request ?

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

 



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-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