[asterisk-bugs] [Asterisk 0017641]: reset visible_indication after call answering

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 14 07:17:38 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17641 
====================================================================== 
Reported By:                klaus3000
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17641
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.9 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-07-14 07:17 CDT
Last Modified:              2010-07-14 07:17 CDT
====================================================================== 
Summary:                    reset visible_indication after call answering
Description: 
Currently, after a call is established (outgoing channel is answered), a
visible_indication on the incoming channel is not reset.

This can cause problems when the channel is later used by services which
check for visible_indication and trigger indication.

Consider the following case:

exten => a,1,Answer()
exten => a,2,Dial(SIP/a)
exten => b,1,Answer()
exten => b,2,Dial(SIP/b)
exten => c,1,Answer()
exten => c,2,Dial(SIP/c)

A calls B. B calls C. B refers A to C (attended transfer).

When A calls B, channel A is answered (UP). When the outgoing channel (B1)
receives 180 ringing, a ringback tone will be played back to A (as A is
already UP) and the visible_indication is set to ringing (3). 

Later, when channel A is masquereded into channel B2 (B->C), the visible
indication is still set, and Asterisk will falsely play a ringbacl tone to
A as the attended transfer checks for visible_indication and triggers
ast_indicate().

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-14 07:17 klaus3000      New Issue                                    
2010-07-14 07:17 klaus3000      Asterisk Version          => 1.6.2.9         
2010-07-14 07:17 klaus3000      Regression                => No              
2010-07-14 07:17 klaus3000      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list