asterisk/channels/sip
Terry Wilson b7233b18eb Properly handle UAC/UAS roles for SIP session timers
The SIP session timer mechanism contains a mandatory 'refresher' parameter
(included in the Session-Expires header) which is used in the session timer
offer/answer signaling within a SIP Invite dialog. It looks like asterisk is
interpreting the uac resp. uas role only as the initial role of client and
server (caller is uac, callee is uas). The standard rfc 4028 however assigns
the client role to the ((RE)-Invite) requester, the server role to the
((RE)-Invite) responder.

This patch has Asterisk track the actual refresher as "us" or "them" as opposed
to relying on just the configured "uas" or "uac" properties.

(closes issue AST-922)
Reported by: Thomas Airmont

Review: https://reviewboard.asterisk.org/r/2118/
........

Merged revisions 373652 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 373665 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 373690 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@373691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-09-25 19:08:02 +00:00
..
include Properly handle UAC/UAS roles for SIP session timers 2012-09-25 19:08:02 +00:00
config_parser.c Multiple revisions 370769-370771 2012-08-03 21:52:57 +00:00
dialplan_functions.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
reqresp_parser.c Doxygen Updates - janitor work 2012-09-21 17:14:59 +00:00
sdp_crypto.c Only re-create an SRTP session when needed 2012-09-09 01:28:31 +00:00
security_events.c Clean up chan_sip 2012-07-31 19:10:41 +00:00
srtp.c Clean up doxygen warnings 2012-08-30 14:23:28 +00:00
utils.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00