[Home]

Summary:ASTERISK-12279: [patch] Busy / Congestion responses are not sent reliably
Reporter:Torrey Searle (tsearle)Labels:
Date Opened:2008-06-30 05:40:07Date Closed:2008-06-30 07:43:53
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) busy_retransmit.patch
( 1) uac_error.xml
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.
Comments:By: Olle Johansson (oej) 2008-06-30 07:13:50

Right. I fixed a few other places as well. Thanks for contributing!

By: Digium Subversion (svnbot) 2008-06-30 07:43:50

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 ASTERISK-12279)

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

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

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