[asterisk-bugs] [Asterisk 0012951]: [patch] Busy / Congestion responses are not sent reliably

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jun 30 07:43:51 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12951 
====================================================================== 
Reported By:                tsearle
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   12951
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 126511 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             06-30-2008 05:40 CDT
Last Modified:              06-30-2008 07:43 CDT
====================================================================== 
Summary:                    [patch] Busy / Congestion responses are not sent
reliably
Description: 
I have observed the following issue in asterisk.

Client          Asterisk
  |----INVITE----->|
  |<--100 Trying---|
  | (lost)486 Busy-|
  |(Invite Timeout)|

upon looking at the code I see that asterisk in the sip_indicate method
sends the final responses unreliably and goes directly to the.


This issue can be reproduced with the following dialing plan

exten => 5555,1,Busy()  and a sipp script simulating packet loss on the
486 Busy


patch to resolve this issue is provided.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-30-08 07:43  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 126516

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r126516 | oej | 2008-06-30 07:43:45 -0500 (Mon, 30 Jun 2008) | 10 lines

Send all responses to an INVITE reliably, so that we retransmit if we
don't get an ACK and
also fail if we don't get the very same precious ACK. Based on patch by
tsearle, with
my own additions.

(closes issue http://bugs.digium.com/view.php?id=12951)

Reported by: tsearle
Patches: 
      busy_retransmit.patch uploaded by tsearle (license 373)

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-30-08 07:43  svnbot         Note Added: 0089427                          
======================================================================




More information about the asterisk-bugs mailing list