Summary: | ASTERISK-17942: Missing session-expires from Asterisk to the phone. Asterisk not working according to RFC | ||||
Reporter: | Adriana Sill (meinasterisk) | Labels: | |||
Date Opened: | 2011-05-31 02:30:26 | Date Closed: | 2012-02-09 13:48:13.000-0600 | ||
Priority: | Major | Regression? | |||
Status: | Closed/Complete | Components: | Tests/NewFeature | ||
Versions: | 1.8.4 | Frequency of Occurrence | |||
Related Issues: |
| ||||
Environment: | Attachments: | ( 0) capture.txt ( 1) cli-capture.txt.tar.gz ( 2) Tracedata_1.tar.gz ( 3) WireShark_760-761_-_Case_1_-_System_other.zip | |||
Description: | There is no Session-Expires header present in the 200OK response sent by asterisk to the ReINVITE/SessionRefresh from the phone. Because of this the SessionRefresh is considered as failed as marked within the Warning header in the ACK request. According to RFC4028 (chap.9 UAS behavior ): "If the UAS wishes to accept the request, it copies the value of the Session-Expires header field from the request into the 2xx response. and The UAS MUST set the value of the refresher parameter in the Session-Expires header field in the 2xx response." Precondition: -------------- Asterisk configuartion :sip.conf: session-timers=accept (Asterisk default) session-expires=3600 session-minse=90 (Asterisk default) session-refresher=uac Scenario: ========== 760: IP-Addr = 192.168.4.163, SIP-Session-Timer=true, SIP-Session-Duration: 120 sec 761: IP-Addr = 192.168.4.198, SIP-Session-Timer=true, SIP-Session-Duration: 150 sec 760 calls 761 which accepts the call. >>>ERROR<<<:Connection is broken after 60 sec. Phone type used: Both 760 and 761 are OpenStage 40. ****** ADDITIONAL INFORMATION ****** Asterisk version used: 1.8.4-rc2 | ||||
Comments: | By: Adriana Sill (meinasterisk) 2011-05-31 03:25:11 TCPdump is also available but too big to be downloaded. How an I provide this file to be analysed? By: David Woolley (davidw) 2011-06-01 04:58:46 You should attach "sip set debug on" output, unarchived and uncompressed (so that it can be viewed directly from the web browser). Both versbosity and debug levels should be reasonably high. By: Adriana Sill (meinasterisk) 2011-06-08 07:54:44.370-0500 This is the requested document with error scenario and 'sip set debug on'. |