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

Alec Davis (JIRA) noreply at issues.asterisk.org
Mon Apr 22 06:28:01 CDT 2013


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

Alec Davis updated ASTERISK-21664:
----------------------------------

    Attachment: session expired-1.8 sip debug.txt

attached 'session expired-1.8 sip debug.txt'

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