[asterisk-bugs] [JIRA] (ASTERISK-21664) Asterisk terminates calls if Session-Expires isn't present on INVITE

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Jun 10 16:31:17 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-21664:
-----------------------------------

    Target Release Version/s: 11.5.0
    
> Asterisk terminates calls if Session-Expires isn't present on INVITE
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-21664
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21664
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Interoperability
>    Affects Versions: 11.4.0
>         Environment: SVN-branch-1.8-r385916M
>            Reporter: Alec Davis
>      Target Release: 1.8.23.0, 11.5.0
>
>         Attachments: bug21664.diff.txt, session expired-1.8 sip debug.txt
>
>
> RFC 4028 Section 7.2
>   "UACs MUST be prepared to receive a Session-Expires header field in a
>   response, even if none were present in the request."
> With phone GXP1200 Session-Expires = 180
> Asterisk Session-Expires = 1800
> Outbound sip call will last 17 Minutes and 27 Seconds
> This is because asterisk now sends the 'Session-Expires: 1800' in the SIP OK 200 response since ASTERISK-20787 when 'Supported: timer' header is present.
> After 900 seconds, asterisk refreshes with an INVITE, but the phone's response has 'Session-Expires: 180' in the SIP OK 200 response.
> Asterisk currently ignores this request for 180 second refreshes.
>  
> So after another 180 seconds, the phone sends a BYE, with "SESSION EXPIRED" on the display.
> 1048 seconds = 17m28s = 1800/2 seconds + 180 seconds - 32seconds(recommended before expiration see RFC4028 section 10)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list