[asterisk-bugs] [Asterisk 0012215]: [patch] Asterisk returns 482 Loop Detected upon receiving re-invite

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 3 14:29:55 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12215 
====================================================================== 
Reported By:                jpyle
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   12215
Category:                   Channels/chan_sip/General
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.4.18 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-03-14 11:45 CDT
Last Modified:              2009-03-03 14:29 CST
====================================================================== 
Summary:                    [patch] Asterisk returns 482 Loop Detected upon
receiving re-invite
Description: 
Asterisk sends a 482 Loop Detected upon receiving a presumably valid
re-INVITE.  Pedantic is enabled globally in sip.conf.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0007403 [patch] allow SIP Spiral to work instea...
====================================================================== 

---------------------------------------------------------------------- 
 (0101116) mmichelson (administrator) - 2009-03-03 14:29
 http://bugs.digium.com/view.php?id=12215#c101116 
---------------------------------------------------------------------- 
I've uploaded a patch called 12215_temporary.patch. This patch takes the
basic idea behind asterisk-1.4.19-chan_sip-loop-detection-fix-v2.patch but
also adds some amended logic later in handle_request_invite to make sure
that we actually process the reinvite correctly if the channel is still in
the AST_STATE_RINGING state.

This, specifically, should make remiq's failed test work properly. The
reason I've placed the word "temporary" in the patch's name is that there
may need to be other cases in the switch statement that are handled
differently depending on the invitestate. This specific patch will handle
the case of receiving a re-INVITE on an outbound call before the channel's
state has been changed to UP.

Please test this if possible and let me know if this is a move in the
right direction. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-03 14:29 mmichelson     Note Added: 0101116                          
======================================================================




More information about the asterisk-bugs mailing list