[asterisk-bugs] [Asterisk 0014575]: BYE to 408 Request Timeout

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 24 13:26:56 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14575 
====================================================================== 
Reported By:                chris-mac
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14575
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 178608 
Request Review:              
====================================================================== 
Date Submitted:             2009-03-01 06:59 CST
Last Modified:              2009-07-24 13:26 CDT
====================================================================== 
Summary:                    BYE to 408 Request Timeout
Description: 
Noticed * is generating BYE request to "408 Request Timeout" response.
I don't think this is correct, as 4xx,5xx and 6xx responses to INVITE
should
be only acknowledged with ACK (RFC3261 - 13.2.2.3).

Proxy                                 Asterisk
|<-----------------------(sdp) INVITE F8<|
|>F9 100 Giving a try ------------------>|
|>F13 408 Request Timeout -------------->|
|<------------------------------ ACK F14<|
|<------------------------------ BYE F15<|  <= THIS SHOULD NOT BE HERE
|>F18 404 Not here --------------------->|

Please see 408-flow.html attached for detailed call flow.

How to reproduce:
1. You will need a SIP proxy (eg. OpenSER)
2. Edit sip.conf attached and modify <ASTERISK_IP>, <PROXY_IP>,
<DEAD_HOST>
3. Start * with sip.conf and extensions.conf attached.
4. Dial into * with any SIP phone


====================================================================== 

---------------------------------------------------------------------- 
 (0108191) svnbot (reporter) - 2009-07-24 13:26
 https://issues.asterisk.org/view.php?id=14575#c108191 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 208587

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r208587 | mmichelson | 2009-07-24 13:26:56 -0500 (Fri, 24 Jul 2009) | 10
lines

Only send a BYE when hanging up a channel that is up.

For cases where Asterisk sends an INVITE and receives a non 2XX final
response, Asterisk would follow the INVITE transaction by immediately
sending a BYE, which was unnecessary.

(closes issue https://issues.asterisk.org/view.php?id=14575)
Reported by: chris-mac


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=208587 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-24 13:26 svnbot         Checkin                                      
2009-07-24 13:26 svnbot         Note Added: 0108191                          
======================================================================




More information about the asterisk-bugs mailing list