[asterisk-bugs] [Asterisk 0013764]: 302 Redirect (forward no answer) to bad extension causes channel to be left up (Ringing)

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 26 13:57:16 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13764 
====================================================================== 
Reported By:                davidw
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13764
Category:                   Applications/app_dial
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.0 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-22 10:35 CDT
Last Modified:              2008-11-26 13:57 CST
====================================================================== 
Summary:                    302 Redirect (forward no answer)  to bad extension
causes channel to be left up (Ringing)
Description: 
When testing something, we accidentally used a phone that had been
configured to call forward no-answer to a bad extension.  It took us a
while to realise, so we made several calls.  Subsequent core/sip show
channels show that all of these attempts are still ringing on the attempted
correct number, even though the SIP ones show the ACK to the 302 as the
last thing sent.
====================================================================== 

---------------------------------------------------------------------- 
 (0095556) svnbot (reporter) - 2008-11-26 13:57
 http://bugs.digium.com/view.php?id=13764#c95556 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 159554

U   trunk/apps/app_dial.c

------------------------------------------------------------------------
r159554 | mmichelson | 2008-11-26 13:57:16 -0600 (Wed, 26 Nov 2008) | 19
lines

Add some necessary hangup commands in the case that forwarding
a call fails

1) Hang up the original destination if the local channel cannot
   be requested.
2) Hang up the local channel (in addition to the original destination)
   if ast_call fails when calling the newly created local channel.

This prevents channels from sticking around forever in the
case of a botched call forward (e.g. to an extension which does not
exist).

(closes issue http://bugs.digium.com/view.php?id=13764)
Reported by: davidw
Patches:
      13764_v2.patch uploaded by putnopvut (license 60)
Tested by: putnopvut, davidw


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-26 13:57 svnbot         Checkin                                      
2008-11-26 13:57 svnbot         Note Added: 0095556                          
======================================================================




More information about the asterisk-bugs mailing list