PJSIP-UA setting timer refresher

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

 



Hello

I have discovered an error in the way that PJSIP-UA sets the timer refresher. The scenario is

?         UAC that does not support timer extension makes call to PJSIP-UA that does support timer

?         Intermediate proxy inserts Session-Expires header because it would like to see refreshes

?         PJSIP-UA based UAS sets the UAC as refresher. UAS terminates call when no refreshes are received

The solution for this issue is to check that Supported header includes timer and Session-Expires exists before making the UAC the refresher.  This is compliant with RFC 4028 section 9. I have included a patch that makes this change.

Regards

Glenn Walbran



Glenn Walbran
Software Engineer
NEC New Zealand Limited
NEC House, Level 6, 40 Taranaki Street, PO Box 1936, Wellington 6140, New Zealand
T: 043816265  M: 0293816265  F: +6443811110
glenn.walbran at nec.co.nz<mailto:glenn.walbran at nec.co.nz>
<http://nz.nec.com/>nz.nec.com<http://nz.nec.com>

[cid:imagec2e576.JPG at bf667450.4aa10f45]

Please consider the environment before printing this email

Attention:
The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material.  Any review, retransmission, dissemination, copying or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. NEC has no liability for any act or omission in reliance on the email or any attachment.  Before opening this email or any attachment(s), please check them for viruses. NEC is not responsible for any viruses in this email or any attachment(s); any changes made to this  email or any attachment(s) after they are sent; or any effects this email or any attachment(s) have on your network or computer system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141203/0603bff8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagec2e576.JPG
Type: image/jpeg
Size: 24297 bytes
Desc: imagec2e576.JPG
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141203/0603bff8/attachment.JPG>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sip_timer.diff
Type: application/octet-stream
Size: 1463 bytes
Desc: sip_timer.diff
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141203/0603bff8/attachment.diff>


[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