[asterisk-bugs] [JIRA] (ASTERISK-20570) Asterisk, when acting as the UAS in Session Timer negotiation, fails to add required header in 200 response ("Require: timer")

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Oct 31 08:38:22 CDT 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199082#comment-199082 ] 

Matt Jordan commented on ASTERISK-20570:
----------------------------------------

Just to note: this problem was found by [Olle Johansson|http://lists.digium.com/pipermail/asterisk-dev/2012-October/057300.html].
                
> Asterisk, when acting as the UAS in Session Timer negotiation, fails to add required header in 200 response ("Require: timer")
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20570
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20570
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 1.8.18.0, 10.10.0, 10.10.0-digiumphones
>            Reporter: Matt Jordan
>
> Pretty much what the summary says.  We have to inform the UAC that they have to look for the Session-Expires header by providing a "Require:timer" header.
> RFC 4028, Section 9:
> {quote}
>    If the refresher parameter in the Session-Expires header field in the
>    2xx response has a value of 'uac', the UAS MUST place a Require
>    header field into the response with the value 'timer'.  This is
>    because the uac is performing refreshes and the response has to be
>    processed for the UAC to know this.  If the refresher parameter in
>    the 2xx response has a value of 'uas' and the Supported header field
>    in the request contained the value 'timer', the UAS SHOULD place a
>    Require header field into the response with the value 'timer'.  In
>    this case, the UAC is not refreshing, but it is supposed to send a
>    BYE if it never receives a refresh.  Since the call will still
>    succeed without the UAC sending a BYE, insertion of the Require is a
>    SHOULD here, and not a MUST.
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list